Uploaded image for project: 'SonarPHP'
  1. SonarPHP
  2. SONARPHP-554

Improve issue location for OpeningPHPTag (S1757)

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Rules

      Description

      RSPEC-1757
      The rule ""<?php" and "<?=" tags should be used" is currently reported issue on the first opening tag of the file.
      Would be better to report a file issue and use multiple location to highlight all the places where non compliant PHP tags are used.

      Would be nice to add *.phtml files to ITs sources to test this rule more properly.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              linda.martin Linda Martin (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated: