Skip to content

Commit e1af2fa

Browse files
committed
✨ phpstan rule for magic properties on the SettingsContainerInterface
1 parent 16869c3 commit e1af2fa

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

rules-magic-access.neon

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
parameters:
2+
ignoreErrors:
3+
# yes, these are magic
4+
- message: "#^Access to an undefined property chillerlan\\\\Settings\\\\SettingsContainerInterface\\:\\:\\$[\\w]+\\.$#"

0 commit comments

Comments
 (0)