Details

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

      Description

      PhpPmdExecutor: wrong dirs params

      php expects comma separated source directories
      in org.sonar.plugins.php.pmd.executor.PhpPmdExecutor.java

      ############### wrong
      //    for (File file : config.getSourceDirectories()) {
      //      result.add(file.getAbsolutePath());
      //    }
      
      
      ############### correct
      result.add(StringUtils.join(config.getSourceDirectories(), ","));
      

        Activity

        Hide
        Evgeny Mandrikov added a comment -

        I've set component for this ticket to the correct one - PHP, but don't know affected version. Mischa, could you please be more accurate in future during creation of ticket?

        Show
        Evgeny Mandrikov added a comment - I've set component for this ticket to the correct one - PHP, but don't know affected version. Mischa, could you please be more accurate in future during creation of ticket?
        Hide
        Akram Ben Aissi added a comment -

        Fixed

        Show
        Akram Ben Aissi added a comment - Fixed

          People

          • Assignee:
            Akram Ben Aissi
            Reporter:
            Anonymous
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: