Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Comptoir Comptoir
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 30
    • Issues 30
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • ComptoirComptoir
  • ComptoirComptoir
  • Issues
  • #24
Closed
Open
Issue created Feb 27, 2020 by Fabrice Gangler@fgangler🎨Owner

QA - Add PHP Mess Detector (PHPMD) dependency

documentation:

  • https://phpqa.io/projects/phpmd.html
  • https://phpmd.org
# install
composer require --dev phpmd/phpmd

# Scan PHP source code
vendor/bin/phpmd <file> <format> <ruleset>[,ruleset]
vendor/bin/phpmd <dir>  text     <ruleset>[,ruleset]
vendor/bin/phpmd src/ html cleancode     > phpmdReport_cleancode.html
vendor/bin/phpmd src/ html codesize      > phpmdReport_codesize.html
vendor/bin/phpmd src/ html controversial > phpmdReport_controversial.html
vendor/bin/phpmd src/ html design        > phpmdReport_design.html
vendor/bin/phpmd src/ html naming        > phpmdReport_naming.html
vendor/bin/phpmd src/ html unusedcode    > phpmdReport_unusedcode.html

related to #20

Assignee
Assign to
Time tracking