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

Build(deps-dev): Bump vimeo/psalm from 3.8.3 to 3.9.5 #202

Merged
merged 4 commits into from
Mar 11, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fix: Regenerate baseline
localheinz committed Mar 11, 2020
commit c29186b9c6073b6395fe0429472b3cd01db63d49
97 changes: 91 additions & 6 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
@@ -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

-
@@ -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

-
@@ -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

-
@@ -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

-
@@ -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

-
@@ -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

-
@@ -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>