Download the PHP package zieglerh/php-code-quality without Composer
On this page you can find all versions of the php package zieglerh/php-code-quality. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download zieglerh/php-code-quality
More information about zieglerh/php-code-quality
Files in zieglerh/php-code-quality
Package php-code-quality
Short Description CLI tool for running PHP 8.x for Pimcore 11 code checks
License GPL-3.0-or-later
Informations about the package php-code-quality
PHP Code Quality Tools
CLI tools for running PHP code checks and refactoring for Pimcore
- PHP Code Quality Tools
- Installation
- Composer
- Templates
- Overwrite rulesets
- Disable tools
- Execute
- Code checks
- Automatic refactoring
- Configuring rulesets
- Configuration
- Rulesets
Installation
Composer
Templates
Copy /templates/*
into your project root folder
Overwrite rulesets
In your .env
file you can define a path to overwrite the rulesets, e.g. from your project root
Disable tools
You can disable tools in your .env
file by setting the following
or disable all of them with
Overwrite tool arguments
You can also overwrite tool arguments from definition_args.conf
in your .env
file
Execute
Code checks
To execute only specific tools, you can append one or multiple arguments
Automatic refactoring
Display automatic code refactoring
Run rector and change all files
Configuring rulesets
Configuration
For configuration of tools see defnitions_tools.conf
Rulesets
Rulesets are defined inside the rulesets/*.xml files and can be overwritten
See Overwrite rulesets
All versions of php-code-quality with dependencies
phpmd/phpmd Version 2.13.0
phpstan/phpstan Version ^1.10
symplify/phpstan-rules Version ^12.4
phpstan/phpstan-symfony Version ^1.3
rector/rector Version ^1.0