Version 9.6.1 #3
pull-request-lint.yml
on: pull_request
phpcs
/
PHPCS
24s
js-unit
/
Run JS Unit tests
37s
Matrix: php-lint
Matrix: phpstan
Matrix: wp-unit
Annotations
10 errors and 11 warnings
phpstan (7.4, 6.2.5) / PHPStan:
content/plugins/advanced-sidebar-menu/src/Blocks/Block_Abstract.php#L178
PHPDoc tag @param for parameter $widget contains generic type WP_Widget<array<string, int|string>> but class WP_Widget is not generic.
|
phpstan (7.4, 6.2.5) / PHPStan:
content/plugins/advanced-sidebar-menu/src/Core.php#L60
PHPDoc tag @param for parameter $widget contains generic type WP_Widget<array<string, int|string>> but class WP_Widget is not generic.
|
phpstan (7.4, 6.2.5) / PHPStan:
content/plugins/advanced-sidebar-menu/src/Notice.php#L86
PHPDoc tag @param for parameter $widget contains generic type WP_Widget<array<string, int|string>> but class WP_Widget is not generic.
|
phpstan (7.4, 6.2.5) / PHPStan:
content/plugins/advanced-sidebar-menu/src/Notice.php#L151
PHPDoc tag @param for parameter $widget contains generic type WP_Widget<array<string, int|string>> but class WP_Widget is not generic.
|
phpstan (7.4, 6.2.5) / PHPStan:
content/plugins/advanced-sidebar-menu/src/Widget/Category.php#L335
Parameter #1 $instance (array{display-posts?: string, display_all?: ''|'checked', exclude: string, include_childless_parent?: ''|'checked', include_parent?: ''|'checked', levels: int|numeric-string, new_widget: 'list'|'widget', single: ''|'checked', ...}) of method Advanced_Sidebar_Menu\Widget\Category::form() should be contravariant with parameter $instance (array) of method WP_Widget::form()
|
phpstan (7.4, 6.2.5) / PHPStan:
content/plugins/advanced-sidebar-menu/src/Widget/Category.php#L375
Parameter #1 $new_instance (array{display-posts?: string, display_all?: ''|'checked', exclude: string, include_childless_parent?: ''|'checked', include_parent?: ''|'checked', levels: int|numeric-string, new_widget: 'list'|'widget', single: ''|'checked', ...}) of method Advanced_Sidebar_Menu\Widget\Category::update() should be contravariant with parameter $new_instance (array) of method WP_Widget::update()
|
phpstan (7.4, 6.2.5) / PHPStan:
content/plugins/advanced-sidebar-menu/src/Widget/Category.php#L375
Parameter #2 $old_instance (array{display-posts?: string, display_all?: ''|'checked', exclude: string, include_childless_parent?: ''|'checked', include_parent?: ''|'checked', levels: int|numeric-string, new_widget: 'list'|'widget', single: ''|'checked', ...}) of method Advanced_Sidebar_Menu\Widget\Category::update() should be contravariant with parameter $old_instance (array) of method WP_Widget::update()
|
phpstan (7.4, 6.2.5) / PHPStan:
content/plugins/advanced-sidebar-menu/src/Widget/Category.php#L390
Parameter #1 $args (array{name?: string, id?: string, id_increment?: string, description?: string, class?: string, before_widget: string, after_widget: string, before_title: string, ...}) of method Advanced_Sidebar_Menu\Widget\Category::widget() should be contravariant with parameter $args (array) of method WP_Widget::widget()
|
phpstan (7.4, 6.2.5) / PHPStan:
content/plugins/advanced-sidebar-menu/src/Widget/Category.php#L390
Parameter #2 $instance (array{display-posts?: string, display_all?: ''|'checked', exclude: string, include_childless_parent?: ''|'checked', include_parent?: ''|'checked', levels: int|numeric-string, new_widget: 'list'|'widget', single: ''|'checked', ...}) of method Advanced_Sidebar_Menu\Widget\Category::widget() should be contravariant with parameter $instance (array) of method WP_Widget::widget()
|
phpstan (7.4, 6.2.5) / PHPStan:
content/plugins/advanced-sidebar-menu/src/Widget/Page.php#L306
Parameter #1 $instance (array{exclude: string, order_by: 'menu_order'|'post_date'|'post_title', title?: string, display_all?: ''|'checked', include_childless_parent?: ''|'checked', include_parent?: ''|'checked', levels?: int|numeric-string, post_type?: string}) of method Advanced_Sidebar_Menu\Widget\Page::form() should be contravariant with parameter $instance (array) of method WP_Widget::form()
|
phpcs / PHPCS
Cache save failed.
|
phpstan (8.3, 6.6.0) / PHPStan
Cache save failed.
|
phpstan (7.4, 6.2.5) / PHPStan
Cache save failed.
|
wp-unit (6.2.6, 7.4, multisite) / wp-unit
Cache save failed.
|
wp-unit (6.2.6, 7.4, multisite) / wp-unit
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
wp-unit (6.6.1, 8.3, multisite) / wp-unit
Cache save failed.
|
wp-unit (6.6.1, 8.3, multisite) / wp-unit
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
wp-unit (6.6.1, 7.4, multisite) / wp-unit
Cache save failed.
|
wp-unit (6.6.1, 7.4, multisite) / wp-unit
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
wp-unit (6.2.6, 8.3, multisite) / wp-unit
Cache save failed.
|
wp-unit (6.2.6, 8.3, multisite) / wp-unit
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|