Draft Add HookConvert #1195
Annotations
6 errors and 1 warning
Run composer phpstan:
src/Rector/Convert/HookConvertRector.php#L56
Anonymous class extends final class Rector\PhpParser\Printer\BetterStandardPrinter.
|
Run composer phpstan:
src/Rector/Convert/HookConvertRector.php#L135
Fetching deprecated class constant REMOVE_NODE of class PhpParser\NodeTraverser:
Use NodeVisitor::REMOVE_NODE instead.
|
Run composer phpstan:
src/Rector/Convert/HookConvertRector.php#L181
Parameter #1 $uses of class PhpParser\Node\Stmt\Use_ constructor expects array<PhpParser\Node\UseItem>, array<int, PhpParser\Node\Stmt\UseUse> given.
|
Run composer phpstan:
src/Rector/Convert/HookConvertRector.php#L243
Fetching deprecated class constant MODIFIER_PUBLIC of class PhpParser\Node\Stmt\Class_:
Use Modifiers::PUBLIC instead
|
Run composer phpstan:
src/Rector/Convert/HookConvertRector.php#L275
Method DrupalRector\Rector\Convert\HookConvertRector::getHookAndModuleName() return type has no value type specified in iterable type array.
|
Run composer phpstan
Process completed with exit code 1.
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Loading