Allow rector ^2.4.1 and replace file with getFile() if method exists #1359
Annotations
20 errors and 2 warnings
|
Static analysis with PHPStan (8.2, ^2, phpstan.neon):
config/drupal-10/drupal-10.0-deprecations.php#L24
Fetching deprecated class constant SYMFONY_51 of class Rector\Symfony\Set\SymfonySetList:
Set list are too generic and do not handle package differences. Use ->withComposerBased(symfony: true) instead
|
|
Static analysis with PHPStan (8.2, ^2, phpstan.neon):
config/drupal-10/drupal-10.0-deprecations.php#L23
Fetching deprecated class constant SYMFONY_50 of class Rector\Symfony\Set\SymfonySetList:
Set list are too generic and do not handle package differences. Use ->withComposerBased(symfony: true) instead
|
|
Static analysis with PHPStan (8.2, ^2, phpstan.neon):
config/drupal-10/drupal-10.0-deprecations.php#L0
Ignored error pattern #^Fetching class constant SYMFONY_62 of deprecated class Rector\\Symfony\\Set\\SymfonySetList\:
Set list are too generic and do not handle package differences\. Use \-\>withComposerBased\(symfony\: true\) instead$# (classConstant.deprecatedClass) in path /home/runner/work/drupal-rector/drupal-rector/config/drupal-10/drupal-10.0-deprecations.php was not matched in reported errors.
|
|
Static analysis with PHPStan (8.2, ^2, phpstan.neon):
config/drupal-10/drupal-10.0-deprecations.php#L0
Ignored error pattern #^Fetching class constant SYMFONY_61 of deprecated class Rector\\Symfony\\Set\\SymfonySetList\:
Set list are too generic and do not handle package differences\. Use \-\>withComposerBased\(symfony\: true\) instead$# (classConstant.deprecatedClass) in path /home/runner/work/drupal-rector/drupal-rector/config/drupal-10/drupal-10.0-deprecations.php was not matched in reported errors.
|
|
Static analysis with PHPStan (8.2, ^2, phpstan.neon):
config/drupal-10/drupal-10.0-deprecations.php#L0
Ignored error pattern #^Fetching class constant SYMFONY_60 of deprecated class Rector\\Symfony\\Set\\SymfonySetList\:
Set list are too generic and do not handle package differences\. Use \-\>withComposerBased\(symfony\: true\) instead$# (classConstant.deprecatedClass) in path /home/runner/work/drupal-rector/drupal-rector/config/drupal-10/drupal-10.0-deprecations.php was not matched in reported errors.
|
|
Static analysis with PHPStan (8.2, ^2, phpstan.neon):
config/drupal-10/drupal-10.0-deprecations.php#L0
Ignored error pattern #^Fetching class constant SYMFONY_54 of deprecated class Rector\\Symfony\\Set\\SymfonySetList\:
Set list are too generic and do not handle package differences\. Use \-\>withComposerBased\(symfony\: true\) instead$# (classConstant.deprecatedClass) in path /home/runner/work/drupal-rector/drupal-rector/config/drupal-10/drupal-10.0-deprecations.php was not matched in reported errors.
|
|
Static analysis with PHPStan (8.2, ^2, phpstan.neon):
config/drupal-10/drupal-10.0-deprecations.php#L0
Ignored error pattern #^Fetching class constant SYMFONY_53 of deprecated class Rector\\Symfony\\Set\\SymfonySetList\:
Set list are too generic and do not handle package differences\. Use \-\>withComposerBased\(symfony\: true\) instead$# (classConstant.deprecatedClass) in path /home/runner/work/drupal-rector/drupal-rector/config/drupal-10/drupal-10.0-deprecations.php was not matched in reported errors.
|
|
Static analysis with PHPStan (8.2, ^2, phpstan.neon):
config/drupal-10/drupal-10.0-deprecations.php#L0
Ignored error pattern #^Fetching class constant SYMFONY_52 of deprecated class Rector\\Symfony\\Set\\SymfonySetList\:
Set list are too generic and do not handle package differences\. Use \-\>withComposerBased\(symfony\: true\) instead$# (classConstant.deprecatedClass) in path /home/runner/work/drupal-rector/drupal-rector/config/drupal-10/drupal-10.0-deprecations.php was not matched in reported errors.
|
|
Static analysis with PHPStan (8.2, ^2, phpstan.neon):
config/drupal-10/drupal-10.0-deprecations.php#L0
Ignored error pattern #^Fetching class constant SYMFONY_51 of deprecated class Rector\\Symfony\\Set\\SymfonySetList\:
Set list are too generic and do not handle package differences\. Use \-\>withComposerBased\(symfony\: true\) instead$# (classConstant.deprecatedClass) in path /home/runner/work/drupal-rector/drupal-rector/config/drupal-10/drupal-10.0-deprecations.php was not matched in reported errors.
|
|
Static analysis with PHPStan (8.2, ^2, phpstan.neon):
config/drupal-10/drupal-10.0-deprecations.php#L0
Ignored error pattern #^Fetching class constant SYMFONY_50 of deprecated class Rector\\Symfony\\Set\\SymfonySetList\:
Set list are too generic and do not handle package differences\. Use \-\>withComposerBased\(symfony\: true\) instead$# (classConstant.deprecatedClass) in path /home/runner/work/drupal-rector/drupal-rector/config/drupal-10/drupal-10.0-deprecations.php was not matched in reported errors.
|
|
Static analysis with PHPStan (8.2, ^1, phpstan-1.neon)
The strategy configuration was canceled because "run_static_analysis_phpstan_analyze._8_2__2_phpstan_neon" failed
|
|
Static analysis with PHPStan (8.2, ^1, phpstan-1.neon)
Process completed with exit code 1.
|
|
Static analysis with PHPStan (8.2, ^1, phpstan-1.neon):
src/Rector/Convert/HookConvertRector.php#L227
Instantiation of deprecated class PhpParser\Node\Stmt\UseUse:
use \PhpParser\Node\UseItem instead.
|
|
Static analysis with PHPStan (8.2, ^1, phpstan-1.neon):
src/Drupal9/Rector/Deprecation/AssertNoUniqueTextRector.php#L96
Instantiation of deprecated class PhpParser\Node\Scalar\EncapsedStringPart:
use \PhpParser\Node\InterpolatedStringPart instead.
|
|
Static analysis with PHPStan (8.2, ^1, phpstan-1.neon):
src/Drupal9/Rector/Deprecation/AssertNoUniqueTextRector.php#L94
Instantiation of deprecated class PhpParser\Node\Scalar\EncapsedStringPart:
use \PhpParser\Node\InterpolatedStringPart instead.
|
|
Static analysis with PHPStan (8.2, ^1, phpstan-1.neon):
src/Drupal9/Rector/Deprecation/AssertNoUniqueTextRector.php#L93
Instantiation of deprecated class PhpParser\Node\Scalar\Encapsed:
use \PhpParser\Node\Scalar\InterpolatedString instead.
|
|
Static analysis with PHPStan (8.2, ^1, phpstan-1.neon):
src/Drupal9/Rector/Deprecation/AssertNoUniqueTextRector.php#L90
Instantiation of deprecated class PhpParser\Node\Scalar\LNumber:
use \PhpParser\Node\Scalar\Int_ instead.
|
|
Static analysis with PHPStan (8.2, ^1, phpstan-1.neon):
src/Drupal9/Rector/Deprecation/AssertNoUniqueTextRector.php#L82
Instantiation of deprecated class PhpParser\Node\Scalar\EncapsedStringPart:
use \PhpParser\Node\InterpolatedStringPart instead.
|
|
Static analysis with PHPStan (8.2, ^1, phpstan-1.neon):
src/Drupal8/Rector/Deprecation/EntityLoadRector.php#L171
Instantiation of deprecated class PhpParser\Node\Expr\ArrayItem:
use \PhpParser\Node\ArrayItem instead.
|
|
Static analysis with PHPStan (8.2, ^1, phpstan-1.neon):
src/Drupal10/Rector/Deprecation/WatchdogExceptionRector.php#L56
Instantiation of deprecated class PhpParser\Node\Expr\ArrayItem:
use \PhpParser\Node\ArrayItem instead.
|
|
Static analysis with PHPStan (8.2, ^2, phpstan.neon)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v3. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Static analysis with PHPStan (8.2, ^1, phpstan-1.neon)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v3. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|