Skip to content

Commit

Permalink
PHPStan: use higher PHP version because some dependencies need it
Browse files Browse the repository at this point in the history
  • Loading branch information
mabar committed Oct 19, 2023
1 parent 83c61ba commit 7e793df
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions src/Mapping/DefaultPresenterFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
use function array_pop;
use function array_search;
use function array_unshift;
use function assert;
use function class_exists;
use function count;
use function explode;
Expand Down Expand Up @@ -139,7 +138,6 @@ public function getPresenterClass(string &$name): string
{
if (str_starts_with($name, ':')) {
$name = substr($name, 1);
assert($name !== false);
}

if (isset($this->presenterClassCache[$name])) {
Expand Down
2 changes: 1 addition & 1 deletion tools/phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ includes:
- phpstan.baseline.neon

parameters:
phpVersion: 70400
phpVersion: 80000
level: 8
tmpDir: ../var/tools/PHPStan
resultCachePath: %currentWorkingDirectory%/var/tools/PHPStan/resultCache.php
Expand Down

0 comments on commit 7e793df

Please sign in to comment.