Skip to content

10.2: EntityReferenceTestTrait to EntityReferenceFieldCreationTrait rector using RenameClassRector #1124

10.2: EntityReferenceTestTrait to EntityReferenceFieldCreationTrait rector using RenameClassRector

10.2: EntityReferenceTestTrait to EntityReferenceFieldCreationTrait rector using RenameClassRector #1124

Triggered via pull request August 23, 2024 15:04
Status Failure
Total duration 24s
Artifacts

phpstan.yml

on: pull_request
Static analysis with PHPStan
15s
Static analysis with PHPStan
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 1 warning
Static analysis with PHPStan: config/drupal-phpunit-bootstrap-file.php#L13
Instantiation of deprecated class DrupalFinder\DrupalFinder: in drupal-finder:1.3.0 and is removed from drupal-finder:2.0.0. Use \DrupalFinder\DrupalFinderComposerRuntime instead.
Static analysis with PHPStan: config/drupal-phpunit-bootstrap-file.php#L14
Call to deprecated method locateRoot() of class DrupalFinder\DrupalFinder: Will be removed in v2. Future usage should instantiate a new DrupalFinder object by passing the starting path to its constructor.
Static analysis with PHPStan: rector.php#L21
Instantiation of deprecated class DrupalFinder\DrupalFinder: in drupal-finder:1.3.0 and is removed from drupal-finder:2.0.0. Use \DrupalFinder\DrupalFinderComposerRuntime instead.
Static analysis with PHPStan: rector.php#L22
Call to deprecated method locateRoot() of class DrupalFinder\DrupalFinder: Will be removed in v2. Future usage should instantiate a new DrupalFinder object by passing the starting path to its constructor.
Static analysis with PHPStan: src/Set/Drupal10SetList.php#L9
Class DrupalRector\Set\Drupal10SetList implements deprecated interface Rector\Set\Contract\SetListInterface: This interface needs a reflection to load and uses constant links. Now we changed to services provider architecture that can be used and registerd easily. Use
Static analysis with PHPStan: src/Set/Drupal8SetList.php#L9
Class DrupalRector\Set\Drupal8SetList implements deprecated interface Rector\Set\Contract\SetListInterface: This interface needs a reflection to load and uses constant links. Now we changed to services provider architecture that can be used and registerd easily. Use
Static analysis with PHPStan: src/Set/Drupal9SetList.php#L9
Class DrupalRector\Set\Drupal9SetList implements deprecated interface Rector\Set\Contract\SetListInterface: This interface needs a reflection to load and uses constant links. Now we changed to services provider architecture that can be used and registerd easily. Use
Static analysis with PHPStan
Process completed with exit code 1.
Static analysis with PHPStan
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/