File tree Expand file tree Collapse file tree 3 files changed +32
-4
lines changed Expand file tree Collapse file tree 3 files changed +32
-4
lines changed Original file line number Diff line number Diff line change 43
43
"phpstan/phpstan" : " 2.1.17" ,
44
44
"phpstan/phpstan-phpunit" : " 2.0.6" ,
45
45
"phpunit/phpunit" : " ^10 || ^11 || ^12" ,
46
+ "psalm/plugin-phpunit" : " 0.19.3" ,
46
47
"rector/rector" : " 2.0.17" ,
47
48
"shipmonk/composer-dependency-analyser" : " ^1.8" ,
48
49
"symfony/phpunit-bridge" : " ^6.4 || ^7.0" ,
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
2
<files psalm-version =" 6.12.0@cf420941d061a57050b6c468ef2c778faf40aee2" >
3
3
<file src =" src/AbstractTerminableCommand.php" >
4
+ <PossiblyUnusedReturnValue >
5
+ <code ><![CDATA[ false]]> </code >
6
+ </PossiblyUnusedReturnValue >
7
+ </file >
8
+ <file src =" tests/E2E/TerminateCommandTest.php" >
9
+ <PossiblyUnusedMethod >
10
+ <code ><![CDATA[ commandLineProvider]]> </code >
11
+ <code ><![CDATA[ provideSignals]]> </code >
12
+ </PossiblyUnusedMethod >
13
+ <TooManyTemplateParams >
14
+ <code ><![CDATA[ Process<string>]]> </code >
15
+ </TooManyTemplateParams >
16
+ </file >
17
+ <file src =" tests/Stub/StubTerminableCommand.php" >
18
+ <MixedAssignment >
19
+ <code ><![CDATA[ $paramValue]]> </code >
20
+ </MixedAssignment >
4
21
<UnusedClass >
5
- <code ><![CDATA[ AbstractTerminableCommand ]]> </code >
22
+ <code ><![CDATA[ StubTerminableCommand ]]> </code >
6
23
</UnusedClass >
7
24
</file >
25
+ <file src =" tests/Unit/AbstractTerminableCommandTest.php" >
26
+ <PossiblyUnusedMethod >
27
+ <code ><![CDATA[ signalProvider]]> </code >
28
+ </PossiblyUnusedMethod >
29
+ </file >
8
30
</files >
Original file line number Diff line number Diff line change 8
8
errorBaseline =" psalm-baseline.xml"
9
9
>
10
10
<projectFiles >
11
- <directory name =" src" />
11
+ <directory name =" src" />
12
+ <directory name =" tests" />
12
13
<ignoreFiles >
13
- <directory name =" vendor" />
14
+ <directory name =" vendor" />
14
15
</ignoreFiles >
15
16
</projectFiles >
16
17
<issueHandlers >
17
- <MissingOverrideAttribute errorLevel =" suppress" />
18
+ <ClassMustBeFinal errorLevel =" suppress" />
19
+ <MissingOverrideAttribute errorLevel =" suppress" />
18
20
</issueHandlers >
21
+ <plugins >
22
+ <pluginClass class =" Psalm\PhpUnitPlugin\Plugin" />
23
+ </plugins >
19
24
</psalm >
You can’t perform that action at this time.
0 commit comments