Skip to content

Commit 3a55c38

Browse files
authored
Merge pull request #171 from jonsugar/laravel-zero-v9-upgrade
Laravel zero v9 upgrade
2 parents 347ac20 + d7b8739 commit 3a55c38

File tree

9 files changed

+1142
-1130
lines changed

9 files changed

+1142
-1130
lines changed

.github/workflows/run-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
strategy:
1111
matrix:
1212
os: [Ubuntu, macOS]
13-
php: [7.3, 7.4, 8.0]
13+
php: [8.0, 8.1]
1414

1515
include:
1616
- os: Ubuntu

app/Commands/LamboCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
abstract class LamboCommand extends Command
1111
{
12-
public function run(InputInterface $input, OutputInterface $output)
12+
public function run(InputInterface $input, OutputInterface $output): int
1313
{
1414
app()->singleton(ConsoleWriter::class, function () use ($input, $output) {
1515
return new ConsoleWriter($input, $output);

app/LamboException.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,4 @@
66

77
class LamboException extends Exception
88
{
9-
109
}

builds/lambo

3.13 MB
Binary file not shown.

composer.json

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,17 @@
1919
}
2020
],
2121
"require": {
22-
"php": "^7.3|^8.0",
22+
"php": "^8.0",
2323
"ext-json": "*",
2424
"ext-pdo": "*",
2525
"ext-intl": "*"
2626
},
2727
"require-dev": {
28-
"laravel-zero/framework": "^8.0",
28+
"laravel-zero/framework": "^v9.0",
2929
"mockery/mockery": "^1.0",
3030
"phpunit/phpunit": "^9.0",
3131
"spatie/laravel-ray": "^1.17",
32-
"tightenco/duster": "^v0.3.0"
32+
"tightenco/duster": "^v0.3"
3333
},
3434
"autoload": {
3535
"psr-4": {
@@ -44,7 +44,10 @@
4444
"config": {
4545
"preferred-install": "dist",
4646
"sort-packages": true,
47-
"optimize-autoloader": true
47+
"optimize-autoloader": true,
48+
"allow-plugins": {
49+
"dealerdirect/phpcodesniffer-composer-installer": true
50+
}
4851
},
4952
"minimum-stability": "dev",
5053
"prefer-stable": true,

0 commit comments

Comments
 (0)