Start fixing phpstan fails #13
Annotations
50 errors and 5 warnings
phpstan (8.2):
src/Common/Site_Health/Fields/Post_Status_Count_Field.php#L33
Method TEC\Common\Site_Health\Fields\Post_Status_Count_Field::__construct() overrides method TEC\Common\Site_Health\Info_Field_Interface::__construct() but misses parameter #4 $priority.
|
phpstan (8.2):
src/Common/Site_Health/Fields/Post_Status_Count_Field.php#L33
Parameter #3 $priority (int) of method TEC\Common\Site_Health\Fields\Post_Status_Count_Field::__construct() is not contravariant with parameter #3 $value (mixed) of method TEC\Common\Site_Health\Info_Field_Interface::__construct().
|
phpstan (8.2):
src/Tribe/Container.php#L301
Class Tribe\Tickets\Admin\Home\Service_Provider not found.
|
phpstan (8.2):
src/Tribe/Customizer/Section.php#L340
Method Tribe__Customizer__Section::setup_arguments() should return array<string, callable> but return statement is missing.
|
phpstan (8.2):
src/Tribe/Customizer/Section.php#L713
@param array<string, callable(): mixed> $control_types does not accept actual type of parameter: array{checkbox: 'WP_Customize_Control', color: 'WP_Customize_Color_Control', default: 'WP_Customize_Control', dropdown-pages: 'WP_Customize_Control', heading: 'Tribe\\Customizer\\Controls\\Heading', image: 'WP_Customize_Image_Control', radio: 'Tribe\\Customizer\\Controls\\Radio', select: 'WP_Customize_Control', ...}.
|
phpstan (8.2):
src/Tribe/Data.php#L84
Return type mixed of method Tribe__Data::offsetGet() is not covariant with tentative return type mixed of method ArrayAccess::offsetGet().
|
phpstan (8.2):
src/Tribe/Data.php#L103
Return type mixed of method Tribe__Data::offsetSet() is not covariant with tentative return type void of method ArrayAccess::offsetSet().
|
phpstan (8.2):
src/Tribe/Data.php#L117
Return type mixed of method Tribe__Data::offsetUnset() is not covariant with tentative return type void of method ArrayAccess::offsetUnset().
|
phpstan (8.2):
src/Tribe/Data.php#L164
Return type mixed of method Tribe__Data::current() is not covariant with tentative return type mixed of method Iterator::current().
|
phpstan (8.2):
src/Tribe/Data.php#L177
Return type mixed of method Tribe__Data::next() is not covariant with tentative return type void of method Iterator::next().
|
phpstan (7.4):
src/Common/Site_Health/Fields/Post_Status_Count_Field.php#L33
Method TEC\Common\Site_Health\Fields\Post_Status_Count_Field::__construct() overrides method TEC\Common\Site_Health\Info_Field_Interface::__construct() but misses parameter #4 $priority.
|
phpstan (7.4):
src/Common/Site_Health/Fields/Post_Status_Count_Field.php#L33
Parameter #3 $priority (int) of method TEC\Common\Site_Health\Fields\Post_Status_Count_Field::__construct() is not contravariant with parameter #3 $value (mixed) of method TEC\Common\Site_Health\Info_Field_Interface::__construct().
|
phpstan (7.4):
src/Tribe/Container.php#L301
Class Tribe\Tickets\Admin\Home\Service_Provider not found.
|
phpstan (7.4):
src/Tribe/Customizer/Section.php#L340
Method Tribe__Customizer__Section::setup_arguments() should return array<string, callable> but return statement is missing.
|
phpstan (7.4):
src/Tribe/Customizer/Section.php#L713
@param array<string, callable(): mixed> $control_types does not accept actual type of parameter: array{checkbox: 'WP_Customize_Control', color: 'WP_Customize_Color_Control', default: 'WP_Customize_Control', dropdown-pages: 'WP_Customize_Control', heading: 'Tribe\\Customizer\\Controls\\Heading', image: 'WP_Customize_Image_Control', radio: 'Tribe\\Customizer\\Controls\\Radio', select: 'WP_Customize_Control', ...}.
|
phpstan (7.4):
src/Tribe/Debug_Bar/Panels/Context.php#L10
Class Tribe__Debug_Bar__Panels__Context extends unknown class Debug_Bar_Panel.
|
phpstan (7.4):
src/Tribe/Debug_Bar/Panels/Context.php#L10
No error to ignore is reported on line 10.
|
phpstan (7.4):
src/Tribe/Debug_Bar/Panels/Json_Ld.php#L10
Class Tribe__Debug_Bar__Panels__Json_Ld extends unknown class Debug_Bar_Panel.
|
phpstan (7.4):
src/Tribe/Debug_Bar/Panels/Json_Ld.php#L10
No error to ignore is reported on line 10.
|
phpstan (7.4):
src/Tribe/Dialog/View.php#L103
Method Tribe\Dialog\View::render_dialog() should return string but return statement is missing.
|
phpstan (8.1):
src/Common/Site_Health/Fields/Post_Status_Count_Field.php#L33
Method TEC\Common\Site_Health\Fields\Post_Status_Count_Field::__construct() overrides method TEC\Common\Site_Health\Info_Field_Interface::__construct() but misses parameter #4 $priority.
|
phpstan (8.1):
src/Common/Site_Health/Fields/Post_Status_Count_Field.php#L33
Parameter #3 $priority (int) of method TEC\Common\Site_Health\Fields\Post_Status_Count_Field::__construct() is not contravariant with parameter #3 $value (mixed) of method TEC\Common\Site_Health\Info_Field_Interface::__construct().
|
phpstan (8.1):
src/Tribe/Container.php#L301
Class Tribe\Tickets\Admin\Home\Service_Provider not found.
|
phpstan (8.1):
src/Tribe/Customizer/Section.php#L340
Method Tribe__Customizer__Section::setup_arguments() should return array<string, callable> but return statement is missing.
|
phpstan (8.1):
src/Tribe/Customizer/Section.php#L713
@param array<string, callable(): mixed> $control_types does not accept actual type of parameter: array{checkbox: 'WP_Customize_Control', color: 'WP_Customize_Color_Control', default: 'WP_Customize_Control', dropdown-pages: 'WP_Customize_Control', heading: 'Tribe\\Customizer\\Controls\\Heading', image: 'WP_Customize_Image_Control', radio: 'Tribe\\Customizer\\Controls\\Radio', select: 'WP_Customize_Control', ...}.
|
phpstan (8.1):
src/Tribe/Data.php#L84
Return type mixed of method Tribe__Data::offsetGet() is not covariant with tentative return type mixed of method ArrayAccess::offsetGet().
|
phpstan (8.1):
src/Tribe/Data.php#L103
Return type mixed of method Tribe__Data::offsetSet() is not covariant with tentative return type void of method ArrayAccess::offsetSet().
|
phpstan (8.1):
src/Tribe/Data.php#L117
Return type mixed of method Tribe__Data::offsetUnset() is not covariant with tentative return type void of method ArrayAccess::offsetUnset().
|
phpstan (8.1):
src/Tribe/Data.php#L164
Return type mixed of method Tribe__Data::current() is not covariant with tentative return type mixed of method Iterator::current().
|
phpstan (8.1):
src/Tribe/Data.php#L177
Return type mixed of method Tribe__Data::next() is not covariant with tentative return type void of method Iterator::next().
|
phpstan (8.0):
src/Common/Site_Health/Fields/Post_Status_Count_Field.php#L33
Method TEC\Common\Site_Health\Fields\Post_Status_Count_Field::__construct() overrides method TEC\Common\Site_Health\Info_Field_Interface::__construct() but misses parameter #4 $priority.
|
phpstan (8.0):
src/Common/Site_Health/Fields/Post_Status_Count_Field.php#L33
Parameter #3 $priority (int) of method TEC\Common\Site_Health\Fields\Post_Status_Count_Field::__construct() is not contravariant with parameter #3 $value (mixed) of method TEC\Common\Site_Health\Info_Field_Interface::__construct().
|
phpstan (8.0):
src/Tribe/Container.php#L301
Class Tribe\Tickets\Admin\Home\Service_Provider not found.
|
phpstan (8.0):
src/Tribe/Customizer/Section.php#L340
Method Tribe__Customizer__Section::setup_arguments() should return array<string, callable> but return statement is missing.
|
phpstan (8.0):
src/Tribe/Customizer/Section.php#L713
@param array<string, callable(): mixed> $control_types does not accept actual type of parameter: array{checkbox: 'WP_Customize_Control', color: 'WP_Customize_Color_Control', default: 'WP_Customize_Control', dropdown-pages: 'WP_Customize_Control', heading: 'Tribe\\Customizer\\Controls\\Heading', image: 'WP_Customize_Image_Control', radio: 'Tribe\\Customizer\\Controls\\Radio', select: 'WP_Customize_Control', ...}.
|
phpstan (8.0):
src/Tribe/Debug_Bar/Panels/Context.php#L10
Class Tribe__Debug_Bar__Panels__Context extends unknown class Debug_Bar_Panel.
|
phpstan (8.0):
src/Tribe/Debug_Bar/Panels/Context.php#L10
No error to ignore is reported on line 10.
|
phpstan (8.0):
src/Tribe/Debug_Bar/Panels/Json_Ld.php#L10
Class Tribe__Debug_Bar__Panels__Json_Ld extends unknown class Debug_Bar_Panel.
|
phpstan (8.0):
src/Tribe/Debug_Bar/Panels/Json_Ld.php#L10
No error to ignore is reported on line 10.
|
phpstan (8.0):
src/Tribe/Dialog/View.php#L103
Method Tribe\Dialog\View::render_dialog() should return string but return statement is missing.
|
phpstan (8.3):
src/Common/Site_Health/Fields/Post_Status_Count_Field.php#L33
Method TEC\Common\Site_Health\Fields\Post_Status_Count_Field::__construct() overrides method TEC\Common\Site_Health\Info_Field_Interface::__construct() but misses parameter #4 $priority.
|
phpstan (8.3):
src/Common/Site_Health/Fields/Post_Status_Count_Field.php#L33
Parameter #3 $priority (int) of method TEC\Common\Site_Health\Fields\Post_Status_Count_Field::__construct() is not contravariant with parameter #3 $value (mixed) of method TEC\Common\Site_Health\Info_Field_Interface::__construct().
|
phpstan (8.3):
src/Tribe/Container.php#L301
Class Tribe\Tickets\Admin\Home\Service_Provider not found.
|
phpstan (8.3):
src/Tribe/Customizer/Section.php#L340
Method Tribe__Customizer__Section::setup_arguments() should return array<string, callable> but return statement is missing.
|
phpstan (8.3):
src/Tribe/Customizer/Section.php#L713
@param array<string, callable(): mixed> $control_types does not accept actual type of parameter: array{checkbox: 'WP_Customize_Control', color: 'WP_Customize_Color_Control', default: 'WP_Customize_Control', dropdown-pages: 'WP_Customize_Control', heading: 'Tribe\\Customizer\\Controls\\Heading', image: 'WP_Customize_Image_Control', radio: 'Tribe\\Customizer\\Controls\\Radio', select: 'WP_Customize_Control', ...}.
|
phpstan (8.3):
src/Tribe/Data.php#L84
Return type mixed of method Tribe__Data::offsetGet() is not covariant with tentative return type mixed of method ArrayAccess::offsetGet().
|
phpstan (8.3):
src/Tribe/Data.php#L103
Return type mixed of method Tribe__Data::offsetSet() is not covariant with tentative return type void of method ArrayAccess::offsetSet().
|
phpstan (8.3):
src/Tribe/Data.php#L117
Return type mixed of method Tribe__Data::offsetUnset() is not covariant with tentative return type void of method ArrayAccess::offsetUnset().
|
phpstan (8.3):
src/Tribe/Data.php#L164
Return type mixed of method Tribe__Data::current() is not covariant with tentative return type mixed of method Iterator::current().
|
phpstan (8.3):
src/Tribe/Data.php#L177
Return type mixed of method Tribe__Data::next() is not covariant with tentative return type void of method Iterator::next().
|
phpstan (8.2)
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/
|
phpstan (7.4)
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/
|
phpstan (8.1)
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/
|
phpstan (8.0)
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/
|
phpstan (8.3)
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/
|