nepada / coding-standard
Nepada coding standard.
Package info
github.com/nepada/coding-standard
Type:phpcodesniffer-standard
pkg:composer/nepada/coding-standard
v8.0.1
2025-09-28 08:41 UTC
Requires
- php: >=7.4.0
- slevomat/coding-standard: ^8.17.0
- squizlabs/php_codesniffer: ^4.0.0
This package is auto-updated.
Last update: 2026-06-02 00:32:17 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="../../slevomat/coding-standard,../../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