2017 © Pedro Peláez
 

library phpmd_variable_lifetime

Deliver PHPMD variable lifetime rule

image

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

The README.md

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>

The Versions

29/07 2016

dev-develop

dev-develop

Deliver PHPMD variable lifetime rule

  Sources   Download

The Requires

 

by Rafal Kanski

php

13/07 2016

dev-master

9999999-dev

Deliver PHPMD variable lifetime rule

  Sources   Download

The Requires

 

by Rafal Kanski

13/07 2016

0.1.0

0.1.0.0

Deliver PHPMD variable lifetime rule

  Sources   Download

The Requires

 

by Rafal Kanski