Skip to content

Commit

Permalink
Merge pull request #405 from ergebnis/dependabot/composer/vimeo/psalm…
Browse files Browse the repository at this point in the history
…-4.14.0

composer(deps-dev): bump vimeo/psalm from 4.13.1 to 4.14.0
  • Loading branch information
localheinz authored Dec 6, 2021
2 parents 0927f25 + fbc9914 commit 6b7b5ee
Show file tree
Hide file tree
Showing 4 changed files with 54 additions and 53 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"phpunit/phpunit": "^8.5.21",
"psalm/plugin-phpunit": "~0.16.1",
"psr/container": "^1.0.0",
"vimeo/psalm": "^4.13.1",
"vimeo/psalm": "^4.14.0",
"zendframework/zend-servicemanager": "^2.0.0"
},
"autoload": {
Expand Down
26 changes: 13 additions & 13 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 20 additions & 0 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,41 @@ parameters:
count: 1
path: src/Classes/FinalRule.php

-
message: "#^Property PhpParser\\\\Node\\\\Stmt\\\\ClassLike\\:\\:\\$namespacedName \\(PhpParser\\\\Node\\\\Name\\) in isset\\(\\) is not nullable\\.$#"
count: 1
path: src/Classes/FinalRule.php

-
message: "#^Language construct isset\\(\\) should not be used\\.$#"
count: 1
path: src/Classes/NoExtendsRule.php

-
message: "#^Property PhpParser\\\\Node\\\\Stmt\\\\ClassLike\\:\\:\\$namespacedName \\(PhpParser\\\\Node\\\\Name\\) in isset\\(\\) is not nullable\\.$#"
count: 1
path: src/Classes/NoExtendsRule.php

-
message: "#^Language construct isset\\(\\) should not be used\\.$#"
count: 1
path: src/Classes/PHPUnit/Framework/TestCaseWithSuffixRule.php

-
message: "#^Property PhpParser\\\\Node\\\\Stmt\\\\ClassLike\\:\\:\\$namespacedName \\(PhpParser\\\\Node\\\\Name\\) in isset\\(\\) is not nullable\\.$#"
count: 1
path: src/Classes/PHPUnit/Framework/TestCaseWithSuffixRule.php

-
message: "#^Language construct isset\\(\\) should not be used\\.$#"
count: 1
path: src/Functions/NoNullableReturnTypeDeclarationRule.php

-
message: "#^Property PhpParser\\\\Node\\\\Stmt\\\\Function_\\:\\:\\$namespacedName \\(PhpParser\\\\Node\\\\Name\\) in isset\\(\\) is not nullable\\.$#"
count: 1
path: src/Functions/NoNullableReturnTypeDeclarationRule.php

-
message: "#^Parameter \\#1 \\$argument of class ReflectionClass constructor expects class\\-string\\<T of object\\>\\|T of object, string given\\.$#"
count: 1
Expand Down
59 changes: 20 additions & 39 deletions psalm-baseline.xml
Original file line number Diff line number Diff line change
@@ -1,59 +1,40 @@
<?xml version="1.0" encoding="UTF-8"?>
<files psalm-version="4.12.0@e42bc4a23f67acba28a23bb09c348e2ff38a1d87">
<files psalm-version="v4.14.0@14dcbc908ab2625cd7a74258ee6c740cbecc6140">
<file src="src/Classes/FinalRule.php">
<MixedArgument occurrences="1">
<code>$node-&gt;namespacedName-&gt;toString()</code>
</MixedArgument>
<MixedMethodCall occurrences="2">
<code>toString</code>
<code>toString</code>
</MixedMethodCall>
<DocblockTypeContradiction occurrences="1">
<code>isset($node-&gt;namespacedName)</code>
</DocblockTypeContradiction>
<PropertyTypeCoercion occurrences="1"/>
</file>
<file src="src/Classes/NoExtendsRule.php">
<MixedArgument occurrences="1">
<code>$node-&gt;namespacedName-&gt;toString()</code>
</MixedArgument>
<MixedMethodCall occurrences="1">
<code>toString</code>
</MixedMethodCall>
<DocblockTypeContradiction occurrences="1">
<code>isset($node-&gt;namespacedName)</code>
</DocblockTypeContradiction>
<PropertyTypeCoercion occurrences="1"/>
</file>
<file src="src/Classes/PHPUnit/Framework/TestCaseWithSuffixRule.php">
<MixedMethodCall occurrences="1">
<code>toString</code>
</MixedMethodCall>
<DocblockTypeContradiction occurrences="1">
<code>isset($node-&gt;namespacedName)</code>
</DocblockTypeContradiction>
<PropertyTypeCoercion occurrences="1"/>
<UnnecessaryVarAnnotation occurrences="1">
<code>string</code>
</UnnecessaryVarAnnotation>
</file>
<file src="src/Functions/NoNullableReturnTypeDeclarationRule.php">
<MixedArgument occurrences="1">
<code>$node-&gt;namespacedName-&gt;toString()</code>
</MixedArgument>
<MixedMethodCall occurrences="1">
<code>toString</code>
</MixedMethodCall>
<DocblockTypeContradiction occurrences="1">
<code>isset($node-&gt;namespacedName)</code>
</DocblockTypeContradiction>
</file>
<file src="src/Functions/NoParameterWithNullDefaultValueRule.php">
<MixedArgument occurrences="1">
<ImplicitToStringCast occurrences="1">
<code>$functionName</code>
</MixedArgument>
<MixedAssignment occurrences="1">
<code>$functionName</code>
</MixedAssignment>
<UndefinedPropertyFetch occurrences="1">
<code>$node-&gt;namespacedName</code>
</UndefinedPropertyFetch>
</ImplicitToStringCast>
</file>
<file src="src/Functions/NoParameterWithNullableTypeDeclarationRule.php">
<MixedArgument occurrences="1">
<code>$functionName</code>
</MixedArgument>
<MixedAssignment occurrences="1">
<ImplicitToStringCast occurrences="1">
<code>$functionName</code>
</MixedAssignment>
<UndefinedPropertyFetch occurrences="1">
<code>$node-&gt;namespacedName</code>
</UndefinedPropertyFetch>
</ImplicitToStringCast>
</file>
<file src="src/Methods/NoParameterWithContainerTypeDeclarationRule.php">
<ArgumentTypeCoercion occurrences="2">
Expand Down

0 comments on commit 6b7b5ee

Please sign in to comment.