Skip to content

Commit f4529a0

Browse files
committed
Update to PHPStan 0.10 and PHPUnit 7
1 parent ee83edf commit f4529a0

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@
3232
},
3333
"require-dev": {
3434
"friendsofphp/php-cs-fixer": "^2.8",
35-
"phpstan/phpstan": "^0.9.1",
36-
"phpstan/phpstan-phpunit": "^0.9.1",
37-
"phpunit/phpunit": "^6.5",
35+
"phpstan/phpstan": "^0.10",
36+
"phpstan/phpstan-phpunit": "^0.10",
37+
"phpunit/phpunit": "^7",
3838
"scrutinizer/ocular": "^1.4",
3939
"symfony/expression-language": "^3.0||^4.0"
4040
},

phpstan.neon

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ parameters:
22
ignoreErrors:
33
- '/Symfony\\Component\\Console\\Event\\ConsoleExceptionEvent/'
44
- '/Call to an undefined method Symfony\\Component\\Console\\Event\\ConsoleEvent::getExitCode\(\)\./'
5+
- '/Cannot cast object to string\./'
56
excludes_analyse:
67
- '%currentWorkingDirectory%/src/DependencyInjection/Configuration.php'
78
includes:

0 commit comments

Comments
 (0)