aboutsummaryrefslogtreecommitdiffhomepage
path: root/phpstan.neon
diff options
context:
space:
mode:
authorJeremy Benoist <jeremy.benoist@gmail.com>2019-01-17 14:28:05 +0100
committerJeremy Benoist <jeremy.benoist@gmail.com>2019-01-18 15:25:50 +0100
commit1e0d8ad7b728f6fb2cd886526b0fb84ef803e84f (patch)
treeb4f38bf4a01580f5f7218440e7054688d7178e53 /phpstan.neon
parent8445ad4790ff4f3f9759f9bfa0d503ad5654e30e (diff)
downloadwallabag-1e0d8ad7b728f6fb2cd886526b0fb84ef803e84f.tar.gz
wallabag-1e0d8ad7b728f6fb2cd886526b0fb84ef803e84f.tar.zst
wallabag-1e0d8ad7b728f6fb2cd886526b0fb84ef803e84f.zip
Enable PHPStan
- Fix error for level 0 & 1 (level 7 has 699 errors...) - Add `updated_at` to site_credential (so the `timestamps()` method applies correctly)
Diffstat (limited to 'phpstan.neon')
-rw-r--r--phpstan.neon13
1 files changed, 13 insertions, 0 deletions
diff --git a/phpstan.neon b/phpstan.neon
new file mode 100644
index 00000000..dfbc97ac
--- /dev/null
+++ b/phpstan.neon
@@ -0,0 +1,13 @@
1includes:
2 - vendor/phpstan/phpstan-phpunit/extension.neon
3 - vendor/phpstan/phpstan-symfony/extension.neon
4 - vendor/phpstan/phpstan-doctrine/extension.neon
5 - vendor/phpstan/phpstan-phpunit/rules.neon
6
7parameters:
8 symfony:
9 container_xml_path: %rootDir%/../../../var/cache/test/appTestDebugProjectContainer.xml
10
11 # https://github.com/phpstan/phpstan/issues/694#issuecomment-350724288
12 autoload_files:
13 - vendor/bin/.phpunit/phpunit-6.5/vendor/autoload.php