Skip to content

Feat: Implement speculative prerendering #5377

Feat: Implement speculative prerendering

Feat: Implement speculative prerendering #5377

Triggered via pull request May 9, 2024 08:46
Status Failure
Total duration 1m 27s
Artifacts

lint-php.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

7 errors
Lint: tests/phpunit/integration/tests/Speculation_Rules.php#L53
Class Google\Web_Stories\Speculation_Rules constructor invoked with 3 parameters, 1 required.
Lint: tests/phpunit/integration/tests/Speculation_Rules.php#L54
Parameter #1 $story_post_type of class Google\Web_Stories\Speculation_Rules constructor expects Google\Web_Stories\Story_Post_Type, Google\Web_Stories\Context&PHPUnit\Framework\MockObject\MockObject given.
Lint: tests/phpunit/integration/tests/Speculation_Rules.php#L86
Call to an undefined method Google\Web_Stories\Speculation_Rules&PHPUnit\Framework\MockObject\MockObject::load_rules().
Lint: tests/phpunit/integration/tests/Speculation_Rules.php#L108
Call to an undefined method Google\Web_Stories\Speculation_Rules&PHPUnit\Framework\MockObject\MockObject::load_rules().
Lint: tests/phpunit/integration/tests/Speculation_Rules.php#L137
Method Google\Web_Stories\Speculation_Rules::get_rules() invoked with 1 parameter, 0 required.
Lint: tests/phpunit/integration/tests/Speculation_Rules.php#L170
Method Google\Web_Stories\Speculation_Rules::get_rules() invoked with 1 parameter, 0 required.
Lint
Process completed with exit code 1.