Skip to content
This repository was archived by the owner on Jan 7, 2025. It is now read-only.

Commit 4801fb9

Browse files
Laravel 10.x Compatibility (#58)
Co-authored-by: Michael Dyrynda <[email protected]>
1 parent 6eafe57 commit 4801fb9

File tree

3 files changed

+47
-59
lines changed

3 files changed

+47
-59
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: false
1414
matrix:
15-
php: [8.1, 8.0, 7.4, 7.3]
16-
laravel: [^8.0, ^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: 44 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,47 @@
11
{
2-
"name": "dyrynda/laravel-efficient-uuid",
3-
"type": "utility",
4-
"description": "A package to extend Laravel migrations adding a more efficient storage of UUID fields in your database",
5-
"license": "MIT",
6-
"authors": [
7-
{
8-
"name": "Michael Dyrynda",
9-
"email": "[email protected]",
10-
"homepage": "https://dyrynda.com.au"
2+
"name": "dyrynda/laravel-efficient-uuid",
3+
"type": "utility",
4+
"description": "A package to extend Laravel migrations adding a more efficient storage of UUID fields in your database",
5+
"license": "MIT",
6+
"authors": [
7+
{
8+
"name": "Michael Dyrynda",
9+
"email": "[email protected]",
10+
"homepage": "https://dyrynda.com.au"
11+
}
12+
],
13+
"require": {
14+
"php": "^8.1",
15+
"dyrynda/laravel-model-uuid": "^7.0",
16+
"illuminate/container": "^10.0",
17+
"illuminate/contracts": "^10.0",
18+
"illuminate/database": "^10.0",
19+
"ramsey/uuid": "^4.7"
20+
},
21+
"require-dev": {
22+
"laravel/legacy-factories": "^1.3",
23+
"mockery/mockery": "^1.4.4",
24+
"orchestra/testbench": "^8.0",
25+
"phpunit/phpunit": "^9.6.0 || ^10.0.7"
26+
},
27+
"autoload": {
28+
"psr-4": {
29+
"Dyrynda\\Database\\": "src/"
30+
}
31+
},
32+
"autoload-dev": {
33+
"psr-4": {
34+
"Tests\\": "tests/"
35+
}
36+
},
37+
"minimum-stability": "dev",
38+
"prefer-stable": true,
39+
"config": {
40+
"sort-packages": true
41+
},
42+
"extra": {
43+
"branch-alias": {
44+
"dev-main": "5.x-dev"
45+
}
1146
}
12-
],
13-
"require": {
14-
"php": "^7.3|^8.0",
15-
"dyrynda/laravel-model-uuid": "^6.6",
16-
"illuminate/container": "^8.12|^9.0",
17-
"illuminate/contracts": "^8.12|^9.0",
18-
"illuminate/database": "^8.12|^9.0",
19-
"ramsey/uuid": "^4.1"
20-
},
21-
"require-dev": {
22-
"laravel/legacy-factories": "^1.1",
23-
"mockery/mockery": "^1.4.2",
24-
"orchestra/testbench": "^6.0|^7.0",
25-
"phpunit/phpunit": "^9.3"
26-
},
27-
"autoload": {
28-
"psr-4": {
29-
"Dyrynda\\Database\\": "src/"
30-
}
31-
},
32-
"autoload-dev": {
33-
"psr-4": {
34-
"Tests\\": "tests/"
35-
}
36-
},
37-
"minimum-stability": "dev",
38-
"prefer-stable": true,
39-
"config": {
40-
"sort-packages": true
41-
}
4247
}

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-
bootstrap="vendor/autoload.php"
7-
colors="true"
8-
convertErrorsToExceptions="true"
9-
convertNoticesToExceptions="true"
10-
convertWarningsToExceptions="true"
11-
processIsolation="false"
12-
stopOnFailure="false"
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" 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">
153
<coverage>
164
<include>
175
<directory suffix=".php">src/</directory>

0 commit comments

Comments
 (0)