diff --git a/CHANGELOG.md b/CHANGELOG.md index aba4b7a6..184fe1c4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,9 @@ All notable changes to this project will be documented in this file. ## [Unreleased] +- Enabled PHPStan's `reportIgnoresWithoutComments`: inline `@phpstan-ignore` annotations must + carry a comment explaining the suppression. + ## [3.0.0-rc4] - 2026-06-04 - Tuned OPcache in the production image: enabled Symfony class preloading, inlined container diff --git a/phpstan.dist.neon b/phpstan.dist.neon index 02dc0542..884a0a5f 100644 --- a/phpstan.dist.neon +++ b/phpstan.dist.neon @@ -3,6 +3,8 @@ includes: parameters: level: 6 + # Inline `@phpstan-ignore` annotations must carry a `(comment)` explaining the suppression. + reportIgnoresWithoutComments: true paths: - src/ - migrations/