Skip to content

[POC] use php 8.4 for phpstan github workflow #2814

[POC] use php 8.4 for phpstan github workflow

[POC] use php 8.4 for phpstan github workflow #2814

Triggered via pull request January 8, 2025 19:31
Status Failure
Total duration 1m 38s
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 8.4 on ubuntu-latest.: inc/Engine/Common/Cache/FilesystemCache.php#L30
Deprecated in PHP 8.4: Parameter #2 $filesystem (WP_Filesystem_Direct) is implicitly nullable via default value null.
WPRocket lint with PHP Stan. PHP 8.4 on ubuntu-latest.: inc/Engine/Common/PerformanceHints/Frontend/Processor.php#L39
Deprecated in PHP 8.4: Parameter #3 $filesystem (WP_Filesystem_Direct) is implicitly nullable via default value null.
WPRocket lint with PHP Stan. PHP 8.4 on ubuntu-latest.: inc/Engine/Common/Queue/Cleaner.php#L49
Deprecated in PHP 8.4: Parameter #1 $store (ActionScheduler_Store) is implicitly nullable via default value null.
WPRocket lint with PHP Stan. PHP 8.4 on ubuntu-latest.: inc/Engine/Common/Queue/RUCSSQueueRunner.php#L63
Deprecated in PHP 8.4: Parameter #1 $store (ActionScheduler_Store) is implicitly nullable via default value null.
WPRocket lint with PHP Stan. PHP 8.4 on ubuntu-latest.: inc/Engine/Common/Queue/RUCSSQueueRunner.php#L63
Deprecated in PHP 8.4: Parameter #2 $monitor (ActionScheduler_FatalErrorMonitor) is implicitly nullable via default value null.
WPRocket lint with PHP Stan. PHP 8.4 on ubuntu-latest.: inc/Engine/Common/Queue/RUCSSQueueRunner.php#L63
Deprecated in PHP 8.4: Parameter #3 $cleaner (WP_Rocket\Engine\Common\Queue\Cleaner) is implicitly nullable via default value null.
WPRocket lint with PHP Stan. PHP 8.4 on ubuntu-latest.: inc/Engine/Common/Queue/RUCSSQueueRunner.php#L63
Deprecated in PHP 8.4: Parameter #4 $async_request (ActionScheduler_AsyncRequest_QueueRunner) is implicitly nullable via default value null.
WPRocket lint with PHP Stan. PHP 8.4 on ubuntu-latest.: inc/Engine/Media/Lazyload/CSS/Front/ContentFetcher.php#L24
Deprecated in PHP 8.4: Parameter #1 $filesystem (WP_Filesystem_Direct) is implicitly nullable via default value null.
WPRocket lint with PHP Stan. PHP 8.4 on ubuntu-latest.: inc/Engine/Media/Lazyload/CSS/Subscriber.php#L121
Deprecated in PHP 8.4: Parameter #11 $filesystem (WP_Filesystem_Direct) is implicitly nullable via default value null.
WPRocket lint with PHP Stan. PHP 8.4 on ubuntu-latest.: inc/ThirdParty/Plugins/I18n/WPML.php#L27
Deprecated in PHP 8.4: Parameter #1 $filesystem (WP_Filesystem_Direct) is implicitly nullable via default value null.
WPRocket lint with PHP Stan. PHP 8.4 on ubuntu-latest.
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636