Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-12717

Improve the code sniffer

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 3.1.0-b4
    • 3.1.5-RC1
    • None
    • 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

        There are no Sub-Tasks for this issue.

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: