Skip to content

Commit

Permalink
Modernization
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed Jun 11, 2021
1 parent dff3ee1 commit edb31b3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ cs-fix:

.PHONY: phpstan
phpstan:
php vendor/bin/phpstan analyse -l 5 -c phpstan.neon src tests
php vendor/bin/phpstan

.PHONY: build-abnfgen
build-abnfgen:
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"require-dev": {
"php-parallel-lint/php-parallel-lint": "^1.2",
"phpstan/extension-installer": "^1.0",
"phpstan/phpstan": "^0.12.60",
"phpstan/phpstan": "^0.12.87",
"phpstan/phpstan-strict-rules": "^0.12.5",
"phpunit/phpunit": "^9.5",
"symfony/process": "^5.2"
Expand Down
4 changes: 4 additions & 0 deletions phpstan.neon
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
parameters:
paths:
- src
- tests
level: 5
ignoreErrors:
- '#^Dynamic call to static method PHPUnit\\Framework\\Assert#'

0 comments on commit edb31b3

Please sign in to comment.