Review main Abandoned

43652[TASK] replace beginsWith with strpos where possible

Stefan Froemken CR 0 V 0 Normal +34 −33 updated 03/05/16, 10:27

Commit message

This patch replaces beginsWith with a strpos solution if:
- haystack was parsed through trim before
- haystack was parsed through explode/implode
- haystack comes from CLI request
- haystack comes from database or request
- haystack comes from TypoScript
- haystack comes from TSconfig
- haystack comes from values of INSTALL_TOOL

This patch does not replace parts if:
- UnitTests
- Unsure from where the data comes from
- If it is unclear which data type the value is

Review

  • Code review CR 0

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V 0

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 21