outeredge / coding-standards
This package is abandoned and no longer maintained.
The author suggests using the outeredge/dev-dependencies package instead.
Dev tools used by outer/edge
3.0.14
2023-10-23 15:25 UTC
Requires
README
This repository contains the coding standards used by outer/edge with rules for:
- PHPCS
Install
composer require --dev outeredge/dev-dependencies
Then you can add the outer/edge coding standard to your phpcs.xml, i.e. for Magento 2:
<?xml version="1.0"?> <ruleset> ... <rule ref="vendor/outeredge/dev-dependencies/phpcs-magento.xml" /> <file>app/code/...</file> <file>app/design/frontend/...</file> ... </ruleset> </xml>
Running PHPCS tests
$ phpcs
Running PHPCS code fixer
$ phpcbf