Skip to content

Commit

Permalink
Re-generated psalm baseline from a clean PHP 7.4 environment
Browse files Browse the repository at this point in the history
Used:

```sh
docker run --rm -ti -v $(pwd):/app -w /app php:7.4 vendor/bin/psalm --no-cache --set-baseline=psalm-baseline.xml
```
  • Loading branch information
Ocramius committed Sep 20, 2022
1 parent 47d98a8 commit 32e7c51
Showing 1 changed file with 37 additions and 16 deletions.
53 changes: 37 additions & 16 deletions psalm-baseline.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,19 +23,31 @@
<InvalidStringClass occurrences="1">
<code>new $extension()</code>
</InvalidStringClass>
<MixedArgument occurrences="3">
<MixedArgument occurrences="7">
<code>$config['extension']</code>
<code>$container-&gt;get(Extension\EscaperExtension::class)</code>
<code>$container-&gt;get(Extension\UrlExtension::class)</code>
<code>$extension</code>
<code>$namespace</code>
<code>$path</code>
<code>$path</code>
</MixedArgument>
<MixedArrayAccess occurrences="1">
<MixedArrayAccess occurrences="2">
<code>$config['plates']</code>
<code>$config['templates']</code>
</MixedArrayAccess>
<MixedAssignment occurrences="4">
<MixedAssignment occurrences="11">
<code>$allPaths</code>
<code>$config</code>
<code>$config</code>
<code>$config</code>
<code>$config</code>
<code>$extension</code>
<code>$extension</code>
<code>$namespace</code>
<code>$namespace</code>
<code>$path</code>
<code>$paths</code>
</MixedAssignment>
</file>
<file src="src/PlatesRenderer.php">
Expand Down Expand Up @@ -188,7 +200,8 @@
</PossiblyUndefinedMethod>
</file>
<file src="test/PlatesEngineFactoryTest.php">
<MixedArgument occurrences="10">
<InvalidArgument occurrences="1"/>
<MixedArgument occurrences="12">
<code>$helper</code>
<code>$this-&gt;container-&gt;reveal()</code>
<code>$this-&gt;container-&gt;reveal()</code>
Expand All @@ -197,6 +210,8 @@
<code>$this-&gt;container-&gt;reveal()</code>
<code>$this-&gt;container-&gt;reveal()</code>
<code>$this-&gt;container-&gt;reveal()</code>
<code>$this-&gt;container-&gt;reveal()</code>
<code>$this-&gt;container-&gt;reveal()</code>
<code>TestExtension::class</code>
<code>\ZendTest\Expressive\Plates\stdClass::class</code>
</MixedArgument>
Expand All @@ -207,7 +222,11 @@
<code>array</code>
<code>array</code>
</MixedInferredReturnType>
<MixedMethodCall occurrences="23">
<MixedMethodCall occurrences="27">
<code>willReturn</code>
<code>willReturn</code>
<code>willReturn</code>
<code>willReturn</code>
<code>willReturn</code>
<code>willReturn</code>
<code>willReturn</code>
Expand All @@ -232,14 +251,17 @@
<code>willReturn</code>
<code>willReturn</code>
</MixedMethodCall>
<PossiblyUndefinedMethod occurrences="30">
<PossiblyUndefinedMethod occurrences="36">
<code>get</code>
<code>get</code>
<code>get</code>
<code>get</code>
<code>get</code>
<code>get</code>
<code>get</code>
<code>get</code>
<code>get</code>
<code>has</code>
<code>has</code>
<code>has</code>
<code>has</code>
Expand All @@ -256,6 +278,9 @@
<code>has</code>
<code>has</code>
<code>has</code>
<code>has</code>
<code>reveal</code>
<code>reveal</code>
<code>reveal</code>
<code>reveal</code>
<code>reveal</code>
Expand All @@ -268,6 +293,12 @@
<code>TestExtension</code>
<code>\ZendTest\Expressive\Plates\stdClass</code>
</UndefinedClass>
<UndefinedThisPropertyAssignment occurrences="1">
<code>$this-&gt;errorCaught</code>
</UndefinedThisPropertyAssignment>
<UndefinedThisPropertyFetch occurrences="1">
<code>$this-&gt;errorCaught</code>
</UndefinedThisPropertyFetch>
</file>
<file src="test/PlatesRendererFactoryTest.php">
<MixedArgument occurrences="5">
Expand All @@ -276,7 +307,6 @@
<code>$this-&gt;container-&gt;reveal()</code>
<code>$this-&gt;container-&gt;reveal()</code>
<code>$this-&gt;container-&gt;reveal()</code>
<code>$this-&gt;container-&gt;reveal()</code>
</MixedArgument>
<MixedInferredReturnType occurrences="1">
<code>Engine</code>
Expand All @@ -299,10 +329,6 @@
<code>willReturn</code>
<code>willReturn</code>
<code>willReturn</code>
<code>willReturn</code>
<code>willReturn</code>
<code>willReturn</code>
<code>willReturn</code>
</MixedMethodCall>
<MixedReturnStatement occurrences="1">
<code>$r-&gt;getValue($plates)</code>
Expand All @@ -317,8 +343,6 @@
<code>get</code>
<code>get</code>
<code>get</code>
<code>get</code>
<code>has</code>
<code>has</code>
<code>has</code>
<code>has</code>
Expand All @@ -330,9 +354,6 @@
<code>has</code>
<code>has</code>
<code>has</code>
<code>has</code>
<code>has</code>
<code>reveal</code>
<code>reveal</code>
<code>reveal</code>
<code>reveal</code>
Expand Down

0 comments on commit 32e7c51

Please sign in to comment.