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

Add rule Squiz.PHP.DisallowSizeFunctionsInLoops

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 3.1.0-b4
    • Fix Version/s: 3.1.0-RC1
    • Component/s: None
    • Labels:
      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

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

              Dates

              Created:
              Updated:
              Resolved: