Skip to content

Commit

Permalink
Merge pull request #2 from gdpa/laravel7
Browse files Browse the repository at this point in the history
Laravel 7 support for illuminate 7 and guzzle 7
  • Loading branch information
gdpa committed Dec 20, 2020
2 parents 34c64fe + 5590981 commit 1a15c2a
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 19 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,10 @@ jobs:

strategy:
matrix:
php: [8.0, 7.3]
laravel: [8.*]
dependency-version: [prefer-lowest, prefer-stable]
os: [ubuntu-latest, windows-latest]
include:
- laravel: 8.*
testbench: 6.*
php: [ 7.2.5 ]
laravel: [ 7.* ]
dependency-version: [ prefer-lowest, prefer-stable ]
os: [ ubuntu-latest, windows-latest ]

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

Expand All @@ -33,7 +30,7 @@ jobs:

- name: Install dependencies
run: |
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
composer require --no-interaction --no-update
composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction --no-suggest
- name: Execute tests
Expand Down
22 changes: 11 additions & 11 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "gdpa/chabok",
"description": "Chabok Notifications driver",
"homepage": "https://github.com/gdpa/chabok",
"name": "gdpa/kavenegar",
"description": "Kavenegar Notifications driver",
"homepage": "https://github.com/gdpa/kavenegar",
"license": "MIT",
"authors": [
{
Expand All @@ -10,24 +10,24 @@
}
],
"require": {
"php": "^7.3|^8.0",
"guzzlehttp/guzzle": "^7.0.1",
"illuminate/notifications": "^8.0",
"illuminate/support": "^8.0"
"php": "^7.2.5",
"guzzlehttp/guzzle": "~6.3.1|^7.0.1",
"illuminate/notifications": "^7.0",
"illuminate/support": "^7.0"
},
"require-dev": {
"mockery/mockery": "^1.3.1",
"phpunit/phpunit": "^9.3",
"orchestra/testbench": "~6.0"
"phpunit/phpunit": "^8.0",
"orchestra/testbench": "~5.0"
},
"autoload": {
"psr-4": {
"NotificationChannels\\Chabok\\": "src"
"NotificationChannels\\Kavenegar\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"NotificationChannels\\Chabok\\Test\\": "tests"
"NotificationChannels\\Kavenegar\\Test\\": "tests"
}
},
"scripts": {
Expand Down

0 comments on commit 1a15c2a

Please sign in to comment.