Skip to content

Closes #6541 Add PHPStan CI & level 0 errors #1620

Closes #6541 Add PHPStan CI & level 0 errors

Closes #6541 Add PHPStan CI & level 0 errors #1620

Triggered via pull request May 6, 2024 20:34
Status Failure
Total duration 58s
Artifacts

lint_phpstan.yml

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

Annotations

10 errors and 1 warning
WPRocket lint with PHP Stan. PHP 7.4 on ubuntu-latest.: inc/Engine/Admin/Settings/Page.php#L1548
One or more @param tags has an invalid name or invalid syntax.
WPRocket lint with PHP Stan. PHP 7.4 on ubuntu-latest.: inc/Engine/Capabilities/Manager.php#L147
Function members_register_cap_group not found.
WPRocket lint with PHP Stan. PHP 7.4 on ubuntu-latest.: inc/Engine/Common/Queue/RUCSSQueueRunner.php#L109
Action callback returns int but should not return anything.
WPRocket lint with PHP Stan. PHP 7.4 on ubuntu-latest.: inc/Engine/CriticalPath/ProcessorService.php#L159
Method WP_Rocket\Engine\CriticalPath\ProcessorService::check_cpcss_job_status() should return array|WP_Error but return statement is missing.
WPRocket lint with PHP Stan. PHP 7.4 on ubuntu-latest.: inc/Engine/HealthCheck/ActionSchedulerCheck.php#L34
Action callback returns bool but should not return anything.
WPRocket lint with PHP Stan. PHP 7.4 on ubuntu-latest.: inc/Engine/Media/ImageDimensions/ImageDimensions.php#L302
Method WP_Rocket\Engine\Media\ImageDimensions\ImageDimensions::set_dimensions() should return string|false but return statement is missing.
WPRocket lint with PHP Stan. PHP 7.4 on ubuntu-latest.: inc/ThirdParty/Hostings/Godaddy.php#L25
Call to static method vip() on an unknown class WPaas\Plugin.
WPRocket lint with PHP Stan. PHP 7.4 on ubuntu-latest.: inc/ThirdParty/Hostings/Pressidium.php#L76
Call to static method get_instance() on an unknown class NinukisCaching.
WPRocket lint with PHP Stan. PHP 7.4 on ubuntu-latest.: inc/ThirdParty/Hostings/Pressidium.php#L109
Call to static method get_instance() on an unknown class NinukisCaching.
WPRocket lint with PHP Stan. PHP 7.4 on ubuntu-latest.
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.