Skip to content

Instantly share code, notes, and snippets.

@basvandorst
Created November 1, 2016 14:23
Show Gist options
  • Save basvandorst/e83e8f5632610501cad7f87c7e6df4d0 to your computer and use it in GitHub Desktop.
Save basvandorst/e83e8f5632610501cad7f87c7e6df4d0 to your computer and use it in GitHub Desktop.
php composer phpmd monolog phploc phpcpd phpcs
{
"description": "The ultimate toolbox of developer!",
"support": {
"basic_usage": "http://getcomposer.org/doc/01-basic-usage.md",
"packagist": "https://packagist.org/",
"phpqatools": "http://phpqatools.org/",
"helper": "http://composer.json.jolicode.com/"
},
"author": {
"name": "NerOcrO",
"email": "[email protected]",
"homepage": "",
"role": "Developer"
},
"require-dev": {
"sebastian/finder-facade": "1.1.*",
"theseer/fdomdocument": "1.4.2",
"zetacomponents/console-tools": "dev-master",
"phploc/phploc": "dev-master",
"sebastian/phpcpd": "dev-master",
"phpmd/phpmd": "dev-master",
"zerkalica/php-code-browser": "dev-master",
"monolog/monolog": "1.6.*@dev"
}
"repositories": [
{
"type": "package",
"package": {
"name": "bytekit-cli/bytekit-cli",
"version": "1.1.2",
"dist": {
"url": "https://github.com/sebastianbergmann/bytekit-cli",
"type": "git"
}
}
}
]
}

vendor/bin/phpmd mdp/sites/all/modules/mdp/ xml cleancode,codesize,controversial,design,naming,unusedcode --reportfile default/xml/md.xml

vendor/bin/phpcpd --log-pmd default/xml/phpcpd.xml mdp/sites/all/modules/mdp/

vendor/bin/pdepend --summary-xml=default/xml/pdepend.xml mdp/sites/all/modules/mdp/

phpcs --standard=/opt/drupalcodesniffer/Drupal/ruleset.xml --extensions=php,module,inc,install,test --ignore=features --report-xml=default/xml/phpcs.xml -v -s mdp/sites/all/modules/mdp/

vendor/bin/phpcb --log default/xml/ --output default/xml/output

drush coder-review --sniffer --no-empty sites/all/modules/custom/un_module/*

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment