messagecloud / messagecloud-coding-standard
MessageCloud Coding Standard
Installs: 9 787
Dependents: 2
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 0
Open Issues: 1
Requires
Requires (Dev)
- roave/security-advisories: dev-master
This package is auto-updated.
Last update: 2024-12-16 13:02:49 UTC
README
The PHP coding standard for MessageCloud.
Installation
- Require the package in your
composer.json
:
{ "require-dev": { "messagecloud/messagecloud-coding-standard": "^3.0" } }
- Create a PHP Code Sniffer configuration file
phpcs.xml
in the root of your project:
<?xml version="1.0"?> <ruleset name="MessageCloud Coding Standard"> <rule ref="./vendor/messagecloud/messagecloud-coding-standard/ruleset.xml"/> <!-- Path to check --> <file>./src</file> </ruleset>