Repository navigation
TODO When updating
- Run
composer recipes:install smartbooster/standard-bundle --reset --forceto pick up the updatedphpstan.neonandmake/qualimetry.mk
(the set of copied files is unchanged, so there is no new dotted manifest) - If the project overrides the PHPStan level, set it in
phpstan.neon(parameters.level) : themakecommands no longer pass--level
and a level given on the command line is not seen by thephpstan.levelrule
Added
docs/rules.md: theinfra.mysql-versionrule (MYSQL_VERSIONin.env, patch included, the value
given todoctrine.dbal.server_version), and the.envas the source of the production versionsdocs/rules.md: the PHP code quality rules checked by Smart App :phpstan.baseline,
phpstan.extensions,phpstan.disallowed-calls,
psalm.taint,php.cs-fixer,symfony.lints
andphp.composer-check, and the new info status (a figure to follow, nothing to fix : the debt of
a baseline or of the disabledphp-cs-fixerrules). The rules about the CI read.gitlab-ci.ymland themaketargets it calls, without running anything
Changed
phpstan.neon: declareslevel: 10inparametersmake/qualimetry.mk:phpstanandphpstan-generate-baselineno longer pass--level=10, the level is read fromphpstan.neonCLAUDE.md,docs/phpstan.md: PHPStan command and level documentation aligned on the above
Contributed by @mathieu-ducrot