Skip to content

Commit

Permalink
✨ phpstan rule for magic properties on the SettingsContainerInterface
Browse files Browse the repository at this point in the history
  • Loading branch information
codemasher committed Jul 16, 2024
1 parent 16869c3 commit e1af2fa
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions rules-magic-access.neon
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
parameters:
ignoreErrors:
# yes, these are magic
- message: "#^Access to an undefined property chillerlan\\\\Settings\\\\SettingsContainerInterface\\:\\:\\$[\\w]+\\.$#"

0 comments on commit e1af2fa

Please sign in to comment.