Skip to content

Commit 3e6e7f3

Browse files
Merge pull request #126 from TheDragonCode/4.x
Added Laravel 10 support
2 parents 6ae4a0f + ebedc52 commit 3e6e7f3

File tree

3 files changed

+11
-12
lines changed

3 files changed

+11
-12
lines changed

.github/workflows/phpunit.yml

+3-4
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@ jobs:
1010
fail-fast: true
1111
matrix:
1212
php: [ "8.0", "8.1", "8.2" ]
13-
laravel: [ "7.0", "8.0", "9.0" ]
14-
prefer: [ "stable", "lowest" ]
13+
laravel: [ "7.0", "8.0", "9.0", "10.0" ]
1514
exclude:
1615
- laravel: "7.0"
1716
php: "8.1"
@@ -22,7 +21,7 @@ jobs:
2221
- laravel: "10.0"
2322
php: "8.0"
2423

25-
name: PHP ${{ matrix.php }}, Laravel ${{ matrix.laravel }} ${{ matrix.prefer }}
24+
name: PHP ${{ matrix.php }}, Laravel ${{ matrix.laravel }}
2625

2726
steps:
2827
- name: Checkout code
@@ -36,7 +35,7 @@ jobs:
3635
coverage: none
3736

3837
- name: Install dependencies
39-
run: composer require --dev laravel/framework:^${{ matrix.laravel }} --prefer-${{ matrix.prefer }}
38+
run: composer require --dev laravel/framework:^${{ matrix.laravel }}
4039

4140
- name: Execute tests
4241
run: sudo vendor/bin/phpunit

composer.json

+7-7
Original file line numberDiff line numberDiff line change
@@ -46,20 +46,20 @@
4646
"php": "^8.0.2",
4747
"composer-runtime-api": "^2.2",
4848
"doctrine/dbal": "^2.13 || ^3.4",
49-
"dragon-code/laravel-support": "^3.4",
49+
"dragon-code/laravel-support": "^3.5",
5050
"dragon-code/simple-dto": "^2.5.1",
5151
"dragon-code/support": "^6.6",
52-
"illuminate/console": "^7.30.6 || ^8.75 || ^9.0",
53-
"illuminate/container": "^7.30.6 || ^8.75 || ^9.0",
54-
"illuminate/database": "^7.30.6 || ^8.75 || ^9.0",
55-
"illuminate/support": "^7.30.6 || ^8.75 || ^9.0",
52+
"illuminate/console": "^7.30.6 || ^8.75 || ^9.0 || ^10.0",
53+
"illuminate/container": "^7.30.6 || ^8.75 || ^9.0 || ^10.0",
54+
"illuminate/database": "^7.30.6 || ^8.75 || ^9.0 || ^10.0",
55+
"illuminate/support": "^7.30.6 || ^8.75 || ^9.0 || ^10.0",
5656
"symfony/console": "^5.3 || ^6.0"
5757
},
5858
"require-dev": {
5959
"mockery/mockery": "^1.3.1",
6060
"nesbot/carbon": "^2.62.1",
61-
"orchestra/testbench": "^5.20 || ^6.25 || ^7.9",
62-
"phpunit/phpunit": "^9.5",
61+
"orchestra/testbench": "^5.20 || ^6.25 || ^7.9 || ^8.0",
62+
"phpunit/phpunit": "^9.6",
6363
"ramsey/uuid": "^3.7 || ^4.0"
6464
},
6565
"conflict": {

tests/Commands/ActionsTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
class ActionsTest extends TestCase
1313
{
14-
public function testMigrationCommand()
14+
public function testActionsCommand()
1515
{
1616
$this->assertDatabaseDoesntTable($this->table);
1717

0 commit comments

Comments
 (0)