Download the PHP package philippwitzmann/codingstandard without Composer
On this page you can find all versions of the php package philippwitzmann/codingstandard. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download philippwitzmann/codingstandard
More information about philippwitzmann/codingstandard
Files in philippwitzmann/codingstandard
Package codingstandard
Short Description This is my coding standard adapted from sparhandy/codingstandard.
License BSD-3-Clause
Homepage https://github.com/PhilippWitzmann/CodingStandard
Informations about the package codingstandard
Coding Standard
This repository contains all necessary files to configure PHP Code Sniffer and PHP Mess Detector.
Installation with composer
For now you have to use the dev-master version.
Usage
From Terminal (Cli)
PHP Code Sniffer
To execute PHP Code Sniffer do the following.
PHP Mess Detector
To execute PHP Mess Detector do the following.
PHPStan
To execute PHPStan do the following.
Travis-CI configuration
For use in your Travis-Ci configuration file just adapt the following example and save it to .travis.yml in your root directory.
How to contribute
If you want to contribute to the standard here is how it works.
- Create a fork of PhilippWitzmann/CodingStandard.
- Create your branch from master and commit your changes.
- Push your branch to your fork.
- Create a pull request on GitHub.
- Discuss your pull request with us.
- Our devs will then merge or close the pull request.
Acknowledgements
This would not be possible without the tremendous work of the good people at PHP Code Sniffer and PHP Mess Detector and of course the authors annotated in the source files. Also check out the original version of this standard over at the amazing people from Sparhandy
All versions of codingstandard with dependencies
squizlabs/php_codesniffer Version ~3.4.0
wimg/php-compatibility Version ~8.1.0
phpmd/phpmd Version ~2.6.0
sebastian/phpcpd Version ~4.1
phpstan/phpstan Version ^0.11.1
slevomat/coding-standard Version ~5.0
phpstan/phpstan-strict-rules Version ~0.11