Skip to content

Commit 4aedf19

Browse files
committed
added phpstan config with baseline
1 parent f7a6e29 commit 4aedf19

File tree

3 files changed

+41175
-0
lines changed

3 files changed

+41175
-0
lines changed

composer.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@
2626
"ext-pdo": "*",
2727
"ext-zlib": "*"
2828
},
29+
"require-dev": {
30+
"phpstan/phpstan": "^1.10"
31+
},
2932
"support": {
3033
"issues": "https://github.com/FriendsOfSymfony1/doctrine1/issues",
3134
"source": "https://github.com/FriendsOfSymfony1/doctrine1"
@@ -42,5 +45,11 @@
4245
},
4346
"config": {
4447
"sort-packages": true
48+
},
49+
"scripts": {
50+
"analyse": [
51+
"@phpstan"
52+
],
53+
"phpstan": "phpstan analyse --memory-limit 1G"
4554
}
4655
}

0 commit comments

Comments
 (0)