Skip to content

Commit

Permalink
[ci-review] Rector Rectify
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Dec 11, 2024
1 parent 47a2fd7 commit 14c060e
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

declare(strict_types=1);

use Behat\Step\When;
use Behat\Step\Then;
use Rector\Config\RectorConfig;
use Rector\Php80\Rector\Class_\AnnotationToAttributeRector;
use Rector\Php80\ValueObject\AnnotationToAttribute;
Expand Down Expand Up @@ -49,7 +51,7 @@
new AnnotationToAttribute('Sensio\Bundle\FrameworkExtraBundle\Configuration\Security'),

// special case with following comment becoming a inner value
new AnnotationToAttribute('When', \Behat\Step\When::class, useValueAsAttributeArgument: true),
new AnnotationToAttribute('Then', \Behat\Step\Then::class, useValueAsAttributeArgument: true),
new AnnotationToAttribute('When', When::class, useValueAsAttributeArgument: true),
new AnnotationToAttribute('Then', Then::class, useValueAsAttributeArgument: true),
]);
};

0 comments on commit 14c060e

Please sign in to comment.