Skip to content

Start fixing phpstan fails #6

Start fixing phpstan fails

Start fixing phpstan fails #6

Triggered via pull request November 1, 2023 16:40
Status Failure
Total duration 1m 23s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

phpstan.yml

on: pull_request
Matrix: phpstan
Fit to window
Zoom out
Zoom in

Annotations

32 errors and 5 warnings
phpstan (8.3): src/Common/Site_Health/Fields/Generic_Info_Field.php#L43
Unsafe usage of new static().
phpstan (8.3): src/Common/Site_Health/Fields/Generic_Info_Field.php#L59
Unsafe usage of new static().
phpstan (8.3): src/Tribe/Admin/Notice/Plugin_Upgrade_Notice.php#L176
Method Tribe__Admin__Notice__Plugin_Upgrade_Notice::parse_for_upgrade_notice() should return string but return statement is missing.
phpstan (8.3): src/Tribe/Admin/Notices.php#L6
Used function Crontrol\Event\delete not found.
phpstan (8.3): src/Tribe/Admin/Notices.php#L616
Method Tribe__Admin__Notices::register_transient() should return stdClass but return statement is missing.
phpstan (8.3): src/Tribe/Admin/Upsell_Notice/Main.php#L32
Static access to instance property Tribe\Admin\Upsell_Notice\Main::$template.
phpstan (8.3): src/Tribe/Ajax/Dropdown.php#L200
Method Tribe__Ajax__Dropdown::sort_terms_hierarchically() should return array but return statement is missing.
phpstan (8.3): src/Tribe/Ajax/Dropdown.php#L338
Result of method Tribe__Ajax__Dropdown::error() (void) is used.
phpstan (8.3): src/Tribe/Container.php#L301
Class Tribe\Tickets\Admin\Home\Service_Provider not found.
phpstan (8.3): src/Tribe/Context.php#L461
One or more @param tags has an invalid name or invalid syntax.
phpstan (8.2): src/Common/Site_Health/Fields/Generic_Info_Field.php#L43
Unsafe usage of new static().
phpstan (8.2): src/Common/Site_Health/Fields/Generic_Info_Field.php#L59
Unsafe usage of new static().
phpstan (8.2): src/Tribe/Admin/Notice/Plugin_Upgrade_Notice.php#L176
Method Tribe__Admin__Notice__Plugin_Upgrade_Notice::parse_for_upgrade_notice() should return string but return statement is missing.
phpstan (8.2): src/Tribe/Admin/Notices.php#L6
Used function Crontrol\Event\delete not found.
phpstan (8.2): src/Tribe/Admin/Notices.php#L616
Method Tribe__Admin__Notices::register_transient() should return stdClass but return statement is missing.
phpstan (8.2): src/Tribe/Admin/Upsell_Notice/Main.php#L32
Static access to instance property Tribe\Admin\Upsell_Notice\Main::$template.
phpstan (8.2): src/Tribe/Ajax/Dropdown.php#L200
Method Tribe__Ajax__Dropdown::sort_terms_hierarchically() should return array but return statement is missing.
phpstan (8.2): src/Tribe/Ajax/Dropdown.php#L338
Result of method Tribe__Ajax__Dropdown::error() (void) is used.
phpstan (8.2): src/Tribe/Container.php#L301
Class Tribe\Tickets\Admin\Home\Service_Provider not found.
phpstan (8.2): src/Tribe/Context.php#L461
One or more @param tags has an invalid name or invalid syntax.
phpstan (8.0): src/Common/Site_Health/Fields/Generic_Info_Field.php#L43
Unsafe usage of new static().
phpstan (8.0): src/Common/Site_Health/Fields/Generic_Info_Field.php#L59
Unsafe usage of new static().
phpstan (8.0): src/Tribe/Admin/Notice/Plugin_Upgrade_Notice.php#L176
Method Tribe__Admin__Notice__Plugin_Upgrade_Notice::parse_for_upgrade_notice() should return string but return statement is missing.
phpstan (8.0): src/Tribe/Admin/Notices.php#L6
Used function Crontrol\Event\delete not found.
phpstan (8.0): src/Tribe/Admin/Notices.php#L616
Method Tribe__Admin__Notices::register_transient() should return stdClass but return statement is missing.
phpstan (8.0): src/Tribe/Ajax/Dropdown.php#L200
Method Tribe__Ajax__Dropdown::sort_terms_hierarchically() should return array but return statement is missing.
phpstan (8.0): src/Tribe/Ajax/Dropdown.php#L338
Result of method Tribe__Ajax__Dropdown::error() (void) is used.
phpstan (8.0): src/Tribe/Container.php#L301
Class Tribe\Tickets\Admin\Home\Service_Provider not found.
phpstan (8.0): src/Tribe/Context.php#L461
One or more @param tags has an invalid name or invalid syntax.
phpstan (8.0): src/Tribe/Context.php#L1183
One or more @param tags has an invalid name or invalid syntax.
phpstan (7.4)
The operation was canceled.
phpstan (8.1)
The operation was canceled.
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/
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 (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 (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/