File tree 3 files changed +28
-1
lines changed
3 files changed +28
-1
lines changed Original file line number Diff line number Diff line change 51
51
run : composer update --prefer-dist --no-interaction --no-progress --optimize-autoloader --ansi
52
52
53
53
- name : Static analysis
54
- run : vendor/bin/psalm --shepherd --stats --output-format=checkstyle --php-version=${{ matrix.php }} | cs2pr --graceful-warnings --colorize
54
+ if : matrix.php == '8.0'
55
+ run : vendor/bin/psalm --shepherd --stats --output-format=checkstyle --php-version=${{ matrix.php }} --config=psalm-8.0.xml | cs2pr --graceful-warnings --colorize
56
+
57
+ - name : Static analysis
58
+ if : matrix.php != '8.0'
59
+ run : vendor/bin/psalm --shepherd --stats --output-format=checkstyle --php-version=${{ matrix.php }} --config=psalm.xml | cs2pr --graceful-warnings --colorize
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" ?>
2
+ <psalm
3
+ errorLevel =" 1"
4
+ findUnusedBaselineEntry =" true"
5
+ findUnusedCode =" false"
6
+ autoloader =" vendor/codeception/codeception/autoload.php"
7
+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
8
+ xmlns =" https://getpsalm.org/schema/config"
9
+ xsi : schemaLocation =" https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd"
10
+ >
11
+ <projectFiles >
12
+ <directory name =" src" />
13
+ <ignoreFiles >
14
+ <directory name =" vendor" />
15
+ </ignoreFiles >
16
+ </projectFiles >
17
+ </psalm >
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" ?>
2
2
<psalm
3
3
errorLevel =" 1"
4
+ findUnusedBaselineEntry =" true"
5
+ findUnusedCode =" false"
4
6
autoloader =" vendor/codeception/codeception/autoload.php"
5
7
xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
6
8
xmlns =" https://getpsalm.org/schema/config"
12
14
<directory name =" vendor" />
13
15
</ignoreFiles >
14
16
</projectFiles >
17
+ <issueHandlers >
18
+ <RiskyTruthyFalsyComparison errorLevel =" suppress" />
19
+ </issueHandlers >
15
20
</psalm >
You can’t perform that action at this time.
0 commit comments