Skip to content

Commit

Permalink
Merge pull request #129 from laminas/renovate/lock-file-maintenance
Browse files Browse the repository at this point in the history
Update vimeo/psalm to 5.4, minor type improvements, bump dev dependencies
  • Loading branch information
Ocramius committed Dec 20, 2022
2 parents b181006 + 8acfe78 commit 6028af6
Show file tree
Hide file tree
Showing 4 changed files with 84 additions and 76 deletions.
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@
"http-interop/http-factory-tests": "^0.9.0",
"laminas/laminas-coding-standard": "^2.4.0",
"php-http/psr7-integration-tests": "^1.2",
"phpunit/phpunit": "^9.5.26",
"psalm/plugin-phpunit": "^0.18.0",
"vimeo/psalm": "^5.0.0"
"phpunit/phpunit": "^9.5.27",
"psalm/plugin-phpunit": "^0.18.4",
"vimeo/psalm": "^5.4"
},
"provide": {
"psr/http-factory-implementation": "1.0",
Expand Down
145 changes: 78 additions & 67 deletions composer.lock

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

5 changes: 2 additions & 3 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.2.0@fb685a16df3050d4c18d8a4100fe83abe6458cba">
<files psalm-version="5.3.0@b6faa3e96b8eb50ec71384c53799b8a107236bb6">
<file src="src/CallbackStream.php">
<ImplementedReturnTypeMismatch occurrences="1">
<code>null|callable</code>
Expand Down Expand Up @@ -40,9 +40,8 @@
<MixedAssignment occurrences="1">
<code>$value</code>
</MixedAssignment>
<MixedPropertyTypeCoercion occurrences="2">
<MixedPropertyTypeCoercion occurrences="1">
<code>$headers</code>
<code>$new-&gt;headers</code>
</MixedPropertyTypeCoercion>
<ParamNameMismatch occurrences="2">
<code>$header</code>
Expand Down
4 changes: 1 addition & 3 deletions src/MessageTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -374,9 +374,7 @@ private function validateProtocolVersion($version): void
}
}

/**
* @return string[]
*/
/** @return list<string> */
private function filterHeaderValue(mixed $values): array
{
if (! is_array($values)) {
Expand Down

0 comments on commit 6028af6

Please sign in to comment.