File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ public function handle()
9595 $ stubs = $ this ->getTestStubsPath ();
9696
9797 if ($ this ->option ('pest ' )) {
98- if ($ this ->requireComposerDevPackages ('pestphp/pest:^1.16 ' , 'pestphp/pest-plugin-laravel:^1.1 ' )) {
98+ if (! $ this ->requireComposerDevPackages ('pestphp/pest:^1.22 ' , 'pestphp/pest-plugin-laravel:^1.4 ' )) {
9999 return 1 ;
100100 }
101101
@@ -663,11 +663,11 @@ protected function requireComposerDevPackages($packages)
663663 is_array ($ packages ) ? $ packages : func_get_args ()
664664 );
665665
666- return ! (new Process ($ command , base_path (), ['COMPOSER_MEMORY_LIMIT ' => '-1 ' ]))
666+ return (new Process ($ command , base_path (), ['COMPOSER_MEMORY_LIMIT ' => '-1 ' ]))
667667 ->setTimeout (null )
668668 ->run (function ($ type , $ output ) {
669669 $ this ->output ->write ($ output );
670- });
670+ }) === 0 ;
671671 }
672672
673673 /**
You can’t perform that action at this time.
0 commit comments