This method's name is shorter than the configured minimum length of 3 characters.
Even though PHP does not care about the name of your methods, it is generally a
good practice to choose method names which can be easily understood by other human
readers.
An exit expression should only be used in rare cases. For example, if you
write a short command line script.
In most cases however, using an exit expression makes the code untestable
and often causes incompatibilities with other libraries. Thus, unless you are
absolutely sure it is required here, we recommend to refactor your code to
avoid its usage.
43% of this comment could be valid code. Did you maybe forget this after debugging?
Sometimes obsolete code just ends up commented out instead of removed. In this case it is better to remove the code once you have
checked you do not need it.
The code might also have been commented out for debugging purposes. In this case it is vital that
someone uncomments it again or your project may behave in very unexpected ways in production.
This check looks for comments that seem to be mostly valid code and reports them.
This method's name is shorter than the configured minimum length of 3 characters.
Even though PHP does not care about the name of your methods, it is generally a
good practice to choose method names which can be easily understood by other human
readers.
An exit expression should only be used in rare cases. For example, if you
write a short command line script.
In most cases however, using an exit expression makes the code untestable
and often causes incompatibilities with other libraries. Thus, unless you are
absolutely sure it is required here, we recommend to refactor your code to
avoid its usage.
This method's name is shorter than the configured minimum length of 3 characters.
Even though PHP does not care about the name of your methods, it is generally a
good practice to choose method names which can be easily understood by other human
readers.
Both the $myVar assignment in line 1 and the $higher assignment in line 2
are dead. The first because $myVar is never used and the second because
$higher is always overwritten for every possible time line.
Even though PHP does not care about the name of your methods, it is generally a good practice to choose method names which can be easily understood by other human readers.