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

Commit

Permalink
Fix: Regenerate baseline
Browse files Browse the repository at this point in the history
  • Loading branch information
localheinz committed Mar 11, 2020
1 parent 612d6db commit c29186b
Show file tree
Hide file tree
Showing 2 changed files with 128 additions and 7 deletions.
97 changes: 91 additions & 6 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ parameters:

-
message: "#^Parameter \\#1 \\$argument of class ReflectionClass constructor expects class\\-string\\<T of object\\>\\|T of object, string given\\.$#"
count: 7
count: 2
path: test/AutoReview/SrcCodeTest.php

-
Expand Down Expand Up @@ -97,7 +97,7 @@ parameters:

-
message: "#^Parameter \\#1 \\$argument of class ReflectionClass constructor expects class\\-string\\<T of object\\>\\|T of object, string given\\.$#"
count: 7
count: 2
path: test/AutoReview/TestCodeTest.php

-
Expand Down Expand Up @@ -182,7 +182,7 @@ parameters:

-
message: "#^Parameter \\#1 \\$argument of class ReflectionClass constructor expects class\\-string\\<T of object\\>\\|T of object, string given\\.$#"
count: 7
count: 2
path: test/Unit/Exception/InvalidExcludeClassNameTest.php

-
Expand Down Expand Up @@ -267,7 +267,7 @@ parameters:

-
message: "#^Parameter \\#1 \\$argument of class ReflectionClass constructor expects class\\-string\\<T of object\\>\\|T of object, string given\\.$#"
count: 7
count: 2
path: test/Unit/Exception/NonExistentDirectoryTest.php

-
Expand Down Expand Up @@ -352,7 +352,7 @@ parameters:

-
message: "#^Parameter \\#1 \\$argument of class ReflectionClass constructor expects class\\-string\\<T of object\\>\\|T of object, string given\\.$#"
count: 7
count: 2
path: test/Unit/Exception/NonExistentExcludeClassTest.php

-
Expand Down Expand Up @@ -437,7 +437,7 @@ parameters:

-
message: "#^Parameter \\#1 \\$argument of class ReflectionClass constructor expects class\\-string\\<T of object\\>\\|T of object, string given\\.$#"
count: 7
count: 2
path: test/Unit/HelperTest.php

-
Expand Down Expand Up @@ -510,3 +510,88 @@ parameters:
count: 1
path: test/Unit/HelperTest.php

-
message: "#^Parameter \\#2 \\$excludeClassNames of static method Ergebnis\\\\Test\\\\Util\\\\Test\\\\Unit\\\\HelperTest\\:\\:assertClassesAreAbstractOrFinal\\(\\) expects array\\<class\\-string\\>, array\\<int, string\\> given\\.$#"
count: 1
path: test/Unit/HelperTest.php

-
message: "#^Generator expects key type string, int given\\.$#"
count: 1
path: test/Unit/HelperTest.php

-
message: "#^Parameter \\#4 \\$excludeClassyNames of static method Ergebnis\\\\Test\\\\Util\\\\Test\\\\Unit\\\\HelperTest\\:\\:assertClassesHaveTests\\(\\) expects array\\<class\\-string\\>, array\\<int, string\\> given\\.$#"
count: 1
path: test/Unit/HelperTest.php

-
message: "#^Parameter \\#3 \\$excludeClassyNames of static method Ergebnis\\\\Test\\\\Util\\\\Test\\\\Unit\\\\HelperTest\\:\\:assertClassyConstructsSatisfySpecification\\(\\) expects array\\<class\\-string\\>, array\\<int, string\\> given\\.$#"
count: 1
path: test/Unit/HelperTest.php

-
message: "#^Parameter \\#1 \\$parentClassName of static method Ergebnis\\\\Test\\\\Util\\\\Test\\\\Unit\\\\HelperTest\\:\\:assertClassExtends\\(\\) expects class\\-string, string given\\.$#"
count: 1
path: test/Unit/HelperTest.php

-
message: "#^Parameter \\#2 \\$className of static method Ergebnis\\\\Test\\\\Util\\\\Test\\\\Unit\\\\HelperTest\\:\\:assertClassExtends\\(\\) expects class\\-string, string given\\.$#"
count: 1
path: test/Unit/HelperTest.php

-
message: "#^Parameter \\#1 \\$interfaceName of static method Ergebnis\\\\Test\\\\Util\\\\Test\\\\Unit\\\\HelperTest\\:\\:assertClassImplementsInterface\\(\\) expects class\\-string, string given\\.$#"
count: 1
path: test/Unit/HelperTest.php

-
message: "#^Parameter \\#2 \\$className of static method Ergebnis\\\\Test\\\\Util\\\\Test\\\\Unit\\\\HelperTest\\:\\:assertClassImplementsInterface\\(\\) expects class\\-string, string given\\.$#"
count: 1
path: test/Unit/HelperTest.php

