Chore(deps-dev): Bump the tools_phpunit_dependencies group in /tools/01_phpunit with 3 updates #5967
main.yml
on: pull_request
Lint documentation files
20s
Build application Docker image
0s
Annotations
10 errors and 13 warnings
UndefinedInterfaceMethod:
tests/Integration/AutoMapper/ApiKey/RequestMapperTest.php#L57
tests/Integration/AutoMapper/ApiKey/RequestMapperTest.php:57:15: UndefinedInterfaceMethod: Method (PHPUnit\Framework\MockObject\MockObject&App\Resource\UserGroupResource)::expects does not exist (see https://psalm.dev/181)
|
UndefinedClass:
tests/Integration/AutoMapper/ApiKey/RequestMapperTest.php#L57
tests/Integration/AutoMapper/ApiKey/RequestMapperTest.php:57:23: UndefinedClass: Class, interface or enum named PHPUnit\Framework\MockObject\Rule\InvokedCount does not exist (see https://psalm.dev/019)
|
DeprecatedMethod:
tests/Integration/AutoMapper/GenericRestRequestMapperTest.php#L40
tests/Integration/AutoMapper/GenericRestRequestMapperTest.php:40:41: DeprecatedMethod: The method PHPUnit\Framework\TestCase::getMockForAbstractClass has been marked as deprecated (see https://psalm.dev/001)
|
DeprecatedMethod:
tests/Integration/AutoMapper/GenericRestRequestMapperTest.php#L54
tests/Integration/AutoMapper/GenericRestRequestMapperTest.php:54:41: DeprecatedMethod: The method PHPUnit\Framework\TestCase::getMockForAbstractClass has been marked as deprecated (see https://psalm.dev/001)
|
DeprecatedMethod:
tests/Integration/AutoMapper/GenericRestRequestMapperTest.php#L70
tests/Integration/AutoMapper/GenericRestRequestMapperTest.php:70:41: DeprecatedMethod: The method PHPUnit\Framework\TestCase::getMockForAbstractClass has been marked as deprecated (see https://psalm.dev/001)
|
DeprecatedMethod:
tests/Integration/AutoMapper/GenericRestRequestMapperTest.php#L85
tests/Integration/AutoMapper/GenericRestRequestMapperTest.php:85:41: DeprecatedMethod: The method PHPUnit\Framework\TestCase::getMockForAbstractClass has been marked as deprecated (see https://psalm.dev/001)
|
UndefinedInterfaceMethod:
tests/Integration/AutoMapper/User/RequestMapperTest.php#L58
tests/Integration/AutoMapper/User/RequestMapperTest.php:58:15: UndefinedInterfaceMethod: Method (PHPUnit\Framework\MockObject\MockObject&App\Resource\UserGroupResource)::expects does not exist (see https://psalm.dev/181)
|
UndefinedInterfaceMethod:
tests/Integration/AutoMapper/UserGroup/RequestMapperTest.php#L57
tests/Integration/AutoMapper/UserGroup/RequestMapperTest.php:57:15: UndefinedInterfaceMethod: Method (PHPUnit\Framework\MockObject\MockObject&App\Resource\RoleResource)::expects does not exist (see https://psalm.dev/181)
|
UndefinedInterfaceMethod:
tests/Integration/Compiler/StopwatchCompilerPassTest.php#L32
tests/Integration/Compiler/StopwatchCompilerPassTest.php:32:15: UndefinedInterfaceMethod: Method (PHPUnit\Framework\MockObject\MockObject&Symfony\Component\DependencyInjection\ContainerBuilder)::expects does not exist (see https://psalm.dev/181)
|
UndefinedClass:
tests/Integration/Compiler/StopwatchCompilerPassTest.php#L32
tests/Integration/Compiler/StopwatchCompilerPassTest.php:32:23: UndefinedClass: Class, interface or enum named PHPUnit\Framework\MockObject\Rule\InvokedCount does not exist (see https://psalm.dev/019)
|
Lint configuration
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
PHP Security Checker
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Static analyzers
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
MixedMethodCall:
src/AutoMapper/RestRequestMapper.php#L49
src/AutoMapper/RestRequestMapper.php:49:24: MixedMethodCall: Cannot call constructor on an unknown class (see https://psalm.dev/015)
|
MixedInferredReturnType:
src/Collection/CollectionTrait.php#L48
src/Collection/CollectionTrait.php:48:45: MixedInferredReturnType: Could not verify return type 'App\Rest\Interfaces\RestResourceInterface' for App\Collection\CollectionTrait::get (see https://psalm.dev/047)
|
MixedInferredReturnType:
src/Collection/CollectionTrait.php#L48
src/Collection/CollectionTrait.php:48:45: MixedInferredReturnType: Could not verify return type 'App\Rest\Interfaces\ControllerInterface' for App\Collection\CollectionTrait::get (see https://psalm.dev/047)
|
MixedArgumentTypeCoercion:
src/Collection/CollectionTrait.php#L90
src/Collection/CollectionTrait.php:90:89: MixedArgumentTypeCoercion: Argument 2 of CallbackFilterIterator::__construct expects callable(mixed, mixed, Iterator<mixed, mixed>):bool, but parent type Closure provided (see https://psalm.dev/194)
|
MixedReturnTypeCoercion:
src/Command/ApiKey/ListApiKeysCommand.php#L74
src/Command/ApiKey/ListApiKeysCommand.php:74:16: MixedReturnTypeCoercion: The declared return type 'array<int, string>' for App\Command\ApiKey\ListApiKeysCommand::getRows is more specific than the inferred return type 'array<array-key, mixed>' (see https://psalm.dev/197)
|
MixedReturnTypeCoercion:
src/Command/ApiKey/ListApiKeysCommand.php#L80
src/Command/ApiKey/ListApiKeysCommand.php:80:16: MixedReturnTypeCoercion: The type 'array<array-key, mixed>' is more general than the declared return type 'array<int, string>' for App\Command\ApiKey\ListApiKeysCommand::getRows (see https://psalm.dev/197)
|
MixedArgumentTypeCoercion:
src/Command/ApiKey/ListApiKeysCommand.php#L104
src/Command/ApiKey/ListApiKeysCommand.php:104:60: MixedArgumentTypeCoercion: Argument 1 of Doctrine\Common\Collections\Collection::map expects Closure(T:Doctrine\Common\Collections\Collection as mixed):non-empty-string, but parent type pure-Closure(App\Entity\UserGroup):non-empty-string provided (see https://psalm.dev/194)
|
MixedInferredReturnType:
src/Command/Traits/ExecuteMultipleCommandTrait.php#L49
src/Command/Traits/ExecuteMultipleCommandTrait.php:49:81: MixedInferredReturnType: Could not verify return type 'int' for App\Command\Traits\ExecuteMultipleCommandTrait::execute (see https://psalm.dev/047)
|
MixedReturnTypeCoercion:
src/Command/User/ListUserGroupsCommand.php#L72
src/Command/User/ListUserGroupsCommand.php:72:16: MixedReturnTypeCoercion: The declared return type 'array<int, string>' for App\Command\User\ListUserGroupsCommand::getRows is more specific than the inferred return type 'array<array-key, mixed>' (see https://psalm.dev/197)
|
MixedReturnTypeCoercion:
src/Command/User/ListUserGroupsCommand.php#L78
src/Command/User/ListUserGroupsCommand.php:78:16: MixedReturnTypeCoercion: The type 'array<array-key, mixed>' is more general than the declared return type 'array<int, string>' for App\Command\User\ListUserGroupsCommand::getRows (see https://psalm.dev/197)
|