Download the PHP package maxictbv/coding-standard without Composer
On this page you can find all versions of the php package maxictbv/coding-standard. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download maxictbv/coding-standard
More information about maxictbv/coding-standard
Files in maxictbv/coding-standard
Download maxictbv/coding-standard
More information about maxictbv/coding-standard
Files in maxictbv/coding-standard
Vendor maxictbv
Package coding-standard
Short Description MaxICT Coding Standard
License MIT
Homepage https://maxict.nl
Package coding-standard
Short Description MaxICT Coding Standard
License MIT
Homepage https://maxict.nl
Please rate this library. Is it a good library?
Informations about the package coding-standard
🧑🏼🏫 MaxICT Coding Standard
A PHP_CodeSniffer coding standard to be used across MaxICT PHP code bases.
Installation
To install, run:
Copy the phpcs.xml.dist file to the root of your project.
Progressive Application
Most legacy codebases won't play nice with the full coding standard at the start. Introducing strict typing for example may cause major issues. To avoid these issues, the following approach can be used. It is a bit tedious, because unfortunately Codesniffer can only exclude rules (blacklist) and not whitelist:
- Copy the
phpcs.xml.distfile to the root of your project. - Add an exclusion for every sniff.
- Start removing exclusions one by one until an acceptable set is reached.
- When the codebase improves over time, re-evaluate from time to time if more rules can be enabled, and do so if that's the case.
All versions of coding-standard with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.0
dealerdirect/phpcodesniffer-composer-installer Version ^1.0
doctrine/coding-standard Version ^12.0
dealerdirect/phpcodesniffer-composer-installer Version ^1.0
doctrine/coding-standard Version ^12.0
The package maxictbv/coding-standard contains the following files
Loading the files please wait ...