Add convenience ::expectFilterRemoved()
::expectActionRemoved()
Fix #157
#354
ci.yml
on: pull_request
php-compatibility
9s
php-static-analysis
14s
Matrix: php-tests
Annotations
9 errors and 59 warnings
php-static-analysis:
php/WP_Mock.php#L560
Method WP_Mock::expectActionRemoved() has parameter $priority with no type specified.
|
php-static-analysis:
php/WP_Mock.php#L560
PHPDoc tag @param has invalid value (?int|Type $priority the priority it should be registered at): Unexpected token "|", expected variable at offset 228
|
php-static-analysis:
php/WP_Mock.php#L581
Method WP_Mock::expectActionNotRemoved() has parameter $priority with no type specified.
|
php-static-analysis:
php/WP_Mock.php#L581
PHPDoc tag @param has invalid value (?int|Type $priority optional priority for the registered callback that is being removed): Unexpected token "|", expected variable at offset 237
|
php-static-analysis:
php/WP_Mock.php#L602
Method WP_Mock::expectFilterRemoved() has parameter $priority with no type specified.
|
php-static-analysis:
php/WP_Mock.php#L602
PHPDoc tag @param has invalid value (?int|Type $priority the registered priority): Unexpected token "|", expected variable at offset 222
|
php-static-analysis:
php/WP_Mock.php#L623
Method WP_Mock::expectFilterNotRemoved() has parameter $priority with no type specified.
|
php-static-analysis:
php/WP_Mock.php#L623
PHPDoc tag @param has invalid value (?int|Type $priority optional priority for the registered callback that is being removed): Unexpected token "|", expected variable at offset 231
|
php-static-analysis
Process completed with exit code 1.
|
php-compatibility
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@e2f20e631ae6d7dd3b768f56a5d2af784dd54791, actions/cache@9b0c1fce7a93df8e3bb8926b0d6e9d89e92f20a7. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
php-compatibility
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@e2f20e631ae6d7dd3b768f56a5d2af784dd54791. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
php-static-analysis
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@e2f20e631ae6d7dd3b768f56a5d2af784dd54791, actions/cache@9b0c1fce7a93df8e3bb8926b0d6e9d89e92f20a7. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
php-static-analysis
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@e2f20e631ae6d7dd3b768f56a5d2af784dd54791. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
php-tests (7.4, ubuntu-20.04)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@7884fcad6b5d53d10323aee724dc68d8b9096a2e, actions/cache@937d24475381cd9c75ae6db12cb4e79714b926ed. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
php-tests (7.4, ubuntu-20.04)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@7884fcad6b5d53d10323aee724dc68d8b9096a2e, actions/cache@937d24475381cd9c75ae6db12cb4e79714b926ed. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
php-tests (7.4, ubuntu-20.04)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
php-tests (7.4, ubuntu-20.04)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
php-tests (7.4, ubuntu-20.04)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
php-tests (7.4, ubuntu-20.04)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
php-tests (7.4, ubuntu-20.04)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
php-tests (7.4, ubuntu-20.04)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
php-tests (7.4, ubuntu-20.04)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
php-tests (7.4, ubuntu-20.04)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
php-tests (7.4, ubuntu-20.04)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
php-tests (8.0, ubuntu-20.04)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@7884fcad6b5d53d10323aee724dc68d8b9096a2e, actions/cache@937d24475381cd9c75ae6db12cb4e79714b926ed. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
php-tests (8.0, ubuntu-20.04)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@7884fcad6b5d53d10323aee724dc68d8b9096a2e, actions/cache@937d24475381cd9c75ae6db12cb4e79714b926ed. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
php-tests (8.0, ubuntu-20.04)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
php-tests (8.0, ubuntu-20.04)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
php-tests (8.0, ubuntu-20.04)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
php-tests (8.0, ubuntu-20.04)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
php-tests (8.0, ubuntu-20.04)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
php-tests (8.0, ubuntu-20.04)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
php-tests (8.0, ubuntu-20.04)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
php-tests (8.0, ubuntu-20.04)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
php-tests (8.0, ubuntu-20.04)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
php-tests (8.1, ubuntu-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@7884fcad6b5d53d10323aee724dc68d8b9096a2e, actions/cache@937d24475381cd9c75ae6db12cb4e79714b926ed. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
php-tests (8.1, ubuntu-latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@7884fcad6b5d53d10323aee724dc68d8b9096a2e, actions/cache@937d24475381cd9c75ae6db12cb4e79714b926ed. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
php-tests (8.1, ubuntu-latest)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
php-tests (8.1, ubuntu-latest)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
php-tests (8.1, ubuntu-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
php-tests (8.1, ubuntu-latest)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
php-tests (8.1, ubuntu-latest)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
php-tests (8.1, ubuntu-latest)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
php-tests (8.1, ubuntu-latest)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
php-tests (8.1, ubuntu-latest)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
php-tests (8.1, ubuntu-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
php-tests (8.3, ubuntu-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@7884fcad6b5d53d10323aee724dc68d8b9096a2e, actions/cache@937d24475381cd9c75ae6db12cb4e79714b926ed. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
php-tests (8.3, ubuntu-latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@7884fcad6b5d53d10323aee724dc68d8b9096a2e, actions/cache@937d24475381cd9c75ae6db12cb4e79714b926ed. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
php-tests (8.3, ubuntu-latest)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
php-tests (8.3, ubuntu-latest)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
php-tests (8.3, ubuntu-latest)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
php-tests (8.3, ubuntu-latest)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
php-tests (8.3, ubuntu-latest)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
php-tests (8.3, ubuntu-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
php-tests (8.3, ubuntu-latest)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
php-tests (8.3, ubuntu-latest)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
php-tests (8.3, ubuntu-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
php-tests (8.2, ubuntu-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@7884fcad6b5d53d10323aee724dc68d8b9096a2e, actions/cache@937d24475381cd9c75ae6db12cb4e79714b926ed. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
php-tests (8.2, ubuntu-latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@7884fcad6b5d53d10323aee724dc68d8b9096a2e, actions/cache@937d24475381cd9c75ae6db12cb4e79714b926ed. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
php-tests (8.2, ubuntu-latest)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
php-tests (8.2, ubuntu-latest)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
php-tests (8.2, ubuntu-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
php-tests (8.2, ubuntu-latest)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
php-tests (8.2, ubuntu-latest)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
php-tests (8.2, ubuntu-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
php-tests (8.2, ubuntu-latest)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
php-tests (8.2, ubuntu-latest)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
php-tests (8.2, ubuntu-latest)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|