-
-
Notifications
You must be signed in to change notification settings - Fork 742
Closed
rectorphp/rector-src
#7329Labels
Description
Feature Request
What do you think about this improvement?
From:
if (strlen($string) > 0) {
return $string;
}To:
if ($string !== '') {
return $string;
}This was reported from https://plugins.jetbrains.com/plugin/7622-php-inspections-ea-extended-
This could go into code quality set
Reactions are currently unavailable