rmx351 / coding-standard
Rmx351 Coding Standard
Installs: 8
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/rmx351/coding-standard
Requires
README
composer require --dev rmx351/coding-standard
phpcs.xml
<?xml version="1.0"?> <ruleset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="vendor/squizlabs/php_codesniffer/phpcs.xsd"> <description>Rmx351 coding standard.</description> <arg name="colors" /> <arg name="extensions" value="php" /> <arg name="parallel" value="80" /> <!-- Show progress --> <arg value="p" /> <file>application/crm/model/Contract.php</file> <!-- Include all rules from the Rmx351 Coding Standard --> <rule ref="vendor/rmx351/coding-standard" /> </ruleset>
composer.json
"scripts": { "cs-check": "phpcs --standard=./phpcs.xml", "cs-fix": "phpcbf --standard=./phpcs.xml" }