Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.0-b4
    • Fix Version/s: 3.1.5-RC1
    • Component/s: None
    • Labels:
      None

      Description

      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){}
      

        Attachments

          Activity

            People

            • Assignee:
              nicofuma nicofuma
              Reporter:
              nicofuma nicofuma
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: