From 0e65fc26dfa1e20decda2e69115060d94b7cc4c1 Mon Sep 17 00:00:00 2001 From: David Date: Mon, 12 Dec 2022 18:30:54 +0100 Subject: [PATCH] updated phpstan --- .gitattributes | 10 ++++++++++ composer.json | 2 +- phpstan.neon | 5 +++++ 3 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 .gitattributes create mode 100644 phpstan.neon diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..3aa6270 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,10 @@ +.gitattributes export-ignore +.gitignore export-ignore +.github export-ignore +.travis.yml export-ignore +ecs.php export-ignore +phpstan.neon export-ignore +tests/ export-ignore + +*.sh eol=lf +*.php* diff=php linguist-language=PHP diff --git a/composer.json b/composer.json index 3b6f1c9..c92b333 100644 --- a/composer.json +++ b/composer.json @@ -27,7 +27,7 @@ }, "minimum-stability": "dev", "scripts": { - "phpstan": "phpstan analyse --level 5 src", + "phpstan": "phpstan analyse", "tester": "tester tests -s" }, "extra": { diff --git a/phpstan.neon b/phpstan.neon new file mode 100644 index 0000000..a084693 --- /dev/null +++ b/phpstan.neon @@ -0,0 +1,5 @@ +parameters: + level: 5 + + paths: + - src