Magento 2 Code Sniffer Static File Analysis

If you want to run static code analysis (Code Sniffer) so that it runs the same ruleset as the Travis tests run them upon Magento community contribution, you can run it via command line like this:

If you want to run it for an entire folder recursively, you can run it like this:


Leave a Reply

Your email address will not be published. Required fields are marked *