PHPMD 1.1.0 released

Version 1.1.0 of PHPMD was released on March the 20th 2011. The key features for this release were two new rules. The first one utilizes the Coupling Between Objects (CBO) metric to detect strongly coupled classes. The second one detects the usage of PHP's questionable goto statement. Beside that we have closed a minor bug in the LongVariable rule, where also private properties with descriptive names were reported. And finally we have replaced deprecated PHPUnit features in the PHPMD's test suite, so that PHPMD's tests should now work with PHPUnit 3.4.x and 3.5.x without deprecated warnings.

Features

  • Implemented #10474873: Add rule for PHP's goto statement. Implemented with commit #2745a20.
  • Implemented #10474987: Implement rule for CBO metric. Implemented with commit #14277b4.
  • Implemented #11012465: Replace deprecated PHPUnit features in test suite. Implemented with commit #4adb88d.

Bugfixes

  • Fixed #10096717: LongVariable rule should not apply on private properties. Fixed with commit #f063bc9.

Download

You can download release 1.1.0 through PHPMD's PEAR Channel Server or you can download the release as a Phar archive