robole / php-cs
Bundle of php codestyle checkers and fixers for robole.
0.7.5
2026-05-29 09:56 UTC
Requires
- php: ^8.4
- friendsofphp/php-cs-fixer: ^v3.88
- jangregor/phpstan-prophecy: ^2.2
- phpro/grumphp-shim: ^2.11
- phpstan/phpstan: ^2.1
- phpstan/phpstan-doctrine: ^2.0
- phpstan/phpstan-phpunit: ^2.0
- phpstan/phpstan-strict-rules: ^2.0
- phpstan/phpstan-symfony: ^2.0
- phpstan/phpstan-webmozart-assert: ^2.0
- rector/rector: ^2.2
- vincentlanglet/twig-cs-fixer: ^3.10
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
This packages helps to check and fix your php project files. It installs the required packages and provides config files with the needed settings for robole.
These packages are beeing used:
Supported PHP Versions
- PHP 8.4+
Installation
composer require --dev robole/php-cs
Copy (or merge/overwrite if already existing) the following config files and directories to your project directory:
.editorconfig
.php-cs-fixer.dist.php
phpstan.dist.neon
rector.php
grumphp.yml
tests/phpstan
Copy the Taskfile.cs.yaml to your project.
Add these lines to your Taskfile.dist.yaml:
includes: cs: "./Taskfile.cs.yaml"
Add the task cs:setup to your main setup task in your Taskfile.dist.yaml.
Example:
tasks: setup: desc: "Setup project" cmds: - task: setup-proxy - task: setup-backend - task: setup-entities - task: setup-frontend - task: setup-security - task: cs:setup