CoreCommunity ExtensionsIncubatorDistributionsTYPO3 4.5 ProjectsTYPO3 4.6 ProjectsTYPO3 4.7 ProjectsTYPO3 6.0 ProjectsTYPO3 6.1 ProjectsTYPO3 6.2 Projects (+)

Task #26955

Replace custom function call in matchSingleField()

Added by Francois Suter about 2 years ago. Updated 11 months ago.

Status:Closed Start date:2011-05-20
Priority:Should have Due date:
Assignee:Francois Suter % Done:

100%

Category:Import process
Target version:2.0.0
Votes: 0

Description

phpStorm complains about the use of the variable $function in tx_externalimport_importer::matchSingleField(). It would be cleaner to call it using call_user_func().

Before this change, write a unit test. This method is a good candidate for one.

Associated revisions

Revision 47975
Added by Francois Suter about 2 years ago

Replaced direct use of variable for function call with call to call_user_func(), resolves #26955

Revision 47975
Added by Francois Suter about 2 years ago

Replaced direct use of variable for function call with call to call_user_func(), resolves #26955

History

Updated by Francois Suter about 2 years ago

Unit tests added in r47973

Updated by Francois Suter about 2 years ago

  • Status changed from Accepted to Resolved
  • % Done changed from 0 to 100

Applied in changeset r47975.

Updated by Francois Suter 11 months ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF