Skip to content

Commit

Permalink
chore: add more tests
Browse files Browse the repository at this point in the history
Signed-off-by: azjezz <[email protected]>
  • Loading branch information
azjezz committed Nov 28, 2021
1 parent 45c0543 commit 901087a
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions test/unit/Roave/InfectionStaticAnalysisTest/CliUtilityTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,18 @@ public function provideExtractionData(): array
['vendor/bin/roave-infection-static-analysis-plugin', '--psalm-config=configuration/psalm.xml', '--psalm-config=foo'],
'psalm-config',
],
[
['vendor/bin/roave-infection-static-analysis-plugin', '--psalm-config=foo'],
'configuration/psalm.xml',
['vendor/bin/roave-infection-static-analysis-plugin', '--psalm-config', 'configuration/psalm.xml', '--psalm-config=foo'],
'psalm-config',
],
[
['vendor/bin/roave-infection-static-analysis-plugin', '--psalm-config', 'foo'],
'configuration/psalm.xml',
['vendor/bin/roave-infection-static-analysis-plugin', '--psalm-config=configuration/psalm.xml', '--psalm-config', 'foo'],
'psalm-config',
],
[
['vendor/bin/roave-infection-static-analysis-plugin'],
null,
Expand Down

0 comments on commit 901087a

Please sign in to comment.