Improve phpstan config #652
Triggered via pull request
September 11, 2024 06:44
Status
Failure
Total duration
1m 26s
Artifacts
–
php-lint.yml
on: pull_request
PHPStan
1m 14s
PHPCS check
35s
Matrix: PHP syntax
Annotations
5 errors and 3 warnings
PHPStan:
src/Common/Util.php#L211
Path in require_once() "./wp-admin/includes/plugin.php" is not a file or it does not exist.
|
PHPStan:
src/Installation/PluginDataImport.php#L237
Path in require_once() "./wp-admin/includes/plugin.php" is not a file or it does not exist.
|
PHPStan:
src/Installation/Upgrade.php#L165
Path in require_once() "./wp-admin/includes/plugin.php" is not a file or it does not exist.
|
PHPStan:
src/Options.php#L151
Path in require_once() "./wp-admin/includes/plugin.php" is not a file or it does not exist.
|
PHPStan
Process completed with exit code 1.
|
PHPCS check
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
PHPStan
The following actions uses node12 which is deprecated and will be forced to run on node16: styfle/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
PHPStan
The following actions use a deprecated Node.js version and will be forced to run on node20: styfle/[email protected], actions/checkout@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|