Skip to content

Commit

Permalink
tests: update Psalm configuration file.
Browse files Browse the repository at this point in the history
  • Loading branch information
drupol committed Mar 30, 2023
1 parent 747fe57 commit a081ef1
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 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="dev-master@c6cfa86f35350842d00e8f1f3b92839fbda5f8f9">
<files psalm-version="5.9.0@8b9ad1eb9e8b7d3101f949291da2b9f7767cd163">
<file src="src/Collection.php">
<InvalidArgument>
<code>$callback</code>
Expand All @@ -20,27 +20,27 @@
</file>
<file src="src/Operation/All.php">
<InvalidReturnStatement>
<code>static fn (bool $normalize): Closure =&gt;
<code><![CDATA[static fn (bool $normalize): Closure =>
/**
* @param iterable&lt;TKey, T&gt; $iterable
* @param iterable<TKey, T> $iterable
*
* @return Generator&lt;int, T&gt;|Generator&lt;TKey, T&gt;
* @return Generator<int, T>|Generator<TKey, T>
*/
static fn (iterable $iterable): Generator =&gt; yield from ($normalize ? (new Normalize())()($iterable) : $iterable)</code>
static fn (iterable $iterable): Generator => yield from ($normalize ? (new Normalize())()($iterable) : $iterable)]]></code>
</InvalidReturnStatement>
<InvalidReturnType>
<code>Closure(bool): Closure(iterable&lt;TKey, T&gt;): (Generator&lt;int, T&gt;|Generator&lt;TKey, T&gt;)</code>
<code><![CDATA[Closure(bool): Closure(iterable<TKey, T>): (Generator<int, T>|Generator<TKey, T>)]]></code>
</InvalidReturnType>
</file>
<file src="src/Operation/Product.php">
<InvalidArgument>
<code>[[]]</code>
<code>static fn (iterable $a, iterable $x): Generator =&gt; $f($x)($a)</code>
<code><![CDATA[static fn (iterable $a, iterable $x): Generator => $f($x)($a)]]></code>
</InvalidArgument>
</file>
<file src="src/Operation/Zip.php">
<MoreSpecificReturnType>
<code>Generator&lt;list&lt;TKey|UKey|null&gt;, list&lt;T|U|null&gt;&gt;</code>
<code><![CDATA[Generator<list<TKey|UKey|null>, list<T|U|null>>]]></code>
</MoreSpecificReturnType>
</file>
<file src="tests/static-analysis/partition.php">
Expand Down

0 comments on commit a081ef1

Please sign in to comment.