Skip to content

Commit

Permalink
fix: suppress psalm errors
Browse files Browse the repository at this point in the history
Signed-off-by: Geert Eltink <[email protected]>
  • Loading branch information
geerteltink committed Jan 6, 2022
1 parent 579c136 commit 651ae6b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
8 changes: 3 additions & 5 deletions psalm-baseline.xml
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,9 @@
<UnresolvableInclude occurrences="1">
<code>include $this-&gt;cacheFile</code>
</UnresolvableInclude>
</file>
<file src="src/FastRouteRouter/ConfigProvider.php">
<UndefinedClass occurrences="1">
<code>\Zend\Expressive\Router\FastRouteRouter\FastRouteRouter</code>
</UndefinedClass>
<MixedArgumentTypeCoercion occurrences="1">
<code>$missingParameters</code>
</MixedArgumentTypeCoercion>
</file>
<file src="src/FastRouteRouterFactory.php">
<MixedArgument occurrences="1">
Expand Down
3 changes: 3 additions & 0 deletions src/FastRouteRouter/ConfigProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ public function __invoke(): array
*/
public function getDependencies(): array
{
/**
* @psalm-suppress UndefinedClass
*/
return [
'aliases' => [
RouterInterface::class => FastRouteRouter::class,
Expand Down

0 comments on commit 651ae6b

Please sign in to comment.