Skip to content

Commit

Permalink
Fix new Psalm issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Jean85 committed Feb 17, 2025
1 parent 54c8056 commit 7dab2de
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions psalm.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,8 @@
<pluginClass class="Psalm\PhpUnitPlugin\Plugin"/>
<pluginClass class="Psalm\SymfonyPsalmPlugin\Plugin"/>
</plugins>

<issueHandlers>
<ClassMustBeFinal errorLevel="suppress"/>
</issueHandlers>
</psalm>
3 changes: 3 additions & 0 deletions src/Configuration/ParallelConfiguration.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@ protected function tagEventSubscribers(ContainerBuilder $container): void
}
}

/**
* @psalm-suppress MixedArgument
*/
protected function loadCommandLineOptions(ContainerBuilder $containerBuilder, InputInterface $input): void
{
$containerBuilder->setParameter('paraunit.max_process_count', $input->getOption('parallel'));
Expand Down

0 comments on commit 7dab2de

Please sign in to comment.