Skip to content

Commit

Permalink
Update Psalm to 5.11
Browse files Browse the repository at this point in the history
Signed-off-by: Aleksei Khudiakov <[email protected]>
  • Loading branch information
Xerkus committed May 8, 2023
1 parent bc8cb85 commit 005f0a0
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 18 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 @@
"laminas/laminas-coding-standard": "~2.5.0",
"phpunit/phpunit": "^10.1.1",
"psalm/plugin-phpunit": "^0.18.4",
"vimeo/psalm": "^5.9.0"
"vimeo/psalm": "^5.11.0"
},
"autoload": {
"psr-4": {
Expand Down
31 changes: 14 additions & 17 deletions psalm-baseline.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<files psalm-version="5.9.0@8b9ad1eb9e8b7d3101f949291da2b9f7767cd163">
<files psalm-version="5.11.0@c9b192ab8400fdaf04b2b13d110575adc879aa90">
<file src="src/Laminas/Request.php">
<MixedArgument>
<code>$value</code>
Expand Down Expand Up @@ -167,14 +167,6 @@
<code>$upload</code>
<code>$upload</code>
<code>$upload</code>
<code>$upload</code>
<code>$upload</code>
<code>$upload</code>
<code>$upload</code>
<code>$upload</code>
<code>$upload</code>
<code>$upload</code>
<code>$upload</code>
<code>$upload[0]</code>
<code>$upload[0]</code>
<code>$upload[0]</code>
Expand All @@ -187,11 +179,6 @@
<code>$upload[1]</code>
</MixedArgument>
<MixedArrayAccess>
<code><![CDATA[$upload['error']]]></code>
<code><![CDATA[$upload['name']]]></code>
<code><![CDATA[$upload['size']]]></code>
<code><![CDATA[$upload['tmp_name']]]></code>
<code><![CDATA[$upload['type']]]></code>
<code><![CDATA[$upload[0]['error']]]></code>
<code><![CDATA[$upload[0]['name']]]></code>
<code><![CDATA[$upload[0]['size']]]></code>
Expand All @@ -204,6 +191,9 @@
<code><![CDATA[$upload[1]['type']]]></code>
</MixedArrayAccess>
<MixedAssignment>
<code>$test</code>
<code>$test</code>
<code>$test</code>
<code>$test</code>
<code>$test</code>
<code>$test</code>
Expand All @@ -218,9 +208,6 @@
<code>get</code>
<code>get</code>
<code>get</code>
<code>get</code>
<code>get</code>
<code>get</code>
<code>getArrayCopy</code>
<code>getArrayCopy</code>
<code>getFieldValue</code>
Expand Down Expand Up @@ -251,6 +238,9 @@
<code>get</code>
<code>get</code>
<code>get</code>
<code>get</code>
<code>get</code>
<code>get</code>
<code>getClientFilename</code>
<code>getClientMediaType</code>
<code>getError</code>
Expand Down Expand Up @@ -305,6 +295,13 @@
</RedundantCastGivenDocblockType>
<UndefinedInterfaceMethod>
<code>$psr7</code>
<code>$test</code>
<code>$test</code>
<code>$test</code>
<code>$upload</code>
<code>get</code>
<code>get</code>
<code>get</code>
<code>get</code>
<code>get</code>
<code>get</code>
Expand Down

0 comments on commit 005f0a0

Please sign in to comment.