Skip to content

Commit 6347855

Browse files
cs
1 parent cdade69 commit 6347855

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/ChecksLaravelVersionTrait.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ private function getFrameworkVersion()
3333
});
3434

3535
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);
3737
}
3838

3939
$laravelVersion = array_map(function ($val) {
@@ -56,7 +56,7 @@ private function getApplicationStub()
5656
// Return the version stub for the right version
5757
if (version_compare($version, '8.0.0', '>=')) {
5858
return new Application8Stub;
59-
} else if (version_compare($version, '7.0.0', '>=')) {
59+
} elseif (version_compare($version, '7.0.0', '>=')) {
6060
return new Application7Stub;
6161
} elseif (version_compare($version, '6.0.0', '>=')) {
6262
return new Application6Stub;

0 commit comments

Comments
 (0)