Add a helper for getting the since value. #12
Annotations
18 errors
PHP 8.3:
tests/phpunit/HooksTest.php#L56
Cannot call method getDoc() on WPHooks\Hook|null.
|
PHP 8.3:
tests/phpunit/HooksTest.php#L69
Cannot call method getDoc() on WPHooks\Hook|null.
|
PHP 8.3:
tests/phpunit/HooksTest.php#L78
Cannot call method getDoc() on WPHooks\Hook|null.
|
PHP 8.3:
tests/phpunit/HooksTest.php#L81
Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'WPHooks\\Tag' and WPHooks\Tag will always evaluate to true.
|
PHP 8.3:
tests/phpunit/HooksTest.php#L82
Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'WPHooks\\Tag' and WPHooks\Tag will always evaluate to true.
|
PHP 8.3:
tests/phpunit/HooksTest.php#L89
Cannot call method getDoc() on WPHooks\Hook|null.
|
PHP 8.3:
tests/phpunit/HooksTest.php#L98
Cannot call method getDoc() on WPHooks\Hook|null.
|
PHP 8.3:
tests/phpunit/HooksTest.php#L151
Method WPHooks\Tests\HooksTest::getActions() is unused.
|
PHP 8.3
Process completed with exit code 1.
|
PHP 7.4:
tests/phpunit/HooksTest.php#L56
Cannot call method getDoc() on WPHooks\Hook|null.
|
PHP 7.4:
tests/phpunit/HooksTest.php#L69
Cannot call method getDoc() on WPHooks\Hook|null.
|
PHP 7.4:
tests/phpunit/HooksTest.php#L78
Cannot call method getDoc() on WPHooks\Hook|null.
|
PHP 7.4:
tests/phpunit/HooksTest.php#L81
Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'WPHooks\\Tag' and WPHooks\Tag will always evaluate to true.
|
PHP 7.4:
tests/phpunit/HooksTest.php#L82
Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'WPHooks\\Tag' and WPHooks\Tag will always evaluate to true.
|
PHP 7.4:
tests/phpunit/HooksTest.php#L89
Cannot call method getDoc() on WPHooks\Hook|null.
|
PHP 7.4:
tests/phpunit/HooksTest.php#L98
Cannot call method getDoc() on WPHooks\Hook|null.
|
PHP 7.4:
tests/phpunit/HooksTest.php#L151
Method WPHooks\Tests\HooksTest::getActions() is unused.
|
PHP 7.4
Process completed with exit code 1.
|