Skip to content

Commit f4a7830

Browse files
author
Riccardo Dalla Via
authored
ADD Laravel 10 compatibility (#6)
1 parent 9e4e0ab commit f4a7830

File tree

3 files changed

+17
-13
lines changed

3 files changed

+17
-13
lines changed

.github/workflows/run-tests.yml

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

2530
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
2631

@@ -42,7 +47,7 @@ jobs:
4247
4348
- name: Install dependencies
4449
run: |
45-
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
4651
composer update --${{ matrix.stability }} --prefer-dist --no-interaction
4752
4853
- 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 <innovation@h-farm.com>
3+
Copyright (c) 2023 MAIZE SRL <innovation@h-farm.com>
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: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,21 +19,20 @@
1919
],
2020
"require": {
2121
"php": "^8.0",
22-
"illuminate/database": "^8.0|^9.0",
23-
"illuminate/support": "^8.0|^9.0",
24-
"spatie/laravel-package-tools": "^1.11.3"
22+
"illuminate/database": "^9.0|^10.0",
23+
"illuminate/support": "^9.0|^10.0",
24+
"spatie/laravel-package-tools": "^1.14.1"
2525
},
2626
"require-dev": {
2727
"friendsofphp/php-cs-fixer": "^3.7",
28-
"nunomaduro/larastan": "^1.0",
29-
"orchestra/testbench": "^6.23|^7.0",
28+
"nunomaduro/larastan": "^2.0.1",
29+
"orchestra/testbench": "^7.0|^8.0",
3030
"pestphp/pest": "^1.21",
3131
"pestphp/pest-plugin-laravel": "^1.1",
3232
"phpstan/extension-installer": "^1.1",
3333
"phpstan/phpstan-deprecation-rules": "^1.0",
3434
"phpstan/phpstan-phpunit": "^1.0",
35-
"phpunit/phpunit": "^9.5",
36-
"spatie/laravel-ray": "^1.26"
35+
"phpunit/phpunit": "^9.5"
3736
},
3837
"autoload": {
3938
"psr-4": {

0 commit comments

Comments
 (0)