Skip to content

Commit

Permalink
Use phpstan 0.11
Browse files Browse the repository at this point in the history
  • Loading branch information
enumag committed Jan 17, 2019
1 parent 0e35c75 commit 8422de2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@
"contributte/codeception": "^1.0.1",
"eloquent/phony": "^3.0.0",
"eloquent/phony-phpunit": "^4.0.0",
"eloquent/phpstan-phony": "^0.3.0",
"eloquent/phpstan-phony": "^0.4.0",
"friendsofphp/php-cs-fixer": "^2.8.0",
"phpstan/phpstan": "^0.10.1",
"phpstan/phpstan-nette": "^0.10.0",
"phpstan/phpstan-strict-rules": "^0.10.0"
"phpstan/phpstan": "^0.11.0",
"phpstan/phpstan-nette": "^0.11.0",
"phpstan/phpstan-strict-rules": "^0.11.0"
},
"autoload": {
"psr-4": {
Expand Down
4 changes: 3 additions & 1 deletion phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,6 @@ parameters:
- %rootDir%/../../../tests/_*

ignoreErrors:
- '#^Access to an undefined property Nette\\Security\\IIdentity::\$[a-zA-Z]++#'
- '~^Access to an undefined property Nette\\Security\\IIdentity::\$[a-zA-Z]++~'
- '~^Parameter #[0-9]++ \$[a-zA-Z]++ \([a-z()|]+\) of method Arachne\\Security\\Authorization\\Permission::[a-zA-Z]++\(\) should be contravariant with parameter \$[a-zA-Z]++ \(mixed\) of method Nette\\Security\\Permission::[a-zA-Z]++\(\)~'
- '~^Parameter #1 \$need \(bool\) of method Arachne\\Security\\Authentication\\UserStorage::getSessionSection\(\) should be contravariant with parameter \$need \(mixed\) of method Nette\\Http\\UserStorage::getSessionSection\(\)~'

0 comments on commit 8422de2

Please sign in to comment.