File tree Expand file tree Collapse file tree 2 files changed +10
-8
lines changed Expand file tree Collapse file tree 2 files changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -15,10 +15,11 @@ public function testLintPhpcsWithoutArgs()
1515 ->setName ("exec " )
1616 ->setFunction (
1717 function ($ command , &$ output , &$ code ) {
18- $ this ->assertEquals ("vendor/bin/phpcs --standard=phpcs.xml . " , $ command );
19- $ output = [];
20- $ code = 0 ;
21- });
18+ $ this ->assertEquals ("vendor/bin/phpcs --standard=phpcs.xml . " , $ command );
19+ $ output = [];
20+ $ code = 0 ;
21+ }
22+ );
2223 $ mock = $ builder ->build ();
2324 $ mock ->enable ();
2425 $ this ->artisan ('lint:phpcs ' )->assertExitCode (0 );
Original file line number Diff line number Diff line change @@ -15,10 +15,11 @@ public function testLintPmdWithoutArgs()
1515 ->setName ("exec " )
1616 ->setFunction (
1717 function ($ command , &$ output , &$ code ) {
18- $ this ->assertEquals ("vendor/bin/phpmd . text phpmd.xml " , $ command );
19- $ output = [];
20- $ code = 1 ;
21- });
18+ $ this ->assertEquals ("vendor/bin/phpmd . text phpmd.xml " , $ command );
19+ $ output = [];
20+ $ code = 1 ;
21+ }
22+ );
2223 $ mock = $ builder ->build ();
2324 $ mock ->enable ();
2425 $ this ->artisan ('lint:pmd ' )->assertExitCode (1 );
You can’t perform that action at this time.
0 commit comments