summaryrefslogtreecommitdiff
path: root/phpstan.neon
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-03-05 21:14:35 +0300
committerAndrew Dolgov <[email protected]>2021-03-05 21:14:35 +0300
commit2b8b845abe7c13ecbb266613910484310cffe8e1 (patch)
tree90bd2e93737c2aad17cfb09496cc57cf3f9968cd /phpstan.neon
parentb2341679d53b227fc90fba34c3a7e6453e3cad6e (diff)
* use ORM for trivial queries
* environment-based configuration * useradm.php -> update.php with new options * support for schema migrations * various fixes
Diffstat (limited to 'phpstan.neon')
-rw-r--r--phpstan.neon17
1 files changed, 17 insertions, 0 deletions
diff --git a/phpstan.neon b/phpstan.neon
new file mode 100644
index 0000000..f22fd35
--- /dev/null
+++ b/phpstan.neon
@@ -0,0 +1,17 @@
+parameters:
+ level: 5
+ ignoreErrors:
+ #- '#Comparison operation ">" between int<1, max> and 0 is always true.#'
+ #- '#Access to an undefined property DOMNode::\$tagName.#'
+ #- '#Call to an undefined method DOMNode::(get|remove|set)Attribute\(\).#'
+ #- '#PHPDoc tag @param has invalid value#'
+ - message: '##'
+ paths:
+ #- lib/*
+ - vendor/*
+ excludePaths:
+ - node_modules/*
+ - vendor/**/tests/*
+ - vendor/**/test/*
+ paths:
+ - .