Skip to content

Commit 891e884

Browse files
author
Riccardo Dalla Via
authored
ADD Laravel 10 compatibility (#11)
1 parent d0732c3 commit 891e884

File tree

3 files changed

+20
-16
lines changed

3 files changed

+20
-16
lines changed

Diff for: .github/workflows/run-tests.yml

+10-5
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: 10.*
21+
testbench: 8.*
22+
carbon: ^2.63
2023
- laravel: 9.*
2124
testbench: 7.*
22-
- laravel: 8.*
23-
testbench: ^6.23
25+
carbon: ^2.63
26+
exclude:
27+
- laravel: 10.*
28+
php: 8.0
2429

2530

2631
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
@@ -43,7 +48,7 @@ jobs:
4348
4449
- name: Install dependencies
4550
run: |
46-
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
51+
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" "nesbot/carbon:${{ matrix.carbon }}" --no-interaction --no-update
4752
composer update --${{ matrix.stability }} --prefer-dist --no-interaction
4853
4954
- name: Execute tests

Diff for: LICENSE.md

+1-1
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

Diff for: composer.json

+9-10
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"name": "maize-tech/laravel-helpers",
3-
"description": "This is my package laravel-helpers",
3+
"description": "Laravel Helpers",
44
"keywords": [
55
"maize-tech",
66
"laravel",
7-
"laravel-helpers"
7+
"helpers"
88
],
99
"homepage": "https://github.com/maize-tech/laravel-helpers",
1010
"license": "MIT",
@@ -18,23 +18,22 @@
1818
],
1919
"require": {
2020
"php": "^8.0",
21-
"illuminate/database": "^8.0|^9.0",
22-
"illuminate/support": "^8.0|^9.0",
23-
"spatie/laravel-package-tools": "^1.9.2"
21+
"illuminate/database": "^9.0|^10.0",
22+
"illuminate/support": "^9.0|^10.0",
23+
"spatie/laravel-package-tools": "^1.14.1"
2424
},
2525
"require-dev": {
2626
"friendsofphp/php-cs-fixer": "^3.7",
27-
"nunomaduro/collision": "^5.0|^6.0",
28-
"nunomaduro/larastan": "^1.0|^2.0.1",
29-
"orchestra/testbench": "^6.23|^7.0",
27+
"nunomaduro/collision": "^6.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
"pestphp/pest-plugin-mock": "^1.0",
3333
"phpstan/extension-installer": "^1.1",
3434
"phpstan/phpstan-deprecation-rules": "^1.0",
3535
"phpstan/phpstan-phpunit": "^1.0",
36-
"phpunit/phpunit": "^9.5",
37-
"spatie/laravel-ray": "^1.26"
36+
"phpunit/phpunit": "^9.5"
3837
},
3938
"autoload": {
4039
"psr-4": {

0 commit comments

Comments
 (0)