Skip to content

Start fixing phpstan fails #9

Start fixing phpstan fails

Start fixing phpstan fails #9

Triggered via pull request November 2, 2023 18:18
Status Failure
Total duration 1m 20s
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

42 errors and 5 warnings
phpstan (8.3): src/Common/Site_Health/Fields/Generic_Info_Field.php#L44
Unsafe usage of new static().
phpstan (8.3): src/Common/Site_Health/Fields/Generic_Info_Field.php#L60
Unsafe usage of new static().
phpstan (8.3): src/Tribe/Ajax/Dropdown.php#L336
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#L1197
One or more @param tags has an invalid name or invalid syntax.
phpstan (8.3): src/Tribe/Context.php#L1260
One or more @param tags has an invalid name or invalid syntax.
phpstan (8.3): src/Tribe/Context.php#L1274
One or more @param tags has an invalid name or invalid syntax.
phpstan (8.3): src/Tribe/Context.php#L1302
Expected 2 @param tags, found 1.
phpstan (8.3): src/Tribe/Cost_Utils.php#L260
Call to an undefined method Tribe__Cost_Utils::get_all_costs().
phpstan (8.3): src/Tribe/Credits.php#L16
Filter callback return statement is missing.
phpstan (8.2)
The job was canceled because "_8_3" failed.
phpstan (8.2): src/Common/Site_Health/Fields/Generic_Info_Field.php#L44
Unsafe usage of new static().
phpstan (8.2): src/Common/Site_Health/Fields/Generic_Info_Field.php#L60
Unsafe usage of new static().
phpstan (8.2): src/Tribe/Ajax/Dropdown.php#L336
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#L1197
One or more @param tags has an invalid name or invalid syntax.
phpstan (8.2): src/Tribe/Context.php#L1260
One or more @param tags has an invalid name or invalid syntax.
phpstan (8.2): src/Tribe/Context.php#L1274
One or more @param tags has an invalid name or invalid syntax.
phpstan (8.2): src/Tribe/Context.php#L1302
Expected 2 @param tags, found 1.
phpstan (8.2): src/Tribe/Cost_Utils.php#L260
Call to an undefined method Tribe__Cost_Utils::get_all_costs().
phpstan (8.2): src/Tribe/Credits.php#L16
Filter callback return statement is missing.
phpstan (7.4): src/Common/Site_Health/Fields/Generic_Info_Field.php#L44
Unsafe usage of new static().
phpstan (7.4): src/Common/Site_Health/Fields/Generic_Info_Field.php#L60
Unsafe usage of new static().
phpstan (7.4): src/Tribe/Ajax/Dropdown.php#L336
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#L1197
One or more @param tags has an invalid name or invalid syntax.
phpstan (7.4): src/Tribe/Context.php#L1260
One or more @param tags has an invalid name or invalid syntax.
phpstan (7.4): src/Tribe/Context.php#L1274
One or more @param tags has an invalid name or invalid syntax.
phpstan (7.4): src/Tribe/Context.php#L1302
Expected 2 @param tags, found 1.
phpstan (7.4): src/Tribe/Cost_Utils.php#L260
Call to an undefined method Tribe__Cost_Utils::get_all_costs().
phpstan (7.4): src/Tribe/Credits.php#L16
Filter callback return statement is missing.
phpstan (8.1): src/Common/Site_Health/Fields/Generic_Info_Field.php#L44
Unsafe usage of new static().
phpstan (8.1): src/Common/Site_Health/Fields/Generic_Info_Field.php#L60
Unsafe usage of new static().
phpstan (8.1): src/Tribe/Ajax/Dropdown.php#L336
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#L1197
One or more @param tags has an invalid name or invalid syntax.
phpstan (8.1): src/Tribe/Context.php#L1260
One or more @param tags has an invalid name or invalid syntax.
phpstan (8.1): src/Tribe/Context.php#L1274
One or more @param tags has an invalid name or invalid syntax.
phpstan (8.1): src/Tribe/Context.php#L1302
Expected 2 @param tags, found 1.
phpstan (8.1): src/Tribe/Cost_Utils.php#L260
Call to an undefined method Tribe__Cost_Utils::get_all_costs().
phpstan (8.1): src/Tribe/Credits.php#L16
Filter callback return statement is missing.
phpstan (8.0)
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 (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/