Skip to content

Commit

Permalink
Update psalm baseline
Browse files Browse the repository at this point in the history
  • Loading branch information
roxblnfk committed Feb 7, 2025
1 parent ac510bf commit 2439048
Showing 1 changed file with 9 additions and 36 deletions.
45 changes: 9 additions & 36 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.26.1@d747f6500b38ac4f7dfc5edbcae6e4b637d7add0">
<files psalm-version="6.4.0@04f312ac6ea48ba1c3e5db4d815bf6d74641c0ee">
<file src="src/Annotated/Locator/ListenerEntityLocator.php">
<RedundantConditionGivenDocblockType>
<code><![CDATA[$attribute !== null]]></code>
Expand All @@ -13,12 +13,12 @@
<code><![CDATA[$this->normalizedPayload]]></code>
<code><![CDATA[$this->normalizedPayload]]></code>
</MixedAssignment>
<MixedInferredReturnType>
<code><![CDATA[array]]></code>
</MixedInferredReturnType>
<MixedReturnStatement>
<code><![CDATA[$this->normalizedPayload]]></code>
</MixedReturnStatement>
<PossiblyFalseArgument>
<code><![CDATA[stream_get_contents($this->payload)]]></code>
</PossiblyFalseArgument>
</file>
<file src="src/Auth/TokenStorage.php">
<ArgumentTypeCoercion>
Expand Down Expand Up @@ -53,10 +53,6 @@
<code><![CDATA[$nameGenerator]]></code>
<code><![CDATA[$strategy]]></code>
</MixedAssignment>
<MixedInferredReturnType>
<code><![CDATA[GeneratorStrategyInterface]]></code>
<code><![CDATA[NameGeneratorInterface]]></code>
</MixedInferredReturnType>
<MixedReturnStatement>
<code><![CDATA[$container->get($nameGenerator)]]></code>
<code><![CDATA[$container->get($strategy)]]></code>
Expand Down Expand Up @@ -110,9 +106,6 @@
<code><![CDATA[$config]]></code>
<code><![CDATA[$defaultSchema]]></code>
</MixedAssignment>
<MixedInferredReturnType>
<code><![CDATA[?array]]></code>
</MixedInferredReturnType>
<MixedReturnStatement>
<code><![CDATA[$this->config['schema']['generators'] ?? null]]></code>
<code><![CDATA[$this->config['schema']['generators'] ?? null]]></code>
Expand Down Expand Up @@ -157,12 +150,6 @@
<code><![CDATA[DESCRIPTION]]></code>
<code><![CDATA[NAME]]></code>
</InvalidClassConstantType>
<MixedArgumentTypeCoercion>
<code><![CDATA[[$migrations]]]></code>
</MixedArgumentTypeCoercion>
<MixedAssignment>
<code><![CDATA[$migrations]]></code>
</MixedAssignment>
<PossiblyNullArgument>
<code><![CDATA[$this->output]]></code>
</PossiblyNullArgument>
Expand Down Expand Up @@ -251,10 +238,6 @@
<MixedArgument>
<code><![CDATA[static::OPTIONS]]></code>
</MixedArgument>
<MixedInferredReturnType>
<code><![CDATA[bool]]></code>
<code><![CDATA[bool]]></code>
</MixedInferredReturnType>
<MixedReturnStatement>
<code><![CDATA[$question->ask(
$this->input,
Expand Down Expand Up @@ -318,9 +301,6 @@
<MixedAssignment>
<code><![CDATA[$field]]></code>
</MixedAssignment>
<MixedInferredReturnType>
<code><![CDATA[string]]></code>
</MixedInferredReturnType>
<MixedReturnStatement>
<code><![CDATA[$this->config->declarationOptions($element)[(string) $this->argument('format')]]]></code>
</MixedReturnStatement>
Expand Down Expand Up @@ -392,9 +372,6 @@
<code><![CDATA[$injector]]></code>
<code><![CDATA[$injector]]></code>
</MixedArgument>
<MixedInferredReturnType>
<code><![CDATA[string]]></code>
</MixedInferredReturnType>
<MixedReturnStatement>
<code><![CDATA[$this->expression->getValue()]]></code>
</MixedReturnStatement>
Expand Down Expand Up @@ -438,9 +415,6 @@
<code><![CDATA[$source]]></code>
<code><![CDATA[$source]]></code>
</MixedAssignment>
<MixedInferredReturnType>
<code><![CDATA[string]]></code>
</MixedInferredReturnType>
<MixedMethodCall>
<code><![CDATA[limit]]></code>
<code><![CDATA[offset]]></code>
Expand All @@ -466,11 +440,9 @@
<code><![CDATA[$value]]></code>
</MixedArgument>
<MixedAssignment>
<code><![CDATA[$object]]></code>
<code><![CDATA[$this->orm]]></code>
</MixedAssignment>
<MixedInferredReturnType>
<code><![CDATA[ORMInterface]]></code>
</MixedInferredReturnType>
<MixedReturnStatement>
<code><![CDATA[$this->orm]]></code>
<code><![CDATA[$this->orm]]></code>
Expand Down Expand Up @@ -515,6 +487,10 @@
<MixedAssignment>
<code><![CDATA[$value]]></code>
</MixedAssignment>
<MixedReturnStatement>
<code><![CDATA[$this->orm->getRepository($role)->findByPK($parameter)]]></code>
<code><![CDATA[$this->orm->getRepository($role)->findByPK($parameter)]]></code>
</MixedReturnStatement>
<MoreSpecificReturnType>
<code><![CDATA[array<non-empty-string, non-empty-string>]]></code>
</MoreSpecificReturnType>
Expand All @@ -533,9 +509,6 @@
<code><![CDATA[$channel]]></code>
<code><![CDATA[$this->config]]></code>
</MixedAssignment>
<MixedInferredReturnType>
<code><![CDATA[LoggerInterface]]></code>
</MixedInferredReturnType>
<MixedMethodCall>
<code><![CDATA[getLogger]]></code>
</MixedMethodCall>
Expand Down

0 comments on commit 2439048

Please sign in to comment.