2017 © Pedro Peláez
 

library sugared-phpmd

PHPMD sweetened with ease

image

schnittstabil/sugared-phpmd

PHPMD sweetened with ease

  • Monday, September 26, 2016
  • by schnittstabil
  • Repository
  • 1 Watchers
  • 1 Stars
  • 206 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

SugaredRim\PHPMD Build Status Coverage Status Scrutinizer Code Quality Code Climate

SensioLabsInsight, (*1)

PHPMD sweetened with ease :cherries:, (*2)

SugaredRim\PHPMD takes an opinionated view of code style checking with PHPMD, it is preconfigured to get you up and running as quickly as possible., (*3)

Install

$ composer require --dev sugared-rim/phpmd

Usage

Instead of running phpmd with all its options, just run sugared-rim-phpmd - that's it:, (*4)

{
    ...
    "require-dev": {
        "sugared-rim/phpmd": ...
    },
    "scripts": {
        "lint": "sugared-rim/phpmd"
    }
}

Configuration

You may overwrite some options by putting it in your composer.json., (*5)

Some of the default settings:, (*6)

{
    ...
    "scripts": {
        "lint": "sugared-rim/phpmd"
    },
    "extra": {
        "sugared-rim/phpmd": {
            "inputPath": "src,tests",
            "reportFormat": "text",
            "ruleSets": "cleancode,codesize,controversial,design,naming,unusedcode"
        }
    }
}

License

MIT © Michael Mayer, (*7)

The Versions

26/09 2016

dev-master

9999999-dev

PHPMD sweetened with ease

  Sources   Download

MIT

The Requires

 

The Development Requires

phpmd standards mess detection pmd mess detector sugared preconfigured

26/09 2016

1.0.0

1.0.0.0

PHPMD sweetened with ease

  Sources   Download

MIT

The Requires

 

The Development Requires

phpmd standards mess detection pmd mess detector sugared preconfigured