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