library phpmd_variable_lifetime
Deliver PHPMD variable lifetime rule
ralfmaxxx/phpmd_variable_lifetime
Deliver PHPMD variable lifetime rule
- Friday, July 29, 2016
- by ralfmaxxx
- Repository
- 1 Watchers
- 1 Stars
- 602 Installations
- PHP
- 1 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 3 Versions
- 2 % Grown
PHPMD Variable Lifetime Rule
How to use?
composer require "ralfmaxxx/phpmd_variable_lifetime"
And append this rule to phpmd.xml using definition file rulesets/design.xml:, (*1)
<rule ref="{path}/rulesets/design.xml/LocalVariableLifetime" />
You can additionally set allowed lines interval parameter:, (*2)
<rule ref="{path}/rulesets/design.xml/LocalVariableLifetime">
<properties>
<property name="allowedLinesInterval" value="5"/>
</properties>
</rule>
dev-develop
dev-develop
Deliver PHPMD variable lifetime rule
Sources
Download
The Requires
by
Rafal Kanski
php
dev-master
9999999-dev
Deliver PHPMD variable lifetime rule
Sources
Download
The Requires
by
Rafal Kanski
0.1.0
0.1.0.0
Deliver PHPMD variable lifetime rule
Sources
Download
The Requires
by
Rafal Kanski