Skip to content

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

feat: Test Rector to upgrade code for PHP 8.1

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

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

php-static-analysis.yml

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

Annotations

10 errors
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.
PHP static analysis: src/PagesMenu.php#L113
Unsafe usage of new static().
PHP static analysis: src/Post.php#L179
PHPDoc tag @return with type Timber\Post is not subtype of native type static(Timber\Post).
PHP static analysis: src/Post.php#L181
Unsafe usage of new static().