Skip to content

Commit

Permalink
Fix and add lowest run
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentLanglet committed Aug 10, 2024
1 parent e129b98 commit f4ea2f0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,12 @@ jobs:
- "8.1"
- "8.2"
- "8.3"
dependencies: [highest]
count: ${{ fromJson(needs.chunk-matrix.outputs.count) }}
chunk: ${{ fromJson(needs.chunk-matrix.outputs.chunks) }}
include:
- php-version: 8.0
dependencies: lowest

env:
CHUNK_COUNT: "${{ matrix.count }}"
Expand Down
2 changes: 1 addition & 1 deletion src/Psalm/Internal/BCHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public static function getPHPParserClassName(string $className): string

public static function usePHPParserV4(): bool
{
return class_exists('\PhpParser\Node\Stmt\Throw');
return class_exists('\PhpParser\Node\Stmt\Throw_');
}

public static function isThrow(Node $stmt): bool
Expand Down

0 comments on commit f4ea2f0

Please sign in to comment.