Skip to content

Commit 2f2de40

Browse files
committed
Fix build issues
1 parent 39216f9 commit 2f2de40

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ jobs:
117117
dependency-versions: "${{ matrix.dependencies }}"
118118

119119
- name: "Static analysis"
120-
run: "composer analyse"
120+
run: "vendor/bin/psalm --php-version=${{ matrix.php-version }}"
121121

122122
unit-tests:
123123
name: "Unit tests"

psalm.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,7 @@
1616
<pluginClass class="Psalm\SymfonyPsalmPlugin\Plugin"/>
1717
<pluginClass class="Psalm\PhpUnitPlugin\Plugin"/>
1818
</plugins>
19+
<issueHandlers>
20+
<UnnecessaryVarAnnotation errorLevel="suppress"/>
21+
</issueHandlers>
1922
</psalm>

0 commit comments

Comments
 (0)