ngscz / coding-standard
Coding standards
Installs: 15 295
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
pkg:composer/ngscz/coding-standard
Requires
- slevomat/coding-standard: ~5.0
This package is auto-updated.
Last update: 2026-01-29 03:58:24 UTC
README
Installation
composer require ngscz/coding-standard --dev
Usage
Create file ruleset.xml in root.
<?xml version="1.0"?>
<ruleset name="Boutiq">
<arg name="basepath" value="."/>
<rule ref="vendor/ngscz/coding-standard"/>
<!-- Directories to be checked -->
<file>app</file>
</ruleset>
PHPCS
#!/bin/sh
php vendor/bin/phpcs --standard=ruleset.xml
PHPCBF
#!/bin/sh
php vendor/bin/phpcbf --standard=ruleset.xml