-
Improvement
-
Resolution: Fixed
-
Major
-
3.1.0-b4
-
None
-
None
The sniffer should have more rules to test more things about the coding style.
Currently the sniffer does not find any error in this file:
<html>
|
<?php
|
|
eval ('test');
|
|
$a = (int)$a;
|
|
$a = test('a','b' );
|
|
function foo ($bar, $baz = true) {
|
}
|
|
if($a ) {echo $b;}
|
$a [ 'a' ] = $a
|
[ 'a' ];
|
|
if ($a){
|
|
}elseif($b){}
|
There are no Sub-Tasks for this issue.