Skip to content

Commit

Permalink
chore: adjust phpstan.neon
Browse files Browse the repository at this point in the history
  • Loading branch information
albertcht committed Sep 16, 2024
1 parent 5f1b88f commit 9e12db7
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions phpstan.neon
Original file line number Diff line number Diff line change
@@ -1,19 +1,11 @@
# Magic behaviour with __get, __set, __call and __callStatic is not exactly static analyser-friendly :)
# Fortunately, You can ignore it by the following config.
#
# vendor/bin/phpstan analyse app --memory-limit 200M -l 0
#
parameters:
level: 0

level: 5
paths:
- app

- config
reportUnmatchedIgnoredErrors: false

excludePaths:
- overrides/*

ignoreErrors:
- '#Static call to instance method Hyperf\\HttpServer\\Router\\Router::[a-zA-Z0-9\\_]+\(\)#'
- '#Static call to instance method Hyperf\\DbConnection\\Db::[a-zA-Z0-9\\_]+\(\)#'

0 comments on commit 9e12db7

Please sign in to comment.