fox91/coding-standard

fox91 Coding Standard

Maintainers

👁 fox91

Package info

github.com/fox91/php-coding-standard

Type:phpcodesniffer-standard

pkg:composer/fox91/coding-standard

Statistics

Installs: 5 768

Dependents: 1

Suggesters: 0

Stars: 1

Open Issues: 2

v0.6.0 2026-04-20 15:01 UTC

Requires

Requires (Dev)

None

Suggests

None

Provides

None

Conflicts

None

Replaces

None

MIT 78e81721d6d51bd20977bbd2bcf752d7e878574d

  • Andrea Falco <andrea.woop@falco.sh>

standardsphpcs


README

👁 Latest version
👁 Downloads
👁 Build status

Compatible with PHP 7.4, 8.0, 8.1, 8.2, 8.3, 8.4 and 8.5.

Included tools

Installation

composer require --dev fox91/coding-standard

Create a file named .phpcs.xml.dist in the root of your project:

<?xml version="1.0" encoding="UTF-8"?>
<ruleset>
 <!-- https://github.com/PHPCSStandards/PHP_CodeSniffer/wiki/Annotated-Ruleset -->
 <!-- https://github.com/PHPCSStandards/PHP_CodeSniffer/wiki/Advanced-Usage -->

 <arg name="extensions" value="php"/>
 <arg name="tab-width" value="4"/>
 <arg name="basepath" value="."/>
 <arg name="parallel" value="80"/>
 <arg name="report" value="full"/>
 <arg name="cache" value=".phpcs.cache"/>

 <arg value="s"/>

 <file>src</file>
 <file>tests</file>

 <config name="ignore_warnings_on_exit" value="1"/>
 <config name="ParanoiaMode" value="1"/>

 <!-- PHPCompatibility config -->
 <!-- <config name="testVersion" value="7.4"/> -->

 <rule ref="Fox91CodingStandard"/>
</ruleset>