chore: update hooks creator and hooks definition #1051
Annotations
10 errors and 2 warnings
compat/register-hooks.php#L1
Ignored error pattern #^Parameter \#2 \$callback of function add_action expects callable\(\)\: mixed, array\{mixed, 'action_clear_logs'\} given\.$# in path /home/runner/work/Notification/Notification/compat/register-hooks.php was not matched in reported errors.
|
compat/register-hooks.php#L1
Ignored error pattern #^Parameter \#2 \$callback of function add_action expects callable\(\)\: mixed, array\{mixed, 'activation_nag'\} given\.$# in path /home/runner/work/Notification/Notification/compat/register-hooks.php was not matched in reported errors.
|
compat/register-hooks.php#L1
Ignored error pattern #^Parameter \#2 \$callback of function add_action expects callable\(\)\: mixed, array\{mixed, 'activation_notices'\} given\.$# in path /home/runner/work/Notification/Notification/compat/register-hooks.php was not matched in reported errors.
|
compat/register-hooks.php#L1
Ignored error pattern #^Parameter \#2 \$callback of function add_action expects callable\(\)\: mixed, array\{mixed, 'add_conditionals…'\} given\.$# in path /home/runner/work/Notification/Notification/compat/register-hooks.php was not matched in reported errors.
|
compat/register-hooks.php#L1
Ignored error pattern #^Parameter \#2 \$callback of function add_action expects callable\(\)\: mixed, array\{mixed, 'add_help'\} given\.$# in path /home/runner/work/Notification/Notification/compat/register-hooks.php was not matched in reported errors.
|
compat/register-hooks.php#L1
Ignored error pattern #^Parameter \#2 \$callback of function add_action expects callable\(\)\: mixed, array\{mixed, 'add_merge_tags_meta…'\} given\.$# in path /home/runner/work/Notification/Notification/compat/register-hooks.php was not matched in reported errors.
|
compat/register-hooks.php#L1
Ignored error pattern #^Parameter \#2 \$callback of function add_action expects callable\(\)\: mixed, array\{mixed, 'add_notifications'\} given\.$# in path /home/runner/work/Notification/Notification/compat/register-hooks.php was not matched in reported errors.
|
compat/register-hooks.php#L1
Ignored error pattern #^Parameter \#2 \$callback of function add_action expects callable\(\)\: mixed, array\{mixed, 'add_save_meta_box'\} given\.$# in path /home/runner/work/Notification/Notification/compat/register-hooks.php was not matched in reported errors.
|
compat/register-hooks.php#L1
Ignored error pattern #^Parameter \#2 \$callback of function add_action expects callable\(\)\: mixed, array\{mixed, 'add_trigger_action'\} given\.$# in path /home/runner/work/Notification/Notification/compat/register-hooks.php was not matched in reported errors.
|
compat/register-hooks.php#L1
Ignored error pattern #^Parameter \#2 \$callback of function add_action expects callable\(\)\: mixed, array\{mixed, 'ajax_change…'\} given\.$# in path /home/runner/work/Notification/Notification/compat/register-hooks.php was not matched in reported errors.
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
This job failed
Loading