Skip to content
This repository has been archived by the owner on Jan 4, 2022. It is now read-only.

Commit

Permalink
Fix: Run 'make static-code-analysis-baseline'
Browse files Browse the repository at this point in the history
  • Loading branch information
localheinz committed Jan 3, 2022
1 parent 072f7c0 commit 65c1c78
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 1 deletion.
35 changes: 35 additions & 0 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ parameters:
count: 2
path: src/DataProvider/BoolProvider.php

-
message: "#^Call to an undefined static method Ergebnis\\\\Test\\\\Util\\\\DataProvider\\\\BoolProvider\\:\\:assertIsArray\\(\\)\\.$#"
count: 1
path: src/DataProvider/BoolProvider.php

-
message: "#^Call to an undefined static method Ergebnis\\\\Test\\\\Util\\\\DataProvider\\\\BoolProvider\\:\\:assertTrue\\(\\)\\.$#"
count: 11
Expand Down Expand Up @@ -120,6 +125,11 @@ parameters:
count: 2
path: src/DataProvider/FloatProvider.php

-
message: "#^Call to an undefined static method Ergebnis\\\\Test\\\\Util\\\\DataProvider\\\\FloatProvider\\:\\:assertIsArray\\(\\)\\.$#"
count: 1
path: src/DataProvider/FloatProvider.php

-
message: "#^Call to an undefined static method Ergebnis\\\\Test\\\\Util\\\\DataProvider\\\\FloatProvider\\:\\:assertTrue\\(\\)\\.$#"
count: 11
Expand Down Expand Up @@ -230,6 +240,11 @@ parameters:
count: 2
path: src/DataProvider/IntProvider.php

-
message: "#^Call to an undefined static method Ergebnis\\\\Test\\\\Util\\\\DataProvider\\\\IntProvider\\:\\:assertIsArray\\(\\)\\.$#"
count: 1
path: src/DataProvider/IntProvider.php

-
message: "#^Call to an undefined static method Ergebnis\\\\Test\\\\Util\\\\DataProvider\\\\IntProvider\\:\\:assertTrue\\(\\)\\.$#"
count: 11
Expand Down Expand Up @@ -340,6 +355,11 @@ parameters:
count: 2
path: src/DataProvider/NullProvider.php

-
message: "#^Call to an undefined static method Ergebnis\\\\Test\\\\Util\\\\DataProvider\\\\NullProvider\\:\\:assertIsArray\\(\\)\\.$#"
count: 1
path: src/DataProvider/NullProvider.php

-
message: "#^Call to an undefined static method Ergebnis\\\\Test\\\\Util\\\\DataProvider\\\\NullProvider\\:\\:assertTrue\\(\\)\\.$#"
count: 11
Expand Down Expand Up @@ -450,6 +470,11 @@ parameters:
count: 2
path: src/DataProvider/ObjectProvider.php

-
message: "#^Call to an undefined static method Ergebnis\\\\Test\\\\Util\\\\DataProvider\\\\ObjectProvider\\:\\:assertIsArray\\(\\)\\.$#"
count: 1
path: src/DataProvider/ObjectProvider.php

-
message: "#^Call to an undefined static method Ergebnis\\\\Test\\\\Util\\\\DataProvider\\\\ObjectProvider\\:\\:assertTrue\\(\\)\\.$#"
count: 11
Expand Down Expand Up @@ -560,6 +585,11 @@ parameters:
count: 2
path: src/DataProvider/ResourceProvider.php

-
message: "#^Call to an undefined static method Ergebnis\\\\Test\\\\Util\\\\DataProvider\\\\ResourceProvider\\:\\:assertIsArray\\(\\)\\.$#"
count: 1
path: src/DataProvider/ResourceProvider.php

-
message: "#^Call to an undefined static method Ergebnis\\\\Test\\\\Util\\\\DataProvider\\\\ResourceProvider\\:\\:assertTrue\\(\\)\\.$#"
count: 11
Expand Down Expand Up @@ -670,6 +700,11 @@ parameters:
count: 2
path: src/DataProvider/StringProvider.php

-
message: "#^Call to an undefined static method Ergebnis\\\\Test\\\\Util\\\\DataProvider\\\\StringProvider\\:\\:assertIsArray\\(\\)\\.$#"
count: 1
path: src/DataProvider/StringProvider.php

-
message: "#^Call to an undefined static method Ergebnis\\\\Test\\\\Util\\\\DataProvider\\\\StringProvider\\:\\:assertTrue\\(\\)\\.$#"
count: 11
Expand Down
4 changes: 3 additions & 1 deletion psalm-baseline.xml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,9 @@
<MixedAssignment occurrences="1">
<code>$value</code>
</MixedAssignment>
<UndefinedMethod occurrences="14"/>
<UndefinedMethod occurrences="15">
<code>self::assertIsArray($usedTraitNames)</code>
</UndefinedMethod>
<UnnecessaryVarAnnotation occurrences="7">
<code>class-string</code>
<code>class-string</code>
Expand Down

0 comments on commit 65c1c78

Please sign in to comment.