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

Support ASP-like tags "<%" and "%>"

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.6
    • Fix Version/s: 2.7
    • Component/s: Rules
    • Labels:
      None

      Description

      PHP code may use ASP-like <% and %> tags. However, our analyser does not support these tags: the code between these tags is therefore not considered as PHP code and is not analysed.

      For the same reason, RSPEC-1757 does not report any issue against <% and %>.

      The parser should be changed to support <% and %>.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Due:
                Created:
                Updated:
                Resolved: