File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ public function handle()
95
95
$ stubs = $ this ->getTestStubsPath ();
96
96
97
97
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 ' )) {
99
99
return 1 ;
100
100
}
101
101
@@ -663,11 +663,11 @@ protected function requireComposerDevPackages($packages)
663
663
is_array ($ packages ) ? $ packages : func_get_args ()
664
664
);
665
665
666
- return ! (new Process ($ command , base_path (), ['COMPOSER_MEMORY_LIMIT ' => '-1 ' ]))
666
+ return (new Process ($ command , base_path (), ['COMPOSER_MEMORY_LIMIT ' => '-1 ' ]))
667
667
->setTimeout (null )
668
668
->run (function ($ type , $ output ) {
669
669
$ this ->output ->write ($ output );
670
- });
670
+ }) === 0 ;
671
671
}
672
672
673
673
/**
You can’t perform that action at this time.
0 commit comments