Tag: PHPMD

PHPMD: TooManyPublicMethods and allow-underscores

Earlier this month, PHPMD 2.3 was released. It contains several new features, including two that I added primarily for use in Wikibase, the software behind Wikidata. For a more general post on PHPMD and style checks in PHP,… Read More

PHPCS and PHPMD: my experiences

PHPCS (PHP Code Sniffer) detects violations against a specified coding standard. PHPMD (PHP Mess Detector) is a similar tool, though with more of a focus on metrics. In this post I’ll go over how I started using them,… Read More