update to rector 2.0-rc and bump phpstan dependencies to 2.x #1203
phpstan.yml
on: pull_request
Static analysis with PHPStan
22s
Annotations
10 errors and 1 warning
Static analysis with PHPStan:
config/drupal-10/drupal-10.0-deprecations.php#L22
Access to undefined constant Rector\Symfony\Set\TwigSetList::TWIG_240.
|
Static analysis with PHPStan:
config/drupal-9/drupal-9.0-deprecations.php#L25
Access to undefined constant Rector\Symfony\Set\TwigSetList::TWIG_240.
|
Static analysis with PHPStan:
src/Drupal10/Rector/Deprecation/AnnotationToAttributeRector.php#L133
Method DrupalRector\Drupal10\Rector\Deprecation\AnnotationToAttributeRector::provideMinPhpVersion() never returns 100000 so it can be removed from the return type.
|
Static analysis with PHPStan:
src/Drupal10/Rector/Deprecation/AnnotationToAttributeRector.php#L133
Method DrupalRector\Drupal10\Rector\Deprecation\AnnotationToAttributeRector::provideMinPhpVersion() never returns 50200 so it can be removed from the return type.
|
Static analysis with PHPStan:
src/Drupal10/Rector/Deprecation/AnnotationToAttributeRector.php#L133
Method DrupalRector\Drupal10\Rector\Deprecation\AnnotationToAttributeRector::provideMinPhpVersion() never returns 50300 so it can be removed from the return type.
|
Static analysis with PHPStan:
src/Drupal10/Rector/Deprecation/AnnotationToAttributeRector.php#L133
Method DrupalRector\Drupal10\Rector\Deprecation\AnnotationToAttributeRector::provideMinPhpVersion() never returns 50400 so it can be removed from the return type.
|
Static analysis with PHPStan:
src/Drupal10/Rector/Deprecation/AnnotationToAttributeRector.php#L133
Method DrupalRector\Drupal10\Rector\Deprecation\AnnotationToAttributeRector::provideMinPhpVersion() never returns 50500 so it can be removed from the return type.
|
Static analysis with PHPStan:
src/Drupal10/Rector/Deprecation/AnnotationToAttributeRector.php#L133
Method DrupalRector\Drupal10\Rector\Deprecation\AnnotationToAttributeRector::provideMinPhpVersion() never returns 50600 so it can be removed from the return type.
|
Static analysis with PHPStan:
src/Drupal10/Rector/Deprecation/AnnotationToAttributeRector.php#L133
Method DrupalRector\Drupal10\Rector\Deprecation\AnnotationToAttributeRector::provideMinPhpVersion() never returns 70000 so it can be removed from the return type.
|
Static analysis with PHPStan:
src/Drupal10/Rector/Deprecation/AnnotationToAttributeRector.php#L133
Method DrupalRector\Drupal10\Rector\Deprecation\AnnotationToAttributeRector::provideMinPhpVersion() never returns 70100 so it can be removed from the return type.
|
Static analysis with PHPStan
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|