Modernization

This commit is contained in:
Ondrej Mirtes 2021-06-11 15:20:59 +02:00
parent dff3ee149b
commit edb31b30ec
No known key found for this signature in database
GPG Key ID: 8E730BA25823D8B5
3 changed files with 6 additions and 2 deletions

View File

@ -23,7 +23,7 @@ cs-fix:
.PHONY: phpstan .PHONY: phpstan
phpstan: phpstan:
php vendor/bin/phpstan analyse -l 5 -c phpstan.neon src tests php vendor/bin/phpstan
.PHONY: build-abnfgen .PHONY: build-abnfgen
build-abnfgen: build-abnfgen:

View File

@ -8,7 +8,7 @@
"require-dev": { "require-dev": {
"php-parallel-lint/php-parallel-lint": "^1.2", "php-parallel-lint/php-parallel-lint": "^1.2",
"phpstan/extension-installer": "^1.0", "phpstan/extension-installer": "^1.0",
"phpstan/phpstan": "^0.12.60", "phpstan/phpstan": "^0.12.87",
"phpstan/phpstan-strict-rules": "^0.12.5", "phpstan/phpstan-strict-rules": "^0.12.5",
"phpunit/phpunit": "^9.5", "phpunit/phpunit": "^9.5",
"symfony/process": "^5.2" "symfony/process": "^5.2"

View File

@ -1,3 +1,7 @@
parameters: parameters:
paths:
- src
- tests
level: 5
ignoreErrors: ignoreErrors:
- '#^Dynamic call to static method PHPUnit\\Framework\\Assert#' - '#^Dynamic call to static method PHPUnit\\Framework\\Assert#'