Skip to content

Allow assertions against elements by CSS query selector #1544

Allow assertions against elements by CSS query selector

Allow assertions against elements by CSS query selector #1544

Triggered via pull request February 28, 2024 21:24
Status Failure
Total duration 47s
Artifacts

coding-standards.yml

on: pull_request
coding-standards  /  phpcs 8.2
32s
coding-standards / phpcs 8.2
phpstan  /  phpstan PHP 8.2
37s
phpstan / phpstan PHP 8.2
Fit to window
Zoom out
Zoom in

Annotations

4 errors
coding-standards / phpcs 8.2
Process completed with exit code 1.
phpstan / phpstan PHP 8.2: src/mantle/testing/concerns/trait-element-assertions.php (in context of class Mantle/Testing/Test_Response)#L165
Method Mantle\Testing\Test_Response::assertQuerySelectorExists() with return type void returns static(Mantle\Testing\Test_Response) but should not return anything.
phpstan / phpstan PHP 8.2: src/mantle/testing/concerns/trait-element-assertions.php (in context of class Mantle/Testing/Test_Response)#L185
Method Mantle\Testing\Test_Response::assertQuerySelectorMissing() with return type void returns static(Mantle\Testing\Test_Response) but should not return anything.
phpstan / phpstan PHP 8.2
Process completed with exit code 1.