Filesystem Updates #384
Annotations
10 errors and 1 warning
InvalidArgument:
src/SonsOfPHP/Bridge/Doctrine/Collections/Pager/Tests/ArrayCollectionAdapterTest.php#L29
src/SonsOfPHP/Bridge/Doctrine/Collections/Pager/Tests/ArrayCollectionAdapterTest.php:29:47: InvalidArgument: Argument 1 of SonsOfPHP\Bridge\Doctrine\Collections\Pager\ArrayCollectionAdapter::__construct expects Doctrine\Common\Collections\ArrayCollection<array-key, mixed>, but Doctrine\Common\Collections\ArrayCollection<int<0, max>, int> provided (see https://psalm.dev/004)
|
InvalidArgument:
src/SonsOfPHP/Bridge/Doctrine/Collections/Pager/Tests/ArrayCollectionAdapterTest.php#L36
src/SonsOfPHP/Bridge/Doctrine/Collections/Pager/Tests/ArrayCollectionAdapterTest.php:36:47: InvalidArgument: Argument 1 of SonsOfPHP\Bridge\Doctrine\Collections\Pager\ArrayCollectionAdapter::__construct expects Doctrine\Common\Collections\ArrayCollection<array-key, mixed>, but Doctrine\Common\Collections\ArrayCollection<int<0, max>, int> provided (see https://psalm.dev/004)
|
PossiblyUnusedReturnValue:
src/SonsOfPHP/Bridge/Doctrine/DBAL/Pager/QueryBuilderAdapter.php#L46
src/SonsOfPHP/Bridge/Doctrine/DBAL/Pager/QueryBuilderAdapter.php:46:58: PossiblyUnusedReturnValue: The return value for this method is never used (see https://psalm.dev/273)
|
InvalidArgument:
src/SonsOfPHP/Bridge/Doctrine/DBAL/Pager/Tests/QueryBuilderAdapterTest.php#L33
src/SonsOfPHP/Bridge/Doctrine/DBAL/Pager/Tests/QueryBuilderAdapterTest.php:33:44: InvalidArgument: Argument 1 of SonsOfPHP\Bridge\Doctrine\DBAL\Pager\QueryBuilderAdapter::__construct expects Doctrine\DBAL\Query\QueryBuilder, but PHPUnit\Framework\MockObject\MockObject provided (see https://psalm.dev/004)
|
UnusedClosureParam:
src/SonsOfPHP/Bridge/Doctrine/DBAL/Pager/Tests/QueryBuilderAdapterTest.php#L33
src/SonsOfPHP/Bridge/Doctrine/DBAL/Pager/Tests/QueryBuilderAdapterTest.php:33:83: UnusedClosureParam: Param builder is never referenced in this method (see https://psalm.dev/188)
|
InvalidArgument:
src/SonsOfPHP/Bridge/Doctrine/DBAL/Pager/Tests/QueryBuilderAdapterTest.php#L45
src/SonsOfPHP/Bridge/Doctrine/DBAL/Pager/Tests/QueryBuilderAdapterTest.php:45:44: InvalidArgument: Argument 1 of SonsOfPHP\Bridge\Doctrine\DBAL\Pager\QueryBuilderAdapter::__construct expects Doctrine\DBAL\Query\QueryBuilder, but PHPUnit\Framework\MockObject\MockObject provided (see https://psalm.dev/004)
|
InvalidArgument:
src/SonsOfPHP/Bridge/Doctrine/DBAL/Pager/Tests/QueryBuilderAdapterTest.php#L67
src/SonsOfPHP/Bridge/Doctrine/DBAL/Pager/Tests/QueryBuilderAdapterTest.php:67:44: InvalidArgument: Argument 1 of SonsOfPHP\Bridge\Doctrine\DBAL\Pager\QueryBuilderAdapter::__construct expects Doctrine\DBAL\Query\QueryBuilder, but PHPUnit\Framework\MockObject\MockObject provided (see https://psalm.dev/004)
|
UnusedClosureParam:
src/SonsOfPHP/Bridge/Doctrine/DBAL/Pager/Tests/QueryBuilderAdapterTest.php#L67
src/SonsOfPHP/Bridge/Doctrine/DBAL/Pager/Tests/QueryBuilderAdapterTest.php:67:83: UnusedClosureParam: Param builder is never referenced in this method (see https://psalm.dev/188)
|
UndefinedMethod:
src/SonsOfPHP/Bridge/Doctrine/EventSourcing/Tests/DoctrineDbalMessageRepositoryTest.php#L65
src/SonsOfPHP/Bridge/Doctrine/EventSourcing/Tests/DoctrineDbalMessageRepositoryTest.php:65:15: UndefinedMethod: Method Doctrine\DBAL\Connection::expects does not exist (see https://psalm.dev/022)
|
UndefinedInterfaceMethod:
src/SonsOfPHP/Bridge/Doctrine/EventSourcing/Tests/DoctrineDbalMessageRepositoryTest.php#L70
src/SonsOfPHP/Bridge/Doctrine/EventSourcing/Tests/DoctrineDbalMessageRepositoryTest.php:70:15: UndefinedInterfaceMethod: Method SonsOfPHP\Component\EventSourcing\Message\Serializer\MessageSerializerInterface::expects does not exist (see https://psalm.dev/181)
|
Psalm (8.2)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|