Skip to content

Commit

Permalink
Merge pull request #128 from weierophinney/feature/psr-7-integration-…
Browse files Browse the repository at this point in the history
…tests

Update PSR-7 integration tests
  • Loading branch information
Ocramius authored Dec 14, 2022
2 parents cf1dc9e + 08649c1 commit a738cec
Show file tree
Hide file tree
Showing 6 changed files with 121 additions and 79 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"ext-libxml": "*",
"http-interop/http-factory-tests": "^0.9.0",
"laminas/laminas-coding-standard": "^2.4.0",
"php-http/psr7-integration-tests": "^1.1.1",
"php-http/psr7-integration-tests": "^1.2",
"phpunit/phpunit": "^9.5.26",
"psalm/plugin-phpunit": "^0.18.0",
"vimeo/psalm": "^5.0.0"
Expand Down
140 changes: 101 additions & 39 deletions composer.lock

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

15 changes: 2 additions & 13 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.0.0@4e177bf0c9f03c17d2fbfd83b7cc9c47605274d8">
<files psalm-version="5.2.0@fb685a16df3050d4c18d8a4100fe83abe6458cba">
<file src="src/CallbackStream.php">
<ImplementedReturnTypeMismatch occurrences="1">
<code>null|callable</code>
Expand Down Expand Up @@ -512,11 +512,8 @@
<code>$record</code>
<code>$record</code>
</MixedArgumentTypeCoercion>
<MixedAssignment occurrences="4">
<code>$description</code>
<MixedAssignment occurrences="1">
<code>$responseCode</code>
<code>$updated</code>
<code>$value</code>
</MixedAssignment>
<MoreSpecificReturnType occurrences="1">
<code>list&lt;array{numeric-string, non-empty-string}&gt;</code>
Expand All @@ -527,11 +524,6 @@
<StringIncrement occurrences="1">
<code>$value</code>
</StringIncrement>
<UndefinedPropertyFetch occurrences="3">
<code>$descriptionQueryResult-&gt;item(0)?-&gt;nodeValue</code>
<code>$updatedQueryResult-&gt;item(0)?-&gt;nodeValue</code>
<code>$valueQueryResult-&gt;item(0)?-&gt;nodeValue</code>
</UndefinedPropertyFetch>
</file>
<file src="test/ServerRequestFactoryTest.php">
<InvalidArgument occurrences="1">
Expand All @@ -550,9 +542,6 @@
<InvalidArgument occurrences="1">
<code>$resource</code>
</InvalidArgument>
<UndefinedDocblockClass occurrences="1">
<code>CurlHandle|GdImage|false|resource</code>
</UndefinedDocblockClass>
</file>
<file src="test/UploadedFileTest.php">
<MixedArgument occurrences="2">
Expand Down
Loading

0 comments on commit a738cec

Please sign in to comment.