summaryrefslogtreecommitdiffstats
path: root/phpstan.neon.dist
diff options
context:
space:
mode:
authorMaurício Meneghini Fauth <mauricio@fauth.dev>2019-12-16 16:08:16 -0300
committerMaurício Meneghini Fauth <mauricio@fauth.dev>2019-12-16 16:08:16 -0300
commit2ce3ddecec1721a494a2557a9e628e6142fbe5c6 (patch)
treec3f19585aaeaa4cbee4b6bd5c6c345793dad7239 /phpstan.neon.dist
parentfa8b1dd561e954c75015f8c7745b3d8713342d94 (diff)
downloadsql-parser-2ce3ddecec1721a494a2557a9e628e6142fbe5c6.zip
sql-parser-2ce3ddecec1721a494a2557a9e628e6142fbe5c6.tar.gz
sql-parser-2ce3ddecec1721a494a2557a9e628e6142fbe5c6.tar.bz2
Add PHPStan at level 2
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
Diffstat (limited to 'phpstan.neon.dist')
-rw-r--r--phpstan.neon.dist10
1 files changed, 10 insertions, 0 deletions
diff --git a/phpstan.neon.dist b/phpstan.neon.dist
new file mode 100644
index 0000000..9fc98c0
--- /dev/null
+++ b/phpstan.neon.dist
@@ -0,0 +1,10 @@
+parameters:
+ level: 2
+ paths:
+ - src
+ - tests
+ - bin
+ reportUnmatchedIgnoredErrors: true
+ inferPrivatePropertyTypeFromConstructor: true
+ ignoreErrors:
+ - '#Unsafe usage of new static\(\)\.#'