Skip to content

Bucket/phpstan and fixes #23

Bucket/phpstan and fixes

Bucket/phpstan and fixes #23

Triggered via pull request March 20, 2024 18:36
Status Failure
Total duration 1m 13s
Artifacts

phpstan.yml

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

Annotations

45 errors and 2 warnings
phpstan (8.1): src/Common/Site_Health/Fields/Generic_Info_Field.php#L43
Unsafe usage of new static().
phpstan (8.1): src/Common/Site_Health/Fields/Generic_Info_Field.php#L59
Unsafe usage of new static().
phpstan (8.1): src/Tribe/Admin/Helpers.php#L53
@param bool $bypass does not accept actual type of parameter: null.
phpstan (8.1): src/Tribe/Admin/Notices.php#L6
Used function Crontrol\Event\delete not found.
phpstan (8.1): src/Tribe/Admin/Notices.php#L645
Method Tribe__Admin__Notices::register_transient() should return stdClass but return statement is missing.
phpstan (8.1): src/Tribe/Ajax/Dropdown.php#L355
Result of method Tribe__Ajax__Dropdown::error() (void) is used.
phpstan (8.1): src/Tribe/Container.php#L301
Class Tribe\Tickets\Admin\Home\Service_Provider not found.
phpstan (8.1): src/Tribe/Context.php#L461
One or more @param tags has an invalid name or invalid syntax.
phpstan (8.1): src/Tribe/Context.php#L1183
One or more @param tags has an invalid name or invalid syntax.
phpstan (8.1): src/Tribe/Context.php#L1197
One or more @param tags has an invalid name or invalid syntax.
phpstan (8.2)
The job was canceled because "_8_1" failed.
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/Helpers.php#L53
@param bool $bypass does not accept actual type of parameter: null.
phpstan (8.2): src/Tribe/Admin/Notices.php#L6
Used function Crontrol\Event\delete not found.
phpstan (8.2): src/Tribe/Admin/Notices.php#L645
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#L355
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.2): src/Tribe/Context.php#L1183
One or more @param tags has an invalid name or invalid syntax.
phpstan (8.3)
The job was canceled because "_8_1" failed.
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/Helpers.php#L53
@param bool $bypass does not accept actual type of parameter: null.
phpstan (8.3): src/Tribe/Admin/Notices.php#L6
Used function Crontrol\Event\delete not found.
phpstan (8.3): src/Tribe/Admin/Notices.php#L645
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#L355
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.3): src/Tribe/Context.php#L1183
One or more @param tags has an invalid name or invalid syntax.
phpstan (7.4)
The job was canceled because "_8_1" failed.
phpstan (7.4): src/Common/Site_Health/Fields/Generic_Info_Field.php#L43
Unsafe usage of new static().
phpstan (7.4): src/Common/Site_Health/Fields/Generic_Info_Field.php#L59
Unsafe usage of new static().
phpstan (7.4): src/Tribe/Admin/Helpers.php#L53
@param bool $bypass does not accept actual type of parameter: null.
phpstan (7.4): src/Tribe/Admin/Notices.php#L6
Used function Crontrol\Event\delete not found.
phpstan (7.4): src/Tribe/Admin/Notices.php#L645
Method Tribe__Admin__Notices::register_transient() should return stdClass but return statement is missing.
phpstan (7.4): src/Tribe/Ajax/Dropdown.php#L355
Result of method Tribe__Ajax__Dropdown::error() (void) is used.
phpstan (7.4): src/Tribe/Container.php#L301
Class Tribe\Tickets\Admin\Home\Service_Provider not found.
phpstan (7.4): src/Tribe/Context.php#L461
One or more @param tags has an invalid name or invalid syntax.
phpstan (7.4): src/Tribe/Context.php#L1183
One or more @param tags has an invalid name or invalid syntax.
phpstan (7.4): src/Tribe/Context.php#L1197
One or more @param tags has an invalid name or invalid syntax.
phpstan (8.0)
The job was canceled because "_8_1" failed.
phpstan (8.0)
The operation was canceled.
phpstan (8.1)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
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/