Skip to content

Commit bcfebf1

Browse files
authored
Add support for Laravel 12 (#11)
1 parent 0480536 commit bcfebf1

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed

.github/workflows/run-tests.yaml

+4-2
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,14 @@ jobs:
99
fail-fast: true
1010
matrix:
1111
os: [ubuntu-latest]
12-
php: [8.3, 8.2]
13-
laravel: [11.*]
12+
php: [8.4, 8.3, 8.2]
13+
laravel: [11.*, 12.*]
1414
stability: [prefer-lowest, prefer-stable]
1515
include:
1616
- laravel: 11.*
1717
testbench: 9.*
18+
- laravel: 12.*
19+
testbench: 10.*
1820

1921
name: PHP ${{ matrix.php }} – Laravel ${{ matrix.laravel }} - ${{ matrix.stability }}
2022

composer.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@
1313
],
1414
"require": {
1515
"php": "^8.2",
16-
"illuminate/support": "^11.0",
17-
"laravel/prompts": "^0.1.17"
16+
"illuminate/support": "^11.0 || ^12.0",
17+
"laravel/prompts": "^0.1.17 || ^0.2.0 || ^0.3.0"
1818
},
1919
"require-dev": {
2020
"nunomaduro/collision": "^8.1",
21-
"orchestra/testbench": "^9.0",
22-
"phpunit/phpunit": "^10.0"
21+
"orchestra/testbench": "^9.0 || ^10.0",
22+
"phpunit/phpunit": "^10.0 || ^11.0"
2323
},
2424
"autoload": {
2525
"psr-4": {

src/SyncCommand.php

+1-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@ public function __construct(
1212
protected string $operation,
1313
protected array $remote,
1414
protected string $options,
15-
) {
16-
}
15+
) {}
1716

1817
public function toArray(): array
1918
{

0 commit comments

Comments
 (0)