Skip to content

feat: Test Rector to upgrade code for PHP 8.1 #157

feat: Test Rector to upgrade code for PHP 8.1

feat: Test Rector to upgrade code for PHP 8.1 #157

Triggered via pull request April 26, 2024 10:31
@nlemoinenlemoine
synchronize #2977
feat-rector
Status Failure
Total duration 56s
Artifacts

php-static-analysis.yml

on: pull_request
PHP static analysis
46s
PHP static analysis
Fit to window
Zoom out
Zoom in

Annotations

10 errors
PHP static analysis: rector.php#L9
Call to static method configure() on an unknown class Rector\Config\RectorConfig.
PHP static analysis: rector.php#L22
Class Rector\Php81\Rector\Array_\FirstClassCallableRector not found.
PHP static analysis: rector.php#L25
Class Rector\TypeDeclaration\Rector\ClassMethod\AddVoidReturnTypeWhereNoReturnRector not found.
PHP static analysis: src/Comment.php#L138
Unsafe usage of new static().
PHP static analysis: src/ExternalImage.php#L144
Unsafe usage of new static().
PHP static analysis: src/Integration/WpmlIntegration.php#L41
Class WPML_LS_Menu_Item not found.
PHP static analysis: src/Menu.php#L247
Unsafe usage of new static().
PHP static analysis: src/MenuItem.php#L118
Unsafe usage of new static().
PHP static analysis: src/MenuItem.php#L140
Access to an undefined property WP_Post::$title.
PHP static analysis: src/PagesMenu.php#L113
Unsafe usage of new static().