diff --git a/tests/integration/features/bootstrap/FeatureContext.php b/tests/integration/features/bootstrap/FeatureContext.php index d38eb4e3b1..ff39a63c32 100644 --- a/tests/integration/features/bootstrap/FeatureContext.php +++ b/tests/integration/features/bootstrap/FeatureContext.php @@ -36,7 +36,7 @@ public static function BeforeScenario(): void { } /** - * @When /^run the command "(?P(?:[^"]|\\")*)"$/ with result code 0 + * @When /^run the command "(?P(?:[^"]|\\")*)"$/ */ public static function runCommand(string $command): array { $console = realpath(__DIR__ . '/../../../../../../console.php'); @@ -54,7 +54,7 @@ public static function runCommand(string $command): array { } /** - * @When /^run the command "(?P(?:[^"]|\\")*)" with result code (\d+)$/ with result code 0 + * @When /^run the command "(?P(?:[^"]|\\")*)" with result code (\d+)$/ */ public static function runCommandWithResultCode(string $command, int $resultCode = 0): void { $return = self::runCommand($command);