Skip to content

Closes #7242 3.19 - Preload Fonts - Data insertion part #2909

Closes #7242 3.19 - Preload Fonts - Data insertion part

Closes #7242 3.19 - Preload Fonts - Data insertion part #2909

Triggered via pull request February 4, 2025 07:50
Status Failure
Total duration 1m 46s
Artifacts

lint_phpstan.yml

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

Annotations

5 errors
WPRocket lint with PHP Stan. PHP 8.4 on ubuntu-latest.: inc/Engine/Media/PreloadFonts/Context/Context.php#L16
Usage of get_option() is discouraged. Use the Option object instead.
WPRocket lint with PHP Stan. PHP 8.4 on ubuntu-latest.: inc/Engine/Media/PreloadFonts/Database/Queries/PreloadFonts.php#L90
Hooks should not be used in ORM classes: WP_Rocket\Engine\Media\PreloadFonts\Database\Queries\PreloadFonts::wpm_apply_filters_typed
WPRocket lint with PHP Stan. PHP 8.4 on ubuntu-latest.: tests/Integration/inc/Engine/WPRocketUninstall/uninstall.php#L148
Class WPRocketUninstall constructor invoked with 6 parameters, 7 required.
WPRocket lint with PHP Stan. PHP 8.4 on ubuntu-latest.
Process completed with exit code 1.