Skip to content

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

feat: Test Rector to upgrade code for PHP 8.1

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

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

php-static-analysis.yml

on: pull_request
PHP static analysis
48s
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#L116
PHPDoc tag @return with type Timber\MenuItem is not subtype of native type static(Timber\MenuItem).
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.