Skip to content

Commit 16f77e3

Browse files
authored
Readme: uselessPrivatePropertyNullability is outbuilt by PHPStan 1.12 + bleedingEdge
1 parent e0f9fe9 commit 16f77e3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: README.md

+2
Original file line numberDiff line numberDiff line change
@@ -681,6 +681,8 @@ class Example
681681
- Detects useless nullability of a private property by checking type of all assignments.
682682
- Works only with natively typehinted properties
683683
- Recommended to be used with `uselessPrivatePropertyNullability` and `forbidUselessNullableReturn` as removing useless default value may cause useless nullability to be detected
684+
- PHPStan 1.12 with bleeding edge contains more generic version of this rule under `property.unusedType` error identifier
685+
684686
```php
685687
class Example
686688
{

0 commit comments

Comments
 (0)