@@ -254,9 +254,7 @@ public function executeWillDisablePhpUnitProgressWhenJsonIsRequested(): void
254254
255255 return TestsCommand::SUCCESS ;
256256 })->shouldBeCalled ();
257- $ this ->logger ->info ('Running PHPUnit tests... ' , Argument::that (
258- static fn (array $ context ): bool => $ context ['input ' ] instanceof InputInterface
259- ))->shouldBeCalled ();
257+ $ this ->logger ->info (Argument::cetera ())->shouldNotBeCalled ();
260258 $ this ->logger ->log (
261259 'info ' ,
262260 'PHPUnit tests completed successfully. ' ,
@@ -299,9 +297,7 @@ public function executeWillCaptureStructuredPhpUnitSummaryWhenAgentEnvironmentIs
299297
300298 return TestsCommand::SUCCESS ;
301299 })->shouldBeCalled ();
302- $ this ->logger ->info ('Running PHPUnit tests... ' , Argument::that (
303- static fn (array $ context ): bool => $ context ['input ' ] instanceof InputInterface
304- ))->shouldBeCalled ();
300+ $ this ->logger ->info (Argument::cetera ())->shouldNotBeCalled ();
305301 $ this ->logger ->log (
306302 'info ' ,
307303 'PHPUnit tests completed successfully. ' ,
@@ -343,9 +339,7 @@ public function executeWillKeepPrettyJsonInsideTheStandardCommandLogOutput(): vo
343339
344340 return TestsCommand::SUCCESS ;
345341 })->shouldBeCalled ();
346- $ this ->logger ->info ('Running PHPUnit tests... ' , Argument::that (
347- static fn (array $ context ): bool => $ context ['input ' ] instanceof InputInterface
348- ))->shouldBeCalled ();
342+ $ this ->logger ->info (Argument::cetera ())->shouldNotBeCalled ();
349343 $ this ->logger ->log (
350344 'info ' ,
351345 'PHPUnit tests completed successfully. ' ,
@@ -384,9 +378,7 @@ public function executeWillCaptureStructuredPhpUnitSummaryAfterCoveragePreludeWh
384378
385379 return TestsCommand::SUCCESS ;
386380 })->shouldBeCalled ();
387- $ this ->logger ->info ('Running PHPUnit tests... ' , Argument::that (
388- static fn (array $ context ): bool => $ context ['input ' ] instanceof InputInterface
389- ))->shouldBeCalled ();
381+ $ this ->logger ->info (Argument::cetera ())->shouldNotBeCalled ();
390382 $ this ->logger ->log (
391383 'info ' ,
392384 'PHPUnit tests completed successfully. ' ,
@@ -424,9 +416,7 @@ public function executeWillKeepRawPhpUnitOutputWhenStructuredSummaryCannotBeDeco
424416
425417 return TestsCommand::SUCCESS ;
426418 })->shouldBeCalled ();
427- $ this ->logger ->info ('Running PHPUnit tests... ' , Argument::that (
428- static fn (array $ context ): bool => $ context ['input ' ] instanceof InputInterface
429- ))->shouldBeCalled ();
419+ $ this ->logger ->info (Argument::cetera ())->shouldNotBeCalled ();
430420 $ this ->logger ->log (
431421 'info ' ,
432422 'PHPUnit tests completed successfully. ' ,
@@ -604,9 +594,7 @@ public function executeWillEmitStructuredCoverageFailurePayloadWhenMinimumCovera
604594
605595 return TestsCommand::SUCCESS ;
606596 })->shouldBeCalled ();
607- $ this ->logger ->info ('Running PHPUnit tests... ' , Argument::that (
608- static fn (array $ context ): bool => $ context ['input ' ] instanceof InputInterface
609- ))->shouldBeCalled ();
597+ $ this ->logger ->info (Argument::cetera ())->shouldNotBeCalled ();
610598 $ this ->logger ->log (Argument::cetera ())->shouldNotBeCalled ();
611599 $ this ->logger ->error (
612600 'Minimum line coverage of 80.00% was not met. Current coverage: 75.00% (75/100 lines). ' ,
0 commit comments