Draft Add HookConvert #1175
Annotations
5 errors and 1 warning
Run composer phpstan:
src/Rector/Convert/HookConvertRector.php#L99
Fetching deprecated class constant REMOVE_NODE of class PhpParser\NodeTraverser:
Use NodeVisitor::REMOVE_NODE instead.
|
Run composer phpstan:
src/Rector/Convert/HookConvertRector.php#L142
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#L198
Fetching deprecated class constant MODIFIER_PUBLIC of class PhpParser\Node\Stmt\Class_:
Use Modifiers::PUBLIC instead
|
Run composer phpstan:
src/Rector/Convert/HookConvertRector.php#L228
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