Skip to content

Commit 315ba79

Browse files
committed
Improve PHPStan configs
1 parent 152e313 commit 315ba79

2 files changed

Lines changed: 1 addition & 4 deletions

File tree

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
"fixcs": "tools/php-cs-fixer/vendor/bin/php-cs-fixer fix --diff --verbose",
5454
"infection": "tools/infection/vendor/bin/infection --show-mutations",
5555
"normalize": "@composer bin composer-normalize normalize --diff ../../composer.json",
56-
"phpstan": "tools/phpstan/vendor/bin/phpstan analyze",
56+
"phpstan": "tools/phpstan/vendor/bin/phpstan analyze --memory-limit=-1",
5757
"pre-command-run": "mkdir -p var",
5858
"psalm": "tools/psalm/vendor/bin/psalm --show-info --no-diff --no-cache",
5959
"rector": "tools/rector/vendor/bin/rector process",

phpstan.dist.neon

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@ parameters:
44
- src
55
- tests
66
checkBenevolentUnionTypes: true
7-
#ignoreErrors:
8-
# - { identifier: missingType.generics }
9-
# - { identifier: return.unusedType }
107
editorUrl: ''
118
editorUrlTitle: '%%file%%:%%line%%'
129
tmpDir: ./var/phpstan

0 commit comments

Comments
 (0)