Skip to content

Commit 0da19e8

Browse files
author
Riccardo Dalla Via
authored
ADD Laravel 10 compatibility (#11)
1 parent fb37489 commit 0da19e8

File tree

3 files changed

+20
-12
lines changed

3 files changed

+20
-12
lines changed

.github/workflows/run-tests.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,19 @@ jobs:
1313
fail-fast: true
1414
matrix:
1515
os: [ubuntu-latest, windows-latest]
16-
php: [8.1, 8.0]
17-
laravel: [9.*]
16+
php: [8.2, 8.1, 8.0]
17+
laravel: [10.*, 9.*]
1818
stability: [prefer-lowest, prefer-stable]
1919
include:
20+
- laravel: 10.*
21+
testbench: 8.*
22+
carbon: ^2.63
2023
- laravel: 9.*
2124
testbench: 7.*
25+
carbon: ^2.63
26+
exclude:
27+
- laravel: 10.*
28+
php: 8.0
2229

2330
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
2431

@@ -40,7 +47,7 @@ jobs:
4047
4148
- name: Install dependencies
4249
run: |
43-
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
50+
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" "nesbot/carbon:${{ matrix.carbon }}" --no-interaction --no-update
4451
composer update --${{ matrix.stability }} --prefer-dist --no-interaction
4552
4653
- name: Execute tests

LICENSE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2022 MAIZE SRL <[email protected]>
3+
Copyright (c) 2023 MAIZE SRL <[email protected]>
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

composer.json

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33
"description": "Laravel Remote Rule",
44
"keywords": [
55
"maize-tech",
6-
"laravel-remote-rule"
6+
"laravel",
7+
"remote",
8+
"rule"
79
],
810
"homepage": "https://github.com/maize-tech/laravel-remote-rule",
911
"license": "MIT",
@@ -17,19 +19,18 @@
1719
],
1820
"require": {
1921
"php": "^8.0",
20-
"illuminate/contracts": "^9.0",
21-
"illuminate/database": "^9.0",
22-
"illuminate/http": "^9.0",
23-
"illuminate/support": "^9.0",
24-
"spatie/laravel-package-tools": "^1.9.2"
22+
"illuminate/contracts": "^9.0|^10.0",
23+
"illuminate/database": "^9.0|^10.0",
24+
"illuminate/http": "^9.0|^10.0",
25+
"illuminate/support": "^9.0|^10.0",
26+
"spatie/laravel-package-tools": "^1.14.1"
2527
},
2628
"require-dev": {
2729
"friendsofphp/php-cs-fixer": "^3.4",
2830
"guzzlehttp/guzzle": "^7.4",
2931
"nunomaduro/collision": "^6.0",
30-
"orchestra/testbench": "^7.0",
32+
"orchestra/testbench": "^7.0|^8.0",
3133
"phpunit/phpunit": "^9.5",
32-
"spatie/laravel-ray": "^1.26",
3334
"vimeo/psalm": "^4.20"
3435
},
3536
"autoload": {

0 commit comments

Comments
 (0)