Skip to content

Commit 422e589

Browse files
author
Riccardo Dalla Via
authored
ADD Laravel 10 compatibility (#8)
1 parent af85526 commit 422e589

File tree

3 files changed

+20
-13
lines changed

3 files changed

+20
-13
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 & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
"keywords": [
55
"maize-tech",
66
"laravel",
7-
"laravel-prunable-fields"
7+
"prunable",
8+
"fields"
89
],
910
"homepage": "https://github.com/maize-tech/laravel-prunable-fields",
1011
"license": "MIT",
@@ -17,24 +18,23 @@
1718
],
1819
"require": {
1920
"php": "^8.0",
20-
"illuminate/console": "^9.0",
21-
"illuminate/database": "^9.0",
22-
"illuminate/events": "^9.0",
23-
"illuminate/support": "^9.0",
24-
"spatie/laravel-package-tools": "^1.9.2"
21+
"illuminate/console": "^9.0|^10.0",
22+
"illuminate/database": "^9.0|^10.0",
23+
"illuminate/events": "^9.0|^10.0",
24+
"illuminate/support": "^9.0|^10.0",
25+
"spatie/laravel-package-tools": "^1.14.1"
2526
},
2627
"require-dev": {
2728
"friendsofphp/php-cs-fixer": "^3.8",
2829
"nunomaduro/collision": "^6.0",
2930
"nunomaduro/larastan": "^2.0.1",
30-
"orchestra/testbench": "^7.0",
31+
"orchestra/testbench": "^7.0|^8.0",
3132
"pestphp/pest": "^1.21",
3233
"pestphp/pest-plugin-laravel": "^1.1",
3334
"phpstan/extension-installer": "^1.1",
3435
"phpstan/phpstan-deprecation-rules": "^1.0",
3536
"phpstan/phpstan-phpunit": "^1.0",
36-
"phpunit/phpunit": "^9.5",
37-
"spatie/laravel-ray": "^1.26"
37+
"phpunit/phpunit": "^9.5"
3838
},
3939
"autoload": {
4040
"psr-4": {

0 commit comments

Comments
 (0)