Skip to content

Commit a857578

Browse files
Laravel 10.x Compatibility (#64)
Co-authored-by: Michael Dyrynda <[email protected]>
1 parent 6dc274b commit a857578

File tree

3 files changed

+38
-55
lines changed

3 files changed

+38
-55
lines changed

.github/workflows/run-tests.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,8 @@ jobs:
1212
strategy:
1313
fail-fast: true
1414
matrix:
15-
php: [8.1,8.0, 7.4, 7.3]
16-
laravel: [^8.12, ^9.0]
17-
exclude:
18-
- php: 7.3
19-
laravel: '^9.0'
20-
- php: 7.4
21-
laravel: '^9.0'
15+
php: [8.2, 8.1]
16+
laravel: [10.0]
2217

2318
name: P${{ matrix.php }} - L${{ matrix.laravel }}
2419

composer.json

Lines changed: 35 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,38 @@
11
{
2-
"name": "dyrynda/laravel-cascade-soft-deletes",
3-
"description": "Cascading deletes for Eloquent models that implement soft deletes",
4-
"type": "utility",
5-
"require": {
6-
"php": "^7.3|^8.0",
7-
"illuminate/database": "^8.12|^9.0",
8-
"illuminate/events": "^8.12|^9.0"
9-
},
10-
"require-dev": {
11-
"phpunit/phpunit": "^9.3"
12-
},
13-
"autoload": {
14-
"psr-4": {
15-
"Dyrynda\\Database\\Support\\": "src/"
2+
"name": "dyrynda/laravel-cascade-soft-deletes",
3+
"description": "Cascading deletes for Eloquent models that implement soft deletes",
4+
"type": "utility",
5+
"require": {
6+
"php": "^8.1",
7+
"illuminate/database": "^10.0",
8+
"illuminate/events": "^10.0"
9+
},
10+
"require-dev": {
11+
"phpunit/phpunit": "^9.6 || ^10.0"
12+
},
13+
"autoload": {
14+
"psr-4": {
15+
"Dyrynda\\Database\\Support\\": "src/"
16+
}
17+
},
18+
"autoload-dev": {
19+
"psr-4": {
20+
"Tests\\": "tests/"
21+
}
22+
},
23+
"license": "MIT",
24+
"authors": [
25+
{
26+
"name": "Michael Dyrynda",
27+
"email": "[email protected]",
28+
"homepage": "https://dyrynda.com.au"
29+
}
30+
],
31+
"minimum-stability": "dev",
32+
"prefer-stable": true,
33+
"config": {
34+
"extra": {
35+
"sort-packages": true
36+
}
1637
}
17-
},
18-
"autoload-dev": {
19-
"psr-4": {
20-
"Tests\\": "tests/"
21-
}
22-
},
23-
"license": "MIT",
24-
"authors": [
25-
{
26-
"name": "Michael Dyrynda",
27-
"email": "[email protected]",
28-
"homepage": "https://dyrynda.com.au"
29-
}
30-
],
31-
"minimum-stability": "dev",
32-
"prefer-stable": true,
33-
"config": {
34-
"extra": {
35-
"sort-packages": true
36-
}
37-
}
3838
}

phpunit.xml.dist

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<phpunit
3-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4-
backupGlobals="false"
5-
backupStaticAttributes="false"
6-
colors="true"
7-
convertErrorsToExceptions="true"
8-
convertNoticesToExceptions="true"
9-
convertWarningsToExceptions="true"
10-
processIsolation="false"
11-
stopOnFailure="false"
12-
testdox="true"
13-
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"
14-
>
2+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" backupGlobals="false" colors="true" processIsolation="false" stopOnFailure="false" testdox="true" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.0/phpunit.xsd" cacheDirectory=".phpunit.cache" backupStaticProperties="false">
153
<coverage>
164
<include>
175
<directory suffix=".php">app/</directory>

0 commit comments

Comments
 (0)