Skip to content

Commit

Permalink
Add memory limit for phpstan via lint-staged
Browse files Browse the repository at this point in the history
  • Loading branch information
timkelty committed May 2, 2022
1 parent f164ad2 commit 69c58c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .lintstagedrc.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"**/*.php": [
"./vendor/bin/ecs check --ansi --fix",
"./vendor/bin/phpstan analyse"
"./vendor/bin/phpstan analyse --memory-limit=1G"
],
"*": "prettier --ignore-unknown --write"
}

0 comments on commit 69c58c4

Please sign in to comment.