SonarQube PHP
  1. SonarQube PHP
  2. SONARPHP-35

"sonar.*.argumentLine" properties are incorrectly passed to the external tool processes

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.0
    • Fix Version/s: 1.1
    • Component/s: None
    • Labels:
      None
    • Number of attachments :
      0

      Description

      For every tool (PHPMD, PDepend, PHPCodeSniffer and PhpUnit), the "sonar._tool-name.argumentLine" property is not passed through properly if a comma is present. For example:

      sonar.phpDepend.argumentLine=--ignore=**/tests/**,**/jpgraph/**,**/Zend/**
      

      I expected this to be passed through exactly as it is, ie:

      --ignore=**/tests/**,**/jpgraph/**,**/Zend/**
      

      Instead it was truncated to:

      --ignore=**/tests/**
      

      This is related to SONARPLUGINS-1601.

        Activity

        Hide
        Daryl Borth added a comment -

        ...Some of my asterisks were interpreted as bold formatting, but you get the idea

        Show
        Daryl Borth added a comment - ...Some of my asterisks were interpreted as bold formatting, but you get the idea
        Hide
        Fabrice Bellingard added a comment -

        IT added.

        Show
        Fabrice Bellingard added a comment - IT added.

          People

          • Assignee:
            Fabrice Bellingard
            Reporter:
            Anonymous
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: