Skip to content

Commit

Permalink
Update psalm baseline
Browse files Browse the repository at this point in the history
Signed-off-by: Aleksei Khudiakov <[email protected]>
  • Loading branch information
Xerkus committed Mar 15, 2023
1 parent c08b7fc commit b9c0040
Showing 1 changed file with 1 addition and 69 deletions.
70 changes: 1 addition & 69 deletions psalm-baseline.xml
Original file line number Diff line number Diff line change
@@ -1,19 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<files psalm-version="5.8.0@9cf4f60a333f779ad3bc704a555920e81d4fdcda">
<file src="src/Application.php">
<ImplementedReturnTypeMismatch>
<code>Application</code>
</ImplementedReturnTypeMismatch>
<MissingClosureParamType>
<code>$r</code>
</MissingClosureParamType>
<MixedArgument>
<code><![CDATA[$events ?: $serviceManager->get('EventManager')]]></code>
<code>$listener</code>
<code><![CDATA[$serviceManager->get('Router')]]></code>
</MixedArgument>
<MixedAssignment>
<code>$listener</code>
<code>$response</code>
<code>$response</code>
<code><![CDATA[$this->request]]></code>
Expand All @@ -22,9 +16,6 @@
<MixedInferredReturnType>
<code>array|object</code>
</MixedInferredReturnType>
<MixedMethodCall>
<code>attach</code>
</MixedMethodCall>
<MixedReturnStatement>
<code><![CDATA[$this->serviceManager->get('config')]]></code>
</MixedReturnStatement>
Expand Down Expand Up @@ -622,11 +613,6 @@
</UndefinedClass>
</file>
<file src="src/DispatchListener.php">
<ArgumentTypeCoercion>
<code>$application</code>
<code>$application</code>
<code>$application</code>
</ArgumentTypeCoercion>
<MissingReturnType>
<code>reportMonitorEvent</code>
</MissingReturnType>
Expand Down Expand Up @@ -660,11 +646,6 @@
<MixedMethodCall>
<code>dispatch</code>
</MixedMethodCall>
<UndefinedConstant>
<code>$application::ERROR_CONTROLLER_INVALID</code>
<code>$application::ERROR_CONTROLLER_NOT_FOUND</code>
<code>$application::ERROR_EXCEPTION</code>
</UndefinedConstant>
<UndefinedFunction>
<code><![CDATA[zend_monitor_custom_event_ex(
$error,
Expand Down Expand Up @@ -871,18 +852,9 @@
<code>$container</code>
</ArgumentTypeCoercion>
<MixedArgument>
<code><![CDATA[$container->get('EventManager')]]></code>
<code><![CDATA[$container->get('Request')]]></code>
<code><![CDATA[$container->get('Response')]]></code>
<code>$listener</code>
</MixedArgument>
<MixedAssignment>
<code>$listener</code>
<code>$listeners</code>
</MixedAssignment>
<MixedMethodCall>
<code>attach</code>
</MixedMethodCall>
</file>
<file src="src/Service/ControllerManagerFactory.php">
<MixedArgument>
Expand Down Expand Up @@ -1296,9 +1268,6 @@
<PossiblyNullReference>
<code>attach</code>
</PossiblyNullReference>
<PropertyTypeCoercion>
<code>$services</code>
</PropertyTypeCoercion>
</file>
<file src="test/Application/AllowsReturningEarlyFromRoutingTest.php">
<MissingClosureParamType>
Expand All @@ -1309,9 +1278,6 @@
</UnusedClosureParam>
</file>
<file src="test/Application/BadControllerTrait.php">
<ArgumentTypeCoercion>
<code>$serviceConfig</code>
</ArgumentTypeCoercion>
<MissingClosureParamType>
<code>$services</code>
<code>$services</code>
Expand Down Expand Up @@ -1429,16 +1395,10 @@
</MixedOperand>
</file>
<file src="test/Application/InvalidControllerTypeTrait.php">
<ArgumentTypeCoercion>
<code>$serviceConfig</code>
</ArgumentTypeCoercion>
<MissingClosureParamType>
<code>$services</code>
<code>$services</code>
</MissingClosureParamType>
<MissingClosureReturnType>
<code><![CDATA[static fn($services) => $services->get('HttpRouter')]]></code>
</MissingClosureReturnType>
<MixedArgument>
<code>$services</code>
</MixedArgument>
Expand All @@ -1451,20 +1411,10 @@
</MixedInferredReturnType>
<MixedMethodCall>
<code>bootstrap</code>
<code>get</code>
<code>setUri</code>
</MixedMethodCall>
</file>
<file src="test/Application/MissingControllerTrait.php">
<ArgumentTypeCoercion>
<code>$serviceConfig</code>
</ArgumentTypeCoercion>
<MissingClosureParamType>
<code>$services</code>
</MissingClosureParamType>
<MissingClosureReturnType>
<code><![CDATA[static fn($services) => $services->get('HttpRouter')]]></code>
</MissingClosureReturnType>
<MixedAssignment>
<code>$application</code>
<code>$request</code>
Expand All @@ -1474,21 +1424,15 @@
</MixedInferredReturnType>
<MixedMethodCall>
<code>bootstrap</code>
<code>get</code>
<code>setUri</code>
</MixedMethodCall>
</file>
<file src="test/Application/PathControllerTrait.php">
<ArgumentTypeCoercion>
<code>$serviceConfig</code>
</ArgumentTypeCoercion>
<MissingClosureParamType>
<code>$services</code>
<code>$services</code>
</MissingClosureParamType>
<MissingClosureReturnType>
<code><![CDATA[static fn($services) => $services->get('HttpRouter')]]></code>
</MissingClosureReturnType>
<MissingClosureReturnType/>
<MixedArgument>
<code>$services</code>
</MixedArgument>
Expand All @@ -1501,7 +1445,6 @@
</MixedInferredReturnType>
<MixedMethodCall>
<code>bootstrap</code>
<code>get</code>
<code>setUri</code>
</MixedMethodCall>
</file>
Expand All @@ -1524,10 +1467,7 @@
</file>
<file src="test/ApplicationTest.php">
<ArgumentTypeCoercion>
<code>$eventManager</code>
<code>$eventManager</code>
<code>$events</code>
<code>$serviceConfig</code>
</ArgumentTypeCoercion>
<DeprecatedMethod>
<code>setMethods</code>
Expand Down Expand Up @@ -1569,7 +1509,6 @@
<code>static function (MvcEvent $event) {</code>
</MissingClosureReturnType>
<MixedArgument>
<code>$defaultListenerName</code>
<code><![CDATA[$response->getContent()]]></code>
<code><![CDATA[$response->getContent()]]></code>
<code>$router</code>
Expand All @@ -1580,17 +1519,10 @@
<MixedAssignment>
<code>$controllerLoader</code>
<code>$controllerManager</code>
<code>$defaultListener</code>
<code>$defaultListenerName</code>
<code>$defaultListenersNames</code>
<code>$defaultListeners[]</code>
<code>$error</code>
<code>$error</code>
<code>$events</code>
<code>$listener</code>
<code>$listener</code>
<code>$listenerService</code>
<code>$registeredListeners[]</code>
<code>$request</code>
<code>$request</code>
<code>$request</code>
Expand Down

0 comments on commit b9c0040

Please sign in to comment.