Skip to content

Commit fa86d61

Browse files
committed
[BE] Require identifier in custom rules
1 parent e4a3488 commit fa86d61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

changelog-2.0.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,6 @@ Bleeding edge (TODO move to other sections)
9191
* CallToConstructorStatementWithoutSideEffectsRule - report class with no constructor (https://github.com/phpstan/phpstan-src/commit/b116d25a6e4ba6c09f59af6569d9e6f6fd20aff4)
9292
* Deprecated: returning plain strings as errors, use RuleErrorBuilder
9393
* Learn more: [Using RuleErrorBuilder to enrich reported errors in custom rules](https://phpstan.org/blog/using-rule-error-builder)
94-
* Deprecated: returning RuleError without identifier (https://github.com/phpstan/phpstan-src/commit/969e6fa31d5484d42dab902703cfc6820a983cfd)
9594
* Check if required file exists ([#3294](https://github.com/phpstan/phpstan-src/pull/3294)), #3397, thanks @Bellangelo!
9695
* Check generics `@method` `@template` tags above traits (https://github.com/phpstan/phpstan-src/commit/aadbf62d3ae4517fc7a212b07130bedcef8d13ac)
9796
* Check `@mixin` PHPDoc tag above traits (https://github.com/phpstan/phpstan-src/commit/0d0de946900adf4eb3c799b1b547567536e23147)
@@ -139,6 +138,7 @@ Improvements 🔧
139138
* Analysis with zero files results in non-zero exit code (https://github.com/phpstan/phpstan-src/commit/46ff440648e62617df86aa74ba905ffa99897737), #9410
140139
* Fail build when project config uses custom extensions outside of analysed paths
141140
* This will only occur after a run that uses already present and valid result cache
141+
* Require identifier in custom rules (https://github.com/phpstan/phpstan-src/commit/969e6fa31d5484d42dab902703cfc6820a983cfd)
142142

143143
Bugfixes 🐛
144144
=====================

0 commit comments

Comments
 (0)