-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathphpstan.neon
More file actions
16 lines (16 loc) · 843 Bytes
/
Copy pathphpstan.neon
File metadata and controls
16 lines (16 loc) · 843 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# 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:
reportUnmatchedIgnoredErrors: false
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\\_]+\(\)#'
- '#Static call to instance method AmazonPHP\\SellingPartner\\Marketplace::[a-zA-Z0-9\\_]+\(\)#'
- '#Constant BASE_PATH not found#'
- '#Call to an undefined static method App\\Model\\[A-Za-z0-9_]+::insert\(\)#'
- '#Access to an undefined property#'
- '#PHPDoc tag @property has invalid value#'
- '#Call to an undefined method Hyperf\\Database#'