feat: Test Rector to upgrade code for PHP 8.1 #173
php-static-analysis.yml
on: pull_request
PHP static analysis
48s
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.
|