Task #46402
Get rid of >0 where strlen() or count() are used as boolean
Status: | Rejected | Start date: | 2013-03-18 | |
---|---|---|---|---|
Priority: | Should have | Due date: | ||
Assigned To: | - | % Done: | 0% |
|
Category: | - | Spent time: | - | |
Target version: | - | |||
TYPO3 Version: | 6.1 | Complexity: | ||
PHP Version: | Sprint Focus: |
Description
In some places
if(count($a)) {
is used while in others an explicit (unnecessary)
if(count($a) > 0) {
appears. Unify them (to the shorter form).
Related issues
History
#1 Updated by Gerrit Code Review over 2 years ago
- Status changed from New to Under Review
Patch set 1 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/19008
#2 Updated by Gerrit Code Review over 2 years ago
Patch set 2 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/19008
#3 Updated by Gerrit Code Review over 2 years ago
Patch set 3 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/19008
#4 Updated by Gerrit Code Review over 2 years ago
Patch set 4 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/19008
#5 Updated by Gerrit Code Review over 2 years ago
Patch set 5 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/19008
#6 Updated by Wouter Wolters 7 months ago
- Status changed from Under Review to Rejected