From 14c060e1e8ce352914b9aa7d0aac7bc098e414db Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Wed, 11 Dec 2024 22:22:50 +0000 Subject: [PATCH] [ci-review] Rector Rectify --- .../AnnotationToAttributeRector/config/configured_rule.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/rules-tests/Php80/Rector/Class_/AnnotationToAttributeRector/config/configured_rule.php b/rules-tests/Php80/Rector/Class_/AnnotationToAttributeRector/config/configured_rule.php index 7ebe1c4546..f7d9d7db0c 100644 --- a/rules-tests/Php80/Rector/Class_/AnnotationToAttributeRector/config/configured_rule.php +++ b/rules-tests/Php80/Rector/Class_/AnnotationToAttributeRector/config/configured_rule.php @@ -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; @@ -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), ]); };