parallel(); $rectorConfig->phpVersion(PhpVersion::PHP_83); $rectorConfig->importNames(); $rectorConfig->paths([ 'features/bootstrap', ]); $rectorConfig->ruleWithConfiguration(AnnotationToAttributeRector::class, [ new AnnotationToAttribute('AfterFeature', \Behat\Hook\AfterFeature::class), new AnnotationToAttribute('AfterScenario', \Behat\Hook\AfterScenario::class), new AnnotationToAttribute('AfterStep', \Behat\Hook\AfterStep::class), new AnnotationToAttribute('AfterSuite', \Behat\Hook\AfterSuite::class), new AnnotationToAttribute('BeforeFeature', \Behat\Hook\BeforeFeature::class), new AnnotationToAttribute('BeforeScenario', \Behat\Hook\BeforeScenario::class), new AnnotationToAttribute('BeforeStep', \Behat\Hook\BeforeStep::class), new AnnotationToAttribute('BeforeSuite', \Behat\Hook\BeforeSuite::class), new AnnotationToAttribute('Given', \Behat\Step\Given::class, useValueAsAttributeArgument: true), new AnnotationToAttribute('Then', \Behat\Step\Then::class, useValueAsAttributeArgument: true), new AnnotationToAttribute('Transform', \Behat\Transformation\Transform::class, useValueAsAttributeArgument: true), new AnnotationToAttribute('When', \Behat\Step\When::class, useValueAsAttributeArgument: true), ]); };