@@ -37,7 +37,8 @@ protected function configure(): void
3737 ->addOption ('fail-on-incomplete ' , null , InputOption::VALUE_NONE , 'Treat incomplete tests as failures ' )
3838 ->addOption ('fail-on-risky ' , null , InputOption::VALUE_NONE , 'Treat risky tests as failures ' )
3939 ->addOption ('fail-on-skipped ' , null , InputOption::VALUE_NONE , 'Treat skipped tests as failures ' )
40- ->addOption ('fail-on-warning ' , null , InputOption::VALUE_NONE , 'Treat tests with warnings as failures ' );
40+ ->addOption ('fail-on-warning ' , null , InputOption::VALUE_NONE , 'Treat tests with warnings as failures ' )
41+ ->addOption ('testdox ' , null , InputOption::VALUE_NONE , 'Enable testdox formatter ' );
4142 }
4243
4344 protected function initialize (InputInterface $ input , OutputInterface $ output ): void
@@ -95,7 +96,7 @@ private function resolveOptions(InputInterface $input): array
9596 '--verbose ' ,
9697 ];
9798 }
98- foreach (['fail-on-incomplete ' , 'fail-on-risky ' , 'fail-on-skipped ' , 'fail-on-warning ' ] as $ option ) {
99+ foreach (['fail-on-incomplete ' , 'fail-on-risky ' , 'fail-on-skipped ' , 'fail-on-warning ' , ' testdox ' ] as $ option ) {
99100 if ($ input ->getOption ($ option )) {
100101 $ options [] = [
101102 '-- ' . $ option ,
0 commit comments