Skip to content

Fix/php 8 1

Fix/php 8 1 #15

Triggered via pull request November 16, 2023 20:43
Status Failure
Total duration 54s
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

10 errors and 1 warning
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#L50
@param bool $bypass does not accept actual type of parameter: null.
phpstan (7.4): src/Tribe/Admin/Notice/Date_Based.php#L272
@param Tribe\Admin\Notice\Tribe__Admin__Notice_Date_Based $notice does not accept actual type of parameter: $this(Tribe\Admin\Notice\Date_Based).
phpstan (7.4): src/Tribe/Admin/Notice/Date_Based.php#L296
Expected 2 @param tags, found 1.
phpstan (7.4): src/Tribe/Admin/Notice/Date_Based.php#L322
Expected 2 @param tags, found 1.
phpstan (7.4): src/Tribe/Admin/Notice/Date_Based.php#L353
Expected 2 @param tags, found 1.
phpstan (7.4): src/Tribe/Admin/Notice/Marketing.php#L94
@param int $bf_start_date does not accept actual type of parameter: numeric-string.
phpstan (7.4): src/Tribe/Admin/Notice/Marketing.php#L120
@param int $bf_end_date does not accept actual type of parameter: numeric-string.
phpstan (7.4): src/Tribe/Admin/Notice/Php_Version.php#L32
Call to deprecated method instance() of class Tribe__Dependency: 4.9.12 We shouldn't be handling singletons internally.
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/