Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-12717 Improve the code sniffer
  3. PHPBB3-12725

Add rule Squiz.PHP.DisallowSizeFunctionsInLoops

    XMLWordPrintable

Details

    • Sub-task
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Won't Fix
    • 3.1.0-b4
    • 3.1.0-RC1
    • None
    • None

    Description

      "Always try to optimize your loops if operations are going on at the comparing part, since this part is executed every time the loop is parsed through. For assignments a descriptive name should be chosen."

      Attachments

        Activity

          People

            bantu Andreas Fischer
            nicofuma nicofuma
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: