To check the quality of Magento 2 code or an extension against the Magento coding standard, you can use PHP Mess Detector. The following command analyzes any directory or individual file:
|
1 |
vendor/bin/phpmd Ihr/Verzeichnis text dev/tests/static/testsuite/Magento/Test/Php/_files/phpmd/ruleset.xml |
Run the command from the Magento 2 root…