Open Vinai opened 7 years ago
Don't see any problems with this. @Vinai -- do you have a preferred linting method for PSR-2?
I use vendor/bin/phpcs --standard=psr2 <path-to-module>
The Magento coding standard extends psr2 somewhat, to use it the command is
vendor/bin/phpcs --standard=dev/tests/static/framework/Magento <path-to-module>
Can't help but mention for the record that I personally don't think the Magento coding standard is very good, for example enforcing PHPDoc comments only adds noise to the code.
It would be nice if the generated code where PSR-2 compliant.