Arbit - project tracking

PHPMD

#10: Implement support for <exclude /> element in rule set files

Issue revisions

  • new by mapi at 2010-F-24 6:28
  • assigned by mapi at 2010-F-24 6:52
  • assigned by mapi at 2010-F-24 6:53
  • closed by mapi at 2010-F-24 16:57
Type enhancement enhancement
State closed closed
Priority medium medium
Resolution implemented implemented
Assigned to mapi
Scheduled for 0.2.3
Affected versions 0.2.x-svn
Affected components Rule
Last change Wednesday 24 February 2010 16:57:25 UTC by mapi

Short description

The current adaption of PMD's ruleset file format does not support the exclude tag, but it can be really useful when creating custom rulesets.

<?xml version="1.0"?>
<ruleset name="Custom ruleset" ...>
    <!-- Use everything from codesize, exception the npath rule -->
    <rule ref="rulesets/codesize.xml">
        <exclude name="NPathComplexity"/>
    </rule>
</ruleset>

  • mapi at Wednesday 24 February 2010 06:53:11 UTC

    Scheduled for release 0.2.3

  • mapi at Wednesday 24 February 2010 16:57:25 UTC

    Implemented in svn revision #189