[TYPO3-core] [Broken] TYPO3/TYPO3.CMS#2296 (master - de27a20)

Travis CI notifications at travis-ci.org
Sun Feb 23 11:29:23 CET 2014

Build Update for TYPO3/TYPO3.CMS

Build: #2296
Status: Broken

Duration: 4 minutes and 1 second
Commit: de27a20 (master)
Author: Markus Klein
Message: [CLEANUP] Replace strlen() with === for zero length check

It is faster to compare a string with === '' to find out if it's empty
than to run strlen() on it.

The replacement rules are applied as follows:
 *    if (strlen($str))
   => if ((string)$str !== '')
 *    if (!is_string($str) || strlen($str) === 0)
   => if (!is_string($str) || $str === '')
 * If it can be seen easily that $str is a string,
   the typecast is omitted.

Resolves: #54091
Releases: 6.2
Change-Id: I59c5cbccea4f98b8f282377e6aa67d970859a457
Reviewed-on: https://review.typo3.org/27091
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind

View the changeset: https://github.com/TYPO3/TYPO3.CMS/compare/0c5a0aa19a3b...de27a20afbd8

View the full build log and details: https://travis-ci.org/TYPO3/TYPO3.CMS/builds/19434599


You can configure recipients for build notifications in your .travis.yml file. See http://about.travis-ci.org/docs/user/build-configuration

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20140223/ce66c573/attachment.htm>

More information about the TYPO3-team-core mailing list