Skip to content

Add support for withAnyArgs method for onFilter calls. #378

Add support for withAnyArgs method for onFilter calls.

Add support for withAnyArgs method for onFilter calls. #378

Triggered via pull request March 9, 2025 11:37
Status Failure
Total duration 52s
Artifacts

ci.yml

on: pull_request
php-compatibility
10s
php-static-analysis
14s
Matrix: php-tests

Annotations

7 errors
php-static-analysis: tests/Unit/WP_MockTest.php#L328
Call to an undefined method WP_Mock\Action_Responder|WP_Mock\Filter_Responder|WP_Mock\HookedCallbackResponder::reply().
php-static-analysis: tests/Unit/WP_MockTest.php#L334
Method WP_Mock\Tests\Unit\WP_MockTest::testOnFilterPasses() throws checked exception PHPUnit\Framework\ExpectationFailedException but it's missing from the PHPDoc @throws tag.
php-static-analysis: tests/Unit/WP_MockTest.php#L334
Method WP_Mock\Tests\Unit\WP_MockTest::testOnFilterPasses() throws checked exception SebastianBergmann\RecursionContext\InvalidArgumentException but it's missing from the PHPDoc @throws tag.
php-static-analysis: tests/Unit/WP_MockTest.php#L351
Call to an undefined method WP_Mock\Action_Responder|WP_Mock\Filter_Responder|WP_Mock\HookedCallbackResponder::reply().
php-static-analysis: tests/Unit/WP_MockTest.php#L357
Method WP_Mock\Tests\Unit\WP_MockTest::testOnFilterPassesWithAnything() throws checked exception PHPUnit\Framework\ExpectationFailedException but it's missing from the PHPDoc @throws tag.
php-static-analysis: tests/Unit/WP_MockTest.php#L357
Method WP_Mock\Tests\Unit\WP_MockTest::testOnFilterPassesWithAnything() throws checked exception SebastianBergmann\RecursionContext\InvalidArgumentException but it's missing from the PHPDoc @throws tag.
php-static-analysis
Process completed with exit code 1.