Releases: doctrine/.github
PHPCS 4 required
Changed
The -q option has been dropped from phpcs invocations. A consequence is that you have to upgrade to PHPCS 4 to keep using the coding-standard workflow.
Report all CS errors
Changed
For the coding standard job, on top of the existing formats, emacs format is now used as well, because it also reports unfixable errors.
Upgrade phpdocumentor
Pinned phpdocumentor
Changed
Instead of using a version constraint for phpDocumentor/*, we now use a version, to avoid surprises.
Locked deps
Added
A new composer-dependency-versions option has been added to allow configuring ramsey/composer-install's dependency-versions option.
Website schema validation workflow
Added
We now have a new workflow that allows to validate modification of .doctrine-project.json files.
Drop Psalm
Removed
The Psalm workflow has been removed. We are now only relying on PHPStan.
PHP 8.4 by default
Changed
- jobs now run by default on PHP 8.4
Codecov action update
Changed
- The codecov action has been updated to v5.
Deprecated Psalm job
Deprecated
The static analysis workflow is deprecated in favor of a new workflow that only runs PHPStan. Projects should:
- Migrate from
psalm-prefixed annotations tophpstan-prefixed annotations, or to unprefixed annotations if they do not confuse PHPStorm. - Install https://github.com/phpstan/phpstan-deprecation-rules
- Remove Psalm
- Migrate from
static-analysis.ymltophpstan.yml - Raise PHPStan minimum level to 7