Releases: phalcon/code-quality
Releases · phalcon/code-quality
Release list
1.0.1
Fixed
Phalcon\CodeQuality\PhpCsFixer\ConfigFactory::create()now excludes every_outputdirectory below the given paths. A project that scans atestsdirectory picked up the tooling caches intests/_output(the PHPStantmpDir), and php-cs-fixer reported those generated files.
1.0.0
Added
Phalcon\CodeQuality\PhpCsFixer\Rules, the shared php-cs-fixer rule set. It starts with the@PSR12set, and the Phalcon rules after it replace three of the values of that set.Phalcon\CodeQuality\PhpCsFixer\ConfigFactory::create(), which builds a php-cs-fixer configuration from a list of paths and a cache file.- The
Phalconphpcs standard: PSR-12 without thePSR2.Methods.MethodDeclaration.Underscoresniff.dealerdirect/phpcodesniffer-composer-installerregisters it, so a project refers to it with<rule ref="Phalcon"/>. - A Docker environment. The
PHP_VERSIONvariable selects the PHP version, and the default is 8.1. - Continuous integration for PHP 8.1 to 8.5, and Dependabot for composer, GitHub Actions and Docker.