Download the PHP package prezly/code-style without Composer
On this page you can find all versions of the php package prezly/code-style. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package code-style
Prezly code style configurations
PHP Code Style checker (and fixer) is built with Easy-Coding-Standard.
Usage
-
(Optional) Add prefixed ECS CLI tool into your composer requirements (if you're not a fan of resolving conflicts with enormous dependencies list of
simplify/easy-coding-standard
). -
Link prezly/code-style repo as composer dependency
-
Include the provided configuration into your project.
Simply create an ecs.php file in your project root and include the ecs.php provided by this package into it.
-
If you need to extend or override the stock configuration, you can of course do it by adding code on top of it:
-
Run checks (you can also configure your CI to run this for you on every push):
- Fix problems: