Skip to content

Commit 92bd1e1

Browse files
committed
PHPStan "Access to private static property $instances"
1 parent 45f5944 commit 92bd1e1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

phpstan.neon.dist

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ parameters:
77
# EnumSerializableTrait
88
- message: '#Access to private property \$[a-z]+ of parent class MabeEnum\\Enum#'
99
path: %currentWorkingDirectory%/src/EnumSerializableTrait.php
10+
- message: '#Access to private static property \$instances#'
11+
path: %currentWorkingDirectory%/src/EnumSerializableTrait.php
1012

1113
# Tests
1214
- message: '#Parameter \#\d \$[a-z]* of static method MabeEnum\\Enum::[^ ]* expects [^ ]*, .+ given#'

0 commit comments

Comments
 (0)