File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ private function getFrameworkVersion()
33
33
});
34
34
35
35
if (empty ($ just_laravel )) {
36
- die (PHP_EOL . 'No Laravel version detected, please do a "composer require laravel/framework:x" prior to testing ' . PHP_EOL );
36
+ exit (PHP_EOL . 'No Laravel version detected, please do a "composer require laravel/framework:x" prior to testing ' . PHP_EOL );
37
37
}
38
38
39
39
$ laravelVersion = array_map (function ($ val ) {
@@ -56,7 +56,7 @@ private function getApplicationStub()
56
56
// Return the version stub for the right version
57
57
if (version_compare ($ version , '8.0.0 ' , '>= ' )) {
58
58
return new Application8Stub ;
59
- } else if (version_compare ($ version , '7.0.0 ' , '>= ' )) {
59
+ } elseif (version_compare ($ version , '7.0.0 ' , '>= ' )) {
60
60
return new Application7Stub ;
61
61
} elseif (version_compare ($ version , '6.0.0 ' , '>= ' )) {
62
62
return new Application6Stub ;
You can’t perform that action at this time.
0 commit comments