Skip to content

Commit d406a72

Browse files
authored
Merge pull request #5 from grokability/laravel10
Add support for Laravel 10 (limosa-io#39)
2 parents 2a9fbfd + d4a7b55 commit d406a72

File tree

3 files changed

+37
-11
lines changed

3 files changed

+37
-11
lines changed

.github/workflows/ci.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,32 @@ on: [push]
55
jobs:
66
build-test:
77
runs-on: ubuntu-latest
8+
continue-on-error: true
9+
strategy:
10+
matrix:
11+
php: [7.3, 7.4, 8.0, 8.1, 8.2]
12+
laravel: [6.*, 7.*, 8.*, 9.*, 10.*]
13+
exclude:
14+
- laravel: 6.*
15+
php: 8.1
16+
- laravel: 6.*
17+
php: 8.2
18+
- laravel: 7.*
19+
php: 8.1
20+
- laravel: 7.*
21+
php: 8.2
22+
- laravel: 9.*
23+
php: 7.3
24+
- laravel: 9.*
25+
php: 7.4
26+
- laravel: 10.*
27+
php: 7.3
28+
- laravel: 10.*
29+
php: 7.4
30+
- laravel: 10.*
31+
php: 8.0
32+
33+
name: PHP ${{ matrix.php }} on Laravel ${{ matrix.laravel }}
834

935
steps:
1036
- uses: actions/checkout@v2

composer.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
],
1212
"require": {
1313
"php": "^7.0|^8.0",
14-
"illuminate/database": "^6.0|^7.0|^8.0|^9.0",
15-
"illuminate/support": "^6.0|^7.0|^8.0|^9.0",
16-
"illuminate/console": "^6.0|^7.0|^8.0|^9.0",
14+
"illuminate/database": "^6.0|^7.0|^8.0|^9.0|^10.0",
15+
"illuminate/support": "^6.0|^7.0|^8.0|^9.0|^10.0",
16+
"illuminate/console": "^6.0|^7.0|^8.0|^9.0|^10.0",
1717
"tmilos/scim-schema": "^0.1.0",
1818
"tmilos/scim-filter-parser": "^1.3"
1919
},
@@ -29,10 +29,10 @@
2929
}
3030
},
3131
"require-dev": {
32-
"orchestra/testbench": "^5.0|^6.0",
32+
"orchestra/testbench": "^4.0|^5.0|^6.0|^7.0|^8.0",
3333
"laravel/legacy-factories": "*"
3434
},
35-
35+
3636
"extra": {
3737
"laravel": {
3838
"providers": [
@@ -43,5 +43,5 @@
4343
}
4444
}
4545
}
46-
46+
4747
}

phpunit.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<phpunit backupGlobals="false"
3-
backupStaticAttributes="false"
2+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.0/phpunit.xsd"
4+
backupGlobals="false"
5+
backupStaticProperties="false"
46
colors="true"
5-
convertErrorsToExceptions="true"
6-
convertNoticesToExceptions="true"
7-
convertWarningsToExceptions="true"
87
processIsolation="false"
98
stopOnFailure="false"
109
bootstrap="vendor/autoload.php"
10+
cacheDirectory=".phpunit.cache"
1111
>
1212
<testsuites>
1313
<testsuite name="Unit tests">

0 commit comments

Comments
 (0)