Skip to content

Commit

Permalink
Laravel 10.x Compatibility (#64)
Browse files Browse the repository at this point in the history
Co-authored-by: Michael Dyrynda <[email protected]>
  • Loading branch information
laravel-shift and michaeldyrynda authored Feb 16, 2023
1 parent 6dc274b commit a857578
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 55 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,8 @@ jobs:
strategy:
fail-fast: true
matrix:
php: [8.1,8.0, 7.4, 7.3]
laravel: [^8.12, ^9.0]
exclude:
- php: 7.3
laravel: '^9.0'
- php: 7.4
laravel: '^9.0'
php: [8.2, 8.1]
laravel: [10.0]

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

Expand Down
70 changes: 35 additions & 35 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,38 +1,38 @@
{
"name": "dyrynda/laravel-cascade-soft-deletes",
"description": "Cascading deletes for Eloquent models that implement soft deletes",
"type": "utility",
"require": {
"php": "^7.3|^8.0",
"illuminate/database": "^8.12|^9.0",
"illuminate/events": "^8.12|^9.0"
},
"require-dev": {
"phpunit/phpunit": "^9.3"
},
"autoload": {
"psr-4": {
"Dyrynda\\Database\\Support\\": "src/"
"name": "dyrynda/laravel-cascade-soft-deletes",
"description": "Cascading deletes for Eloquent models that implement soft deletes",
"type": "utility",
"require": {
"php": "^8.1",
"illuminate/database": "^10.0",
"illuminate/events": "^10.0"
},
"require-dev": {
"phpunit/phpunit": "^9.6 || ^10.0"
},
"autoload": {
"psr-4": {
"Dyrynda\\Database\\Support\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Tests\\": "tests/"
}
},
"license": "MIT",
"authors": [
{
"name": "Michael Dyrynda",
"email": "[email protected]",
"homepage": "https://dyrynda.com.au"
}
],
"minimum-stability": "dev",
"prefer-stable": true,
"config": {
"extra": {
"sort-packages": true
}
}
},
"autoload-dev": {
"psr-4": {
"Tests\\": "tests/"
}
},
"license": "MIT",
"authors": [
{
"name": "Michael Dyrynda",
"email": "[email protected]",
"homepage": "https://dyrynda.com.au"
}
],
"minimum-stability": "dev",
"prefer-stable": true,
"config": {
"extra": {
"sort-packages": true
}
}
}
14 changes: 1 addition & 13 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
@@ -1,17 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
backupGlobals="false"
backupStaticAttributes="false"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
testdox="true"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"
>
<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">
<coverage>
<include>
<directory suffix=".php">app/</directory>
Expand Down

0 comments on commit a857578

Please sign in to comment.