Skip to content

chore(deps-dev): bump phpunit/phpunit from 10.5.9 to 10.5.12 #499

chore(deps-dev): bump phpunit/phpunit from 10.5.9 to 10.5.12

chore(deps-dev): bump phpunit/phpunit from 10.5.9 to 10.5.12 #499

Triggered via push March 11, 2024 09:40
Status Failure
Total duration 45s
Artifacts

run-tests.yml

on: push
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

60 errors and 6 warnings
InvalidDocblock: src/Core/FakeRunner.php#L25
src/Core/FakeRunner.php:25:5: InvalidDocblock: list<class-string<SpiderInterface>, array<int, array{overrides: null|Overrides, context: array}>> is not a valid type (Too many template parameters for list in /home/runner/work/core/core/src/Core/FakeRunner.php:22) (see https://psalm.dev/008)
MixedAssignment: src/Core/FakeRunner.php#L53
src/Core/FakeRunner.php:53:46: MixedAssignment: Unable to determine the type that $run is being assigned to (see https://psalm.dev/032)
MixedArrayAccess: src/Core/FakeRunner.php#L54
src/Core/FakeRunner.php:54:31: MixedArrayAccess: Cannot access array value on mixed variable $run (see https://psalm.dev/051)
MixedArgument: src/Core/FakeRunner.php#L54
src/Core/FakeRunner.php:54:31: MixedArgument: Argument 1 cannot be mixed, expecting RoachPHP\Spider\Configuration\Overrides|null (see https://psalm.dev/030)
MixedArrayAccess: src/Core/FakeRunner.php#L54
src/Core/FakeRunner.php:54:50: MixedArrayAccess: Cannot access array value on mixed variable $run (see https://psalm.dev/051)
MixedArgument: src/Core/FakeRunner.php#L54
src/Core/FakeRunner.php:54:50: MixedArgument: Argument 2 cannot be mixed, expecting array<array-key, mixed> (see https://psalm.dev/030)
MixedArrayAssignment: src/Core/FakeRunner.php#L80
src/Core/FakeRunner.php:80:9: MixedArrayAssignment: Cannot access array value on mixed variable $this->runs[$spiderClass] (see https://psalm.dev/117)
MoreSpecificReturnType: src/Core/RunFactory.php#L56
src/Core/RunFactory.php:56:16: MoreSpecificReturnType: The declared return type 'list<RoachPHP\Downloader\DownloaderMiddlewareInterface>' for RoachPHP\Core\RunFactory::buildDownloaderMiddleware is more specific than the inferred return type 'array<array-key, RoachPHP\Downloader\DownloaderMiddlewareInterface>' (see https://psalm.dev/070)
LessSpecificReturnStatement: src/Core/RunFactory.php#L60
src/Core/RunFactory.php:60:16: LessSpecificReturnStatement: The type 'array<array-key, RoachPHP\Downloader\DownloaderMiddlewareInterface>' is more general than the declared return type 'list<RoachPHP\Downloader\DownloaderMiddlewareInterface>' for RoachPHP\Core\RunFactory::buildDownloaderMiddleware (see https://psalm.dev/129)
MoreSpecificReturnType: src/Core/RunFactory.php#L68
src/Core/RunFactory.php:68:16: MoreSpecificReturnType: The declared return type 'list<RoachPHP\ItemPipeline\Processors\ItemProcessorInterface>' for RoachPHP\Core\RunFactory::buildItemPipeline is more specific than the inferred return type 'array<array-key, RoachPHP\ItemPipeline\Processors\ItemProcessorInterface>' (see https://psalm.dev/070)
InvalidDocblock: src/Core/FakeRunner.php#L25
src/Core/FakeRunner.php:25:5: InvalidDocblock: list<class-string<SpiderInterface>, array<int, array{overrides: null|Overrides, context: array}>> is not a valid type (Too many template parameters for list in /home/runner/work/core/core/src/Core/FakeRunner.php:22) (see https://psalm.dev/008)
MixedAssignment: src/Core/FakeRunner.php#L53
src/Core/FakeRunner.php:53:46: MixedAssignment: Unable to determine the type that $run is being assigned to (see https://psalm.dev/032)
MixedArrayAccess: src/Core/FakeRunner.php#L54
src/Core/FakeRunner.php:54:31: MixedArrayAccess: Cannot access array value on mixed variable $run (see https://psalm.dev/051)
MixedArgument: src/Core/FakeRunner.php#L54
src/Core/FakeRunner.php:54:31: MixedArgument: Argument 1 cannot be mixed, expecting RoachPHP\Spider\Configuration\Overrides|null (see https://psalm.dev/030)
MixedArrayAccess: src/Core/FakeRunner.php#L54
src/Core/FakeRunner.php:54:50: MixedArrayAccess: Cannot access array value on mixed variable $run (see https://psalm.dev/051)
MixedArgument: src/Core/FakeRunner.php#L54
src/Core/FakeRunner.php:54:50: MixedArgument: Argument 2 cannot be mixed, expecting array<array-key, mixed> (see https://psalm.dev/030)
MixedArrayAssignment: src/Core/FakeRunner.php#L80
src/Core/FakeRunner.php:80:9: MixedArrayAssignment: Cannot access array value on mixed variable $this->runs[$spiderClass] (see https://psalm.dev/117)
MoreSpecificReturnType: src/Core/RunFactory.php#L56
src/Core/RunFactory.php:56:16: MoreSpecificReturnType: The declared return type 'list<RoachPHP\Downloader\DownloaderMiddlewareInterface>' for RoachPHP\Core\RunFactory::buildDownloaderMiddleware is more specific than the inferred return type 'array<array-key, RoachPHP\Downloader\DownloaderMiddlewareInterface>' (see https://psalm.dev/070)
LessSpecificReturnStatement: src/Core/RunFactory.php#L60
src/Core/RunFactory.php:60:16: LessSpecificReturnStatement: The type 'array<array-key, RoachPHP\Downloader\DownloaderMiddlewareInterface>' is more general than the declared return type 'list<RoachPHP\Downloader\DownloaderMiddlewareInterface>' for RoachPHP\Core\RunFactory::buildDownloaderMiddleware (see https://psalm.dev/129)
MoreSpecificReturnType: src/Core/RunFactory.php#L68
src/Core/RunFactory.php:68:16: MoreSpecificReturnType: The declared return type 'list<RoachPHP\ItemPipeline\Processors\ItemProcessorInterface>' for RoachPHP\Core\RunFactory::buildItemPipeline is more specific than the inferred return type 'array<array-key, RoachPHP\ItemPipeline\Processors\ItemProcessorInterface>' (see https://psalm.dev/070)
InvalidDocblock: src/Core/FakeRunner.php#L25
src/Core/FakeRunner.php:25:5: InvalidDocblock: list<class-string<SpiderInterface>, array<int, array{overrides: null|Overrides, context: array}>> is not a valid type (Too many template parameters for list in /home/runner/work/core/core/src/Core/FakeRunner.php:22) (see https://psalm.dev/008)
MixedAssignment: src/Core/FakeRunner.php#L53
src/Core/FakeRunner.php:53:46: MixedAssignment: Unable to determine the type that $run is being assigned to (see https://psalm.dev/032)
MixedArrayAccess: src/Core/FakeRunner.php#L54
src/Core/FakeRunner.php:54:31: MixedArrayAccess: Cannot access array value on mixed variable $run (see https://psalm.dev/051)
MixedArgument: src/Core/FakeRunner.php#L54
src/Core/FakeRunner.php:54:31: MixedArgument: Argument 1 cannot be mixed, expecting RoachPHP\Spider\Configuration\Overrides|null (see https://psalm.dev/030)
MixedArrayAccess: src/Core/FakeRunner.php#L54
src/Core/FakeRunner.php:54:50: MixedArrayAccess: Cannot access array value on mixed variable $run (see https://psalm.dev/051)
MixedArgument: src/Core/FakeRunner.php#L54
src/Core/FakeRunner.php:54:50: MixedArgument: Argument 2 cannot be mixed, expecting array<array-key, mixed> (see https://psalm.dev/030)
MixedArrayAssignment: src/Core/FakeRunner.php#L80
src/Core/FakeRunner.php:80:9: MixedArrayAssignment: Cannot access array value on mixed variable $this->runs[$spiderClass] (see https://psalm.dev/117)
MoreSpecificReturnType: src/Core/RunFactory.php#L56
src/Core/RunFactory.php:56:16: MoreSpecificReturnType: The declared return type 'list<RoachPHP\Downloader\DownloaderMiddlewareInterface>' for RoachPHP\Core\RunFactory::buildDownloaderMiddleware is more specific than the inferred return type 'array<array-key, RoachPHP\Downloader\DownloaderMiddlewareInterface>' (see https://psalm.dev/070)
LessSpecificReturnStatement: src/Core/RunFactory.php#L60
src/Core/RunFactory.php:60:16: LessSpecificReturnStatement: The type 'array<array-key, RoachPHP\Downloader\DownloaderMiddlewareInterface>' is more general than the declared return type 'list<RoachPHP\Downloader\DownloaderMiddlewareInterface>' for RoachPHP\Core\RunFactory::buildDownloaderMiddleware (see https://psalm.dev/129)
MoreSpecificReturnType: src/Core/RunFactory.php#L68
src/Core/RunFactory.php:68:16: MoreSpecificReturnType: The declared return type 'list<RoachPHP\ItemPipeline\Processors\ItemProcessorInterface>' for RoachPHP\Core\RunFactory::buildItemPipeline is more specific than the inferred return type 'array<array-key, RoachPHP\ItemPipeline\Processors\ItemProcessorInterface>' (see https://psalm.dev/070)
InvalidDocblock: src/Core/FakeRunner.php#L25
src/Core/FakeRunner.php:25:5: InvalidDocblock: list<class-string<SpiderInterface>, array<int, array{overrides: null|Overrides, context: array}>> is not a valid type (Too many template parameters for list in /home/runner/work/core/core/src/Core/FakeRunner.php:22) (see https://psalm.dev/008)
MixedAssignment: src/Core/FakeRunner.php#L53
src/Core/FakeRunner.php:53:46: MixedAssignment: Unable to determine the type that $run is being assigned to (see https://psalm.dev/032)
MixedArrayAccess: src/Core/FakeRunner.php#L54
src/Core/FakeRunner.php:54:31: MixedArrayAccess: Cannot access array value on mixed variable $run (see https://psalm.dev/051)
MixedArgument: src/Core/FakeRunner.php#L54
src/Core/FakeRunner.php:54:31: MixedArgument: Argument 1 cannot be mixed, expecting RoachPHP\Spider\Configuration\Overrides|null (see https://psalm.dev/030)
MixedArrayAccess: src/Core/FakeRunner.php#L54
src/Core/FakeRunner.php:54:50: MixedArrayAccess: Cannot access array value on mixed variable $run (see https://psalm.dev/051)
MixedArgument: src/Core/FakeRunner.php#L54
src/Core/FakeRunner.php:54:50: MixedArgument: Argument 2 cannot be mixed, expecting array<array-key, mixed> (see https://psalm.dev/030)
MixedArrayAssignment: src/Core/FakeRunner.php#L80
src/Core/FakeRunner.php:80:9: MixedArrayAssignment: Cannot access array value on mixed variable $this->runs[$spiderClass] (see https://psalm.dev/117)
MoreSpecificReturnType: src/Core/RunFactory.php#L56
src/Core/RunFactory.php:56:16: MoreSpecificReturnType: The declared return type 'list<RoachPHP\Downloader\DownloaderMiddlewareInterface>' for RoachPHP\Core\RunFactory::buildDownloaderMiddleware is more specific than the inferred return type 'array<array-key, RoachPHP\Downloader\DownloaderMiddlewareInterface>' (see https://psalm.dev/070)
LessSpecificReturnStatement: src/Core/RunFactory.php#L60
src/Core/RunFactory.php:60:16: LessSpecificReturnStatement: The type 'array<array-key, RoachPHP\Downloader\DownloaderMiddlewareInterface>' is more general than the declared return type 'list<RoachPHP\Downloader\DownloaderMiddlewareInterface>' for RoachPHP\Core\RunFactory::buildDownloaderMiddleware (see https://psalm.dev/129)
MoreSpecificReturnType: src/Core/RunFactory.php#L68
src/Core/RunFactory.php:68:16: MoreSpecificReturnType: The declared return type 'list<RoachPHP\ItemPipeline\Processors\ItemProcessorInterface>' for RoachPHP\Core\RunFactory::buildItemPipeline is more specific than the inferred return type 'array<array-key, RoachPHP\ItemPipeline\Processors\ItemProcessorInterface>' (see https://psalm.dev/070)
InvalidDocblock: src/Core/FakeRunner.php#L25
src/Core/FakeRunner.php:25:5: InvalidDocblock: list<class-string<SpiderInterface>, array<int, array{overrides: null|Overrides, context: array}>> is not a valid type (Too many template parameters for list in /home/runner/work/core/core/src/Core/FakeRunner.php:22) (see https://psalm.dev/008)
MixedAssignment: src/Core/FakeRunner.php#L53
src/Core/FakeRunner.php:53:46: MixedAssignment: Unable to determine the type that $run is being assigned to (see https://psalm.dev/032)
MixedArrayAccess: src/Core/FakeRunner.php#L54
src/Core/FakeRunner.php:54:31: MixedArrayAccess: Cannot access array value on mixed variable $run (see https://psalm.dev/051)
MixedArgument: src/Core/FakeRunner.php#L54
src/Core/FakeRunner.php:54:31: MixedArgument: Argument 1 cannot be mixed, expecting RoachPHP\Spider\Configuration\Overrides|null (see https://psalm.dev/030)
MixedArrayAccess: src/Core/FakeRunner.php#L54
src/Core/FakeRunner.php:54:50: MixedArrayAccess: Cannot access array value on mixed variable $run (see https://psalm.dev/051)
MixedArgument: src/Core/FakeRunner.php#L54
src/Core/FakeRunner.php:54:50: MixedArgument: Argument 2 cannot be mixed, expecting array<array-key, mixed> (see https://psalm.dev/030)
MixedArrayAssignment: src/Core/FakeRunner.php#L80
src/Core/FakeRunner.php:80:9: MixedArrayAssignment: Cannot access array value on mixed variable $this->runs[$spiderClass] (see https://psalm.dev/117)
MoreSpecificReturnType: src/Core/RunFactory.php#L56
src/Core/RunFactory.php:56:16: MoreSpecificReturnType: The declared return type 'list<RoachPHP\Downloader\DownloaderMiddlewareInterface>' for RoachPHP\Core\RunFactory::buildDownloaderMiddleware is more specific than the inferred return type 'array<array-key, RoachPHP\Downloader\DownloaderMiddlewareInterface>' (see https://psalm.dev/070)
LessSpecificReturnStatement: src/Core/RunFactory.php#L60
src/Core/RunFactory.php:60:16: LessSpecificReturnStatement: The type 'array<array-key, RoachPHP\Downloader\DownloaderMiddlewareInterface>' is more general than the declared return type 'list<RoachPHP\Downloader\DownloaderMiddlewareInterface>' for RoachPHP\Core\RunFactory::buildDownloaderMiddleware (see https://psalm.dev/129)
MoreSpecificReturnType: src/Core/RunFactory.php#L68
src/Core/RunFactory.php:68:16: MoreSpecificReturnType: The declared return type 'list<RoachPHP\ItemPipeline\Processors\ItemProcessorInterface>' for RoachPHP\Core\RunFactory::buildItemPipeline is more specific than the inferred return type 'array<array-key, RoachPHP\ItemPipeline\Processors\ItemProcessorInterface>' (see https://psalm.dev/070)
InvalidDocblock: src/Core/FakeRunner.php#L25
src/Core/FakeRunner.php:25:5: InvalidDocblock: list<class-string<SpiderInterface>, array<int, array{overrides: null|Overrides, context: array}>> is not a valid type (Too many template parameters for list in /home/runner/work/core/core/src/Core/FakeRunner.php:22) (see https://psalm.dev/008)
MixedAssignment: src/Core/FakeRunner.php#L53
src/Core/FakeRunner.php:53:46: MixedAssignment: Unable to determine the type that $run is being assigned to (see https://psalm.dev/032)
MixedArrayAccess: src/Core/FakeRunner.php#L54
src/Core/FakeRunner.php:54:31: MixedArrayAccess: Cannot access array value on mixed variable $run (see https://psalm.dev/051)
MixedArgument: src/Core/FakeRunner.php#L54
src/Core/FakeRunner.php:54:31: MixedArgument: Argument 1 cannot be mixed, expecting RoachPHP\Spider\Configuration\Overrides|null (see https://psalm.dev/030)
MixedArrayAccess: src/Core/FakeRunner.php#L54
src/Core/FakeRunner.php:54:50: MixedArrayAccess: Cannot access array value on mixed variable $run (see https://psalm.dev/051)
MixedArgument: src/Core/FakeRunner.php#L54
src/Core/FakeRunner.php:54:50: MixedArgument: Argument 2 cannot be mixed, expecting array<array-key, mixed> (see https://psalm.dev/030)
MixedArrayAssignment: src/Core/FakeRunner.php#L80
src/Core/FakeRunner.php:80:9: MixedArrayAssignment: Cannot access array value on mixed variable $this->runs[$spiderClass] (see https://psalm.dev/117)
MoreSpecificReturnType: src/Core/RunFactory.php#L56
src/Core/RunFactory.php:56:16: MoreSpecificReturnType: The declared return type 'list<RoachPHP\Downloader\DownloaderMiddlewareInterface>' for RoachPHP\Core\RunFactory::buildDownloaderMiddleware is more specific than the inferred return type 'array<array-key, RoachPHP\Downloader\DownloaderMiddlewareInterface>' (see https://psalm.dev/070)
LessSpecificReturnStatement: src/Core/RunFactory.php#L60
src/Core/RunFactory.php:60:16: LessSpecificReturnStatement: The type 'array<array-key, RoachPHP\Downloader\DownloaderMiddlewareInterface>' is more general than the declared return type 'list<RoachPHP\Downloader\DownloaderMiddlewareInterface>' for RoachPHP\Core\RunFactory::buildDownloaderMiddleware (see https://psalm.dev/129)
MoreSpecificReturnType: src/Core/RunFactory.php#L68
src/Core/RunFactory.php:68:16: MoreSpecificReturnType: The declared return type 'list<RoachPHP\ItemPipeline\Processors\ItemProcessorInterface>' for RoachPHP\Core\RunFactory::buildItemPipeline is more specific than the inferred return type 'array<array-key, RoachPHP\ItemPipeline\Processors\ItemProcessorInterface>' (see https://psalm.dev/070)
P8.1 - prefer-stable - ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
P8.2 - prefer-lowest - ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
P8.1 - prefer-lowest - ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
P8.3 - prefer-stable - ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
P8.3 - prefer-lowest - ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
P8.2 - prefer-stable - ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.