nepada / coding-standard
Nepada coding standard.
Installs: 269 896
Dependents: 24
Suggesters: 0
Security: 0
Stars: 2
Watchers: 3
Forks: 0
Open Issues: 0
Type:phpcodesniffer-standard
Requires
- php: >=7.4.0
- slevomat/coding-standard: ^8.15.0
- squizlabs/php_codesniffer: ^3.10.3
- dev-master
- v7.14.1
- v7.14.0
- v7.13.0
- v7.12.0
- v7.11.0
- v7.10.0
- v7.9.0
- v7.8.0
- v7.7.0
- v7.6.0
- v7.5.2
- v7.5.1
- v7.5.0
- v7.4.4
- v7.4.3
- v7.4.2
- v7.4.1
- v7.4.0
- v7.3.0
- v7.2.1
- v7.2.0
- v7.1.1
- v7.1.0
- v7.0.1
- v7.0.0
- 6.4.x-dev
- v6.4.0
- v6.3.0
- v6.2.0
- v6.1.0
- v6.0.0
- v5.6.0
- v5.5.0
- v5.4.0
- v5.3.0
- v5.2.0
- v5.1.0
- v5.0.2
- v5.0.1
- v5.0.0
- v4.2.0
- v4.1.0
- v4.0.1
- v4.0.0
- v3.0.1
- v3.0.0
- v2.0.0
- v1.0.1
- v1.0.0
This package is auto-updated.
Last update: 2024-11-27 13:16:46 UTC
README
Based on Consistence - Coding Standard and Slevomat - Coding Standard.
Installation
Via Composer:
$ composer require nepada/coding-standard
Usage
You can either use the ruleset as-is, or customize it to suit your needs:
<?xml version="1.0"?> <ruleset> <config name="installed_paths" value="../../nepada/coding-standard/src"/><!-- relative path from PHPCS source location --> <arg value="ps"/><!-- show progress of the run, show sniff names --> <arg name="cache" value=".phpcs-cache"/> <file>src</file> <file>tests</file> <rule ref="Nepada"> </rule> </ruleset>
To check your code base for violations, run PHP CodeSniffer from the command line:
vendor/bin/phpcs