Skip to content

Instantly share code, notes, and snippets.

@danilobatistaqueiroz
Last active November 12, 2017 02:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save danilobatistaqueiroz/3fd7256555280afa11a4d6d69ac3d451 to your computer and use it in GitHub Desktop.
Save danilobatistaqueiroz/3fd7256555280afa11a4d6d69ac3d451 to your computer and use it in GitHub Desktop.
Tutorial Php Lint Coding Standards Fixer

Tutorial Php Lint Coding Standards Fixer

PHPMD

install phpmd:

composer require phpmd/phpmd

run phpmd:

phpmd <<filename.php>> <<format>> cleancode,codesize,controversial,design,naming,unusedcode

for format you can use: xml, txt ot hmtl

phpmd running


PHPLint

you can evaluate the code online with: http://www.icosaedro.it/phplint/phplint-on-line.html


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