Skip to content

added new warning and QuickFix for it: lack of declare(strict_types=1… #1723

added new warning and QuickFix for it: lack of declare(strict_types=1…

added new warning and QuickFix for it: lack of declare(strict_types=1… #1723

Triggered via push March 5, 2024 14:57
Status Failure
Total duration 1m 45s
Artifacts

go.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
Build
unexpected number of reports: expected 11, got 12
Build
unexpected report 11: WARNING noDeclareSection: You have no declare section with strict_types=1 argument at _file0.php:2
Build
>>> issues reported:
Build
ERROR undefinedVariable: Cannot find referenced variable $undefined_variable at _file0.php:20
Build
WARNING maybeUndefined: Possibly undefined variable $maybe_defined at _file0.php:27
Build
WARNING unused: Variable $a is unused (use $_ to ignore this inspection or specify --unused-var-regex flag) at _file0.php:30
Build
WARNING unused: Variable $a is unused (use $_ to ignore this inspection or specify --unused-var-regex flag) at _file0.php:31
Build
WARNING maybeUndefined: Possibly undefined variable $maybe_defined at _file0.php:45
Build
WARNING unused: Variable $a is unused (use $_ to ignore this inspection or specify --unused-var-regex flag) at _file0.php:48
Build
ERROR undefinedVariable: Cannot find referenced variable $a at _file0.php:56
Build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/