-
message: "#^Parameter \\#1 \\$className of static method Ergebnis\\\\Test\\\\Util\\\\Test\\\\Unit\\\\HelperTest\\:\\:assertClassIsAbstract\\(\\) expects class\\-string, string given\\.$#"
count: 1
path: test/Unit/HelperTest.php

-
message: "#^Parameter \\#1 \\$className of static method Ergebnis\\\\Test\\\\Util\\\\Test\\\\Unit\\\\HelperTest\\:\\:assertClassIsFinal\\(\\) expects class\\-string, string given\\.$#"
count: 1
path: test/Unit/HelperTest.php

-
message: "#^Parameter \\#2 \\$className of static method Ergebnis\\\\Test\\\\Util\\\\Test\\\\Unit\\\\HelperTest\\:\\:assertClassSatisfiesSpecification\\(\\) expects class\\-string, string given\\.$#"
count: 1
path: test/Unit/HelperTest.php

-
message: "#^Parameter \\#1 \\$traitName of static method Ergebnis\\\\Test\\\\Util\\\\Test\\\\Unit\\\\HelperTest\\:\\:assertClassUsesTrait\\(\\) expects class\\-string, string given\\.$#"
count: 1
path: test/Unit/HelperTest.php

-
message: "#^Parameter \\#2 \\$className of static method Ergebnis\\\\Test\\\\Util\\\\Test\\\\Unit\\\\HelperTest\\:\\:assertClassUsesTrait\\(\\) expects class\\-string, string given\\.$#"
count: 1
path: test/Unit/HelperTest.php

-
message: "#^Parameter \\#1 \\$parentInterfaceName of static method Ergebnis\\\\Test\\\\Util\\\\Test\\\\Unit\\\\HelperTest\\:\\:assertInterfaceExtends\\(\\) expects class\\-string, string given\\.$#"
count: 1
path: test/Unit/HelperTest.php

-
message: "#^Parameter \\#2 \\$interfaceName of static method Ergebnis\\\\Test\\\\Util\\\\Test\\\\Unit\\\\HelperTest\\:\\:assertInterfaceExtends\\(\\) expects class\\-string, string given\\.$#"
count: 1
path: test/Unit/HelperTest.php

-
message: "#^Parameter \\#2 \\$interfaceName of static method Ergebnis\\\\Test\\\\Util\\\\Test\\\\Unit\\\\HelperTest\\:\\:assertInterfaceSatisfiesSpecification\\(\\) expects class\\-string, string given\\.$#"
count: 1
path: test/Unit/HelperTest.php

-
message: "#^Parameter \\#2 \\$traitName of static method Ergebnis\\\\Test\\\\Util\\\\Test\\\\Unit\\\\HelperTest\\:\\:assertTraitSatisfiesSpecification\\(\\) expects class\\-string, string given\\.$#"
count: 1
path: test/Unit/HelperTest.php

38 changes: 37 additions & 1 deletion psalm-baseline.xml
Original file line number Diff line number Diff line change
@@ -1,9 +1,45 @@
<?xml version="1.0" encoding="UTF-8"?>
<files psalm-version="3.8.3@389af1bfc739bfdff3f9e3dc7bd6499aee51a831">
<files psalm-version="3.9.5@0cfe565d0afbcd31eadcc281b9017b5692911661">
<file src="src/Helper.php">
<MissingClosureParamType occurrences="2">
<code>$excludeClassyName</code>
<code>$excludeClassyName</code>
</MissingClosureParamType>
</file>
<file src="test/Unit/Exception/InvalidExcludeClassNameTest.php">
<MixedInferredReturnType occurrences="1">
<code>\Generator&lt;array&lt;null|array|bool|float|int|resource|\stdClass&gt;&gt;</code>
</MixedInferredReturnType>
</file>
<file src="test/Unit/HelperTest.php">
<ArgumentTypeCoercion occurrences="16">
<code>$excludeClassyNames</code>
<code>$excludeClassyNames</code>
<code>$excludeClassyNames</code>
<code>$parentClassName</code>
<code>$className</code>
<code>$interfaceName</code>
<code>$className</code>
<code>$className</code>
<code>$className</code>
<code>$className</code>
<code>$traitName</code>
<code>$className</code>
<code>$parentInterfaceName</code>
<code>$interfaceName</code>
<code>$interfaceName</code>
<code>$traitName</code>
</ArgumentTypeCoercion>
<InvalidReturnType occurrences="1">
<code>\Generator&lt;string, array&lt;string&gt;&gt;</code>
</InvalidReturnType>
<MixedArgumentTypeCoercion occurrences="3">
<code>$excludeClassNames</code>
<code>$excludeClassyNames</code>
<code>$excludeClassyNames</code>
</MixedArgumentTypeCoercion>
<MixedInferredReturnType occurrences="1">
<code>\Generator&lt;array&lt;string&gt;&gt;</code>
</MixedInferredReturnType>
</file>
</files>

0 comments on commit c29186b

Please sign in to comment.