You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: src/Command/CheckCommand.php
+30-3
Original file line number
Diff line number
Diff line change
@@ -33,6 +33,7 @@ protected function configure(): void
33
33
->addOption('maximum-routes-to-display', 'm', InputOption::VALUE_REQUIRED, 'Maximum number of non tested routes to display', $this->maximumNumberOfNonTestedRoutesToDisplay)
34
34
->addOption('routes-to-ignore', 'i', InputOption::VALUE_REQUIRED, 'A file containing routes to ignore', $this->routesToIgnoreFile)
35
35
->addOption('generate-baseline', 'g', InputOption::VALUE_NONE, 'Generate the file containing the routes to be ignored')
36
+
->addOption('ignore-not-successfully-tested-routes', 'S', InputOption::VALUE_NONE, 'Does not fail if a route have not been successfully tested (never returned a 1xx, 2xx or 3xx code).')
36
37
;
37
38
}
38
39
@@ -54,6 +55,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
$io->warning(\sprintf('Found %d routes which are not successfully tested (they never returned a 1xx, 2xx or 3xx code).', \count($notSuccessfullyTestedRoutes)));
0 commit comments