Skip to content
This repository has been archived by the owner on Apr 23, 2024. It is now read-only.

Commit

Permalink
Laravel 10.x Compatibility (#58)
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 6eafe57 commit 4801fb9
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 59 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: false
matrix:
php: [8.1, 8.0, 7.4, 7.3]
laravel: [^8.0, ^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
83 changes: 44 additions & 39 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,42 +1,47 @@
{
"name": "dyrynda/laravel-efficient-uuid",
"type": "utility",
"description": "A package to extend Laravel migrations adding a more efficient storage of UUID fields in your database",
"license": "MIT",
"authors": [
{
"name": "Michael Dyrynda",
"email": "[email protected]",
"homepage": "https://dyrynda.com.au"
"name": "dyrynda/laravel-efficient-uuid",
"type": "utility",
"description": "A package to extend Laravel migrations adding a more efficient storage of UUID fields in your database",
"license": "MIT",
"authors": [
{
"name": "Michael Dyrynda",
"email": "[email protected]",
"homepage": "https://dyrynda.com.au"
}
],
"require": {
"php": "^8.1",
"dyrynda/laravel-model-uuid": "^7.0",
"illuminate/container": "^10.0",
"illuminate/contracts": "^10.0",
"illuminate/database": "^10.0",
"ramsey/uuid": "^4.7"
},
"require-dev": {
"laravel/legacy-factories": "^1.3",
"mockery/mockery": "^1.4.4",
"orchestra/testbench": "^8.0",
"phpunit/phpunit": "^9.6.0 || ^10.0.7"
},
"autoload": {
"psr-4": {
"Dyrynda\\Database\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Tests\\": "tests/"
}
},
"minimum-stability": "dev",
"prefer-stable": true,
"config": {
"sort-packages": true
},
"extra": {
"branch-alias": {
"dev-main": "5.x-dev"
}
}
],
"require": {
"php": "^7.3|^8.0",
"dyrynda/laravel-model-uuid": "^6.6",
"illuminate/container": "^8.12|^9.0",
"illuminate/contracts": "^8.12|^9.0",
"illuminate/database": "^8.12|^9.0",
"ramsey/uuid": "^4.1"
},
"require-dev": {
"laravel/legacy-factories": "^1.1",
"mockery/mockery": "^1.4.2",
"orchestra/testbench": "^6.0|^7.0",
"phpunit/phpunit": "^9.3"
},
"autoload": {
"psr-4": {
"Dyrynda\\Database\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Tests\\": "tests/"
}
},
"minimum-stability": "dev",
"prefer-stable": true,
"config": {
"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"
bootstrap="vendor/autoload.php"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"
>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" backupGlobals="false" bootstrap="vendor/autoload.php" colors="true" processIsolation="false" stopOnFailure="false" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.0/phpunit.xsd" cacheDirectory=".phpunit.cache" backupStaticProperties="false">
<coverage>
<include>
<directory suffix=".php">src/</directory>
Expand Down

0 comments on commit 4801fb9

Please sign in to comment.