Skip to content

Commit

Permalink
Fix style
Browse files Browse the repository at this point in the history
  • Loading branch information
bbrala committed Mar 8, 2024
1 parent 651332f commit 773255a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
use Rector\BetterPhpDocParser\PhpDocManipulator\PhpDocTagRemover;
use Rector\BetterPhpDocParser\PhpDocParser\StaticDoctrineAnnotationParser\ArrayParser;
use Rector\Comments\NodeDocBlock\DocBlockUpdater;
use Rector\Core\ValueObject\PhpVersion;
use Rector\ValueObject\PhpVersion;
use Rector\VersionBonding\Contract\MinPhpVersionInterface;
use RectorPrefix202310\PHPUnit\Framework\Attributes\Ticket;

Check failure on line 30 in src/Drupal10/Rector/Deprecation/ActionAnnotationToAttributeRector.php

View workflow job for this annotation

GitHub Actions / Static analysis with PHPStan

Referencing prefixed Rector class: RectorPrefix202310\PHPUnit\Framework\Attributes\Ticket.
use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample;
Expand Down Expand Up @@ -208,7 +208,7 @@ public function refactorWithConfiguration(Node $node, VersionedConfigurationInte
/**
* @param array|ArrayItemNode[] $parsedArgs
*
* @return \PhpParser\Node\Attribute
* @return Attribute
*/
private function createAttribute(array $parsedArgs): Attribute
{
Expand Down
4 changes: 2 additions & 2 deletions src/Rector/AbstractDrupalCoreRector.php
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ private function createBcCallOnCallLike(Node\Expr\CallLike $node, Node\Expr\Call
}

/**
* @param \DrupalRector\Contract\VersionedConfigurationInterface $configuration
* @param VersionedConfigurationInterface $configuration
*
* @return bool|int
*/
Expand Down Expand Up @@ -143,7 +143,7 @@ public function installedDrupalVersion(): string
* Drupal 10 when 10.0 is already out of support. This means that
* we will not support running drupal-rector on Drupal 10.0.x.
*
* @param \DrupalRector\Contract\VersionedConfigurationInterface $configuration
* @param VersionedConfigurationInterface $configuration
*
* @return bool
*/
Expand Down

0 comments on commit 773255a

Please sign in to comment.