Skip to content

Commit 40dd662

Browse files
author
Riccardo Dalla Via
authored
ADD Laravel 10 compatibility (#3)
1 parent f783ae4 commit 40dd662

File tree

3 files changed

+20
-14
lines changed

3 files changed

+20
-14
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 & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"keywords": [
55
"maize-tech",
66
"laravel",
7-
"laravel-nps"
7+
"nps"
88
],
99
"homepage": "https://github.com/maize-tech/laravel-nps",
1010
"license": "MIT",
@@ -24,25 +24,24 @@
2424
],
2525
"require": {
2626
"php": "^8.0",
27-
"illuminate/database": "^9.0",
28-
"illuminate/http": "^9.0",
29-
"illuminate/routing": "^9.0",
30-
"illuminate/support": "^9.0",
31-
"illuminate/validation": "^9.0",
32-
"spatie/laravel-package-tools": "^1.9.2"
27+
"illuminate/database": "^9.0|^10.0",
28+
"illuminate/http": "^9.0|^10.0",
29+
"illuminate/routing": "^9.0|^10.0",
30+
"illuminate/support": "^9.0|^10.0",
31+
"illuminate/validation": "^9.0|^10.0",
32+
"spatie/laravel-package-tools": "^1.14.1"
3333
},
3434
"require-dev": {
3535
"friendsofphp/php-cs-fixer": "^3.4",
3636
"nunomaduro/collision": "^6.0",
3737
"nunomaduro/larastan": "^2.0.1",
38-
"orchestra/testbench": "^7.0",
38+
"orchestra/testbench": "^7.0|^8.0",
3939
"pestphp/pest": "^1.21",
4040
"pestphp/pest-plugin-laravel": "^1.1",
4141
"phpstan/extension-installer": "^1.1",
4242
"phpstan/phpstan-deprecation-rules": "^1.0",
4343
"phpstan/phpstan-phpunit": "^1.0",
44-
"phpunit/phpunit": "^9.5",
45-
"spatie/laravel-ray": "^1.26"
44+
"phpunit/phpunit": "^9.5"
4645
},
4746
"autoload": {
4847
"psr-4": {

0 commit comments

Comments
 (0)