Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.3, 0.4
    • Fix Version/s: 0.5
    • Component/s: None
    • Labels:
      None
    • Number of attachments :
      2

      Description

      On the documentation page of PHP plugin it is said to install PHPMD version 0.2.5. It seems this version is quite old and a new 1.1.0 version was released with new rules.

      1. php-profile-with-pmd.xml
        4 kB
        Gennadiy Litvinyuk
      2. rules.xml
        17 kB
        Gennadiy Litvinyuk

        Issue Links

          Activity

          Hide
          Gennadiy Litvinyuk added a comment -

          I have already adapted the phpmd's rules.xml and php-profile-with-pmd.xml to 1.1.0

          I have added some examples too.

          Please see the attached files.

          Show
          Gennadiy Litvinyuk added a comment - I have already adapted the phpmd's rules.xml and php-profile-with-pmd.xml to 1.1.0 I have added some examples too. Please see the attached files.
          Hide
          Gennadiy Litvinyuk added a comment -

          These files have better descriptions and examples for all rules in phpmd 1.1.0

          Show
          Gennadiy Litvinyuk added a comment - These files have better descriptions and examples for all rules in phpmd 1.1.0
          Hide
          Gennadiy Litvinyuk added a comment -

          rules.xml for phpmd 1.1.0

          Show
          Gennadiy Litvinyuk added a comment - rules.xml for phpmd 1.1.0
          Hide
          Fabrice Bellingard added a comment -

          Hi Gennadiy, I've affected the ticket to you as you provided the patch. I set it to PHP 0.7, I think there's no hurry for the moment.

          Show
          Fabrice Bellingard added a comment - Hi Gennadiy, I've affected the ticket to you as you provided the patch. I set it to PHP 0.7, I think there's no hurry for the moment.
          Hide
          Gennadiy Litvinyuk added a comment -

          rules.xml are updated.

          Show
          Gennadiy Litvinyuk added a comment - rules.xml are updated.
          Hide
          Fabrice Bellingard added a comment -

          Tested.
          Created SONARPLUGINS-1398 to not forget to update the documentation.

          Show
          Fabrice Bellingard added a comment - Tested. Created SONARPLUGINS-1398 to not forget to update the documentation.

            People

            • Assignee:
              Gennadiy Litvinyuk
              Reporter:
              Julien HENRY
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: