These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more
1 | <?php |
||
2 | |||
3 | // change the following paths if necessary |
||
4 | $yiic=dirname(__FILE__).'/../../yii/framework/yiic.php'; |
||
0 ignored issues
–
show
|
|||
5 | $config=dirname(__FILE__).'/config/console.php'; |
||
0 ignored issues
–
show
Equals sign not aligned with surrounding assignments; expected 1 space but found 0 spaces
This check looks for multiple assignments in successive lines of code. It will report an issue if the operators are not in a straight line. To visualize $a = "a";
$ab = "ab";
$abc = "abc";
will produce issues in the first and second line, while this second example $a = "a";
$ab = "ab";
$abc = "abc";
will produce no issues. ![]() |
|||
6 | |||
7 | require_once($yiic); |
||
0 ignored issues
–
show
|
|||
8 |
This check looks for multiple assignments in successive lines of code. It will report an issue if the operators are not in a straight line.
To visualize
will produce issues in the first and second line, while this second example
will produce no issues.