outeredge / dev-dependencies
Dev tools used by outer/edge
Installs: 13 273
Dependents: 9
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 0
Open Issues: 0
Requires
- php: ^8.3
- bitexpert/phpstan-magento: ^0.30
- deployer/deployer: ^7.4
- magento/magento-coding-standard: 33
- magento/php-compatibility-fork: ^0.1
- phpstan/extension-installer: ^1.3
- rector/rector: ^0.17.12
- squizlabs/php_codesniffer: ^3.7
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