Skip to content

Commit

Permalink
ADD Laravel 10 compatibility (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
Riccardo Dalla Via committed Feb 13, 2023
1 parent 500c7bd commit bda4f0d
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 14 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,16 @@ jobs:
fail-fast: true
matrix:
os: [ubuntu-latest, windows-latest]
php: [8.1]
laravel: [9.*]
php: [8.2, 8.1]
laravel: [10.*, 9.*]
stability: [prefer-lowest, prefer-stable]
include:
- laravel: 10.*
testbench: 8.*
carbon: ^2.63
- laravel: 9.*
testbench: 7.*
carbon: ^2.63

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

Expand All @@ -40,7 +44,7 @@ jobs:
- name: Install dependencies
run: |
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" "nesbot/carbon:${{ matrix.carbon }}" --no-interaction --no-update
composer update --${{ matrix.stability }} --prefer-dist --no-interaction
- name: List Installed Dependencies
Expand Down
2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2022 MAIZE SRL <[email protected]>
Copyright (c) 2023 MAIZE SRL <[email protected]>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
18 changes: 8 additions & 10 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,31 +21,29 @@
],
"require": {
"php": "^8.1",
"spatie/laravel-package-tools": "^1.13.0",
"illuminate/contracts": "^9.30.1",
"illuminate/database": "^9.30.1",
"illuminate/http": "^9.30.1",
"illuminate/routing": "^9.30.1",
"illuminate/support": "^9.30.1"
"illuminate/contracts": "^9.30.1|^10.0",
"illuminate/database": "^9.30.1|^10.0",
"illuminate/http": "^9.30.1|^10.0",
"illuminate/routing": "^9.30.1|^10.0",
"illuminate/support": "^9.30.1|^10.0",
"spatie/laravel-package-tools": "^1.14.1"
},
"require-dev": {
"laravel/pint": "^1.0",
"nunomaduro/collision": "^6.0",
"nunomaduro/larastan": "^2.0.1",
"orchestra/testbench": "^7.0",
"orchestra/testbench": "^7.0|^8.0",
"pestphp/pest": "^1.21",
"pestphp/pest-plugin-laravel": "^1.1",
"phpstan/extension-installer": "^1.1",
"phpstan/phpstan-deprecation-rules": "^1.0",
"phpstan/phpstan-phpunit": "^1.0",
"phpunit/phpunit": "^9.5",
"spatie/laravel-ray": "^1.26",
"spatie/pest-plugin-test-time": "^1.1"
},
"autoload": {
"psr-4": {
"Maize\\MagicLogin\\": "src",
"Maize\\MagicLogin\\Database\\Factories\\": "database/factories"
"Maize\\MagicLogin\\": "src"
}
},
"autoload-dev": {
Expand Down

0 comments on commit bda4f0d

Please sign in to comment.