Update phpstan
1 unresolved thread
1 unresolved thread
Merge request reports
Activity
- Resolved by Jan Kuchař
- Resolved by Jan Kuchař
added 7 commits
-
69a56dcd...7e7ede59 - 4 commits from branch
master
- bbbf4496 - update phpstan
- 704bcae1 - fix phpstan: AuthorizationExtension && remove phpstan-baseline
- 93b45e83 - fix phpstan: checkMissingIterableValueType now is TRUE
Toggle commit list-
69a56dcd...7e7ede59 - 4 commits from branch
- Resolved by Jan Kuchař
20 20 } 21 21 22 22 23 /** 24 * @param array{string, string} $action 25 */ 23 26 public function isAllowed(Identity $identity, AuthorizationScope $scope, array $action): bool 24 27 { 28 /** @phpstan-ignore-next-line */ Poněvadž PHPStan si vezme docblock a assert by byl vždy true, ale kvůli obecné typovosti preferuji zanechat assert.
DefaultAuthorizator.php:28 ↳ Result of && is always true. DefaultAuthorizator.php:28 ↳ Result of && is always true. DefaultAuthorizator.php:28 ↳ Result of && is always true.
- Resolved by Jan Kuchař
Super! Dvě úplné drobnosti a ready to merge!
added 1 commit
- 346a4feb - fix phpstan: checkMissingIterableValueType now is TRUE
mentioned in commit 906d61df
Please register or sign in to reply