Skip to content

Commit

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


name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
Expand All @@ -43,7 +48,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: Execute tests
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
19 changes: 9 additions & 10 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"name": "maize-tech/laravel-helpers",
"description": "This is my package laravel-helpers",
"description": "Laravel Helpers",
"keywords": [
"maize-tech",
"laravel",
"laravel-helpers"
"helpers"
],
"homepage": "https://github.com/maize-tech/laravel-helpers",
"license": "MIT",
Expand All @@ -18,23 +18,22 @@
],
"require": {
"php": "^8.0",
"illuminate/database": "^8.0|^9.0",
"illuminate/support": "^8.0|^9.0",
"spatie/laravel-package-tools": "^1.9.2"
"illuminate/database": "^9.0|^10.0",
"illuminate/support": "^9.0|^10.0",
"spatie/laravel-package-tools": "^1.14.1"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.7",
"nunomaduro/collision": "^5.0|^6.0",
"nunomaduro/larastan": "^1.0|^2.0.1",
"orchestra/testbench": "^6.23|^7.0",
"nunomaduro/collision": "^6.0",
"nunomaduro/larastan": "^2.0.1",
"orchestra/testbench": "^7.0|^8.0",
"pestphp/pest": "^1.21",
"pestphp/pest-plugin-laravel": "^1.1",
"pestphp/pest-plugin-mock": "^1.0",
"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"
"phpunit/phpunit": "^9.5"
},
"autoload": {
"psr-4": {
Expand Down

0 comments on commit 891e884

Please sign in to comment.