Skip to content

Commit 26fc42b

Browse files
authored
Merge pull request #32 from renoki-co/shift-build-2349
Laravel 9.x
2 parents 6bc4d77 + fa42842 commit 26fc42b

File tree

3 files changed

+16
-11
lines changed

3 files changed

+16
-11
lines changed

.github/workflows/ci.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -17,22 +17,22 @@ jobs:
1717
runs-on: ubuntu-latest
1818

1919
strategy:
20+
fail-fast: false
2021
matrix:
2122
php:
22-
- '7.3'
23-
- '7.4'
2423
- '8.0'
24+
- '8.1'
2525
laravel:
26-
- 7.*
2726
- 8.*
27+
- 9.*
2828
prefer:
2929
- 'prefer-lowest'
3030
- 'prefer-stable'
3131
include:
32-
- laravel: '7.*'
33-
testbench: '5.*'
3432
- laravel: '8.*'
3533
testbench: '6.*'
34+
- laravel: '9.*'
35+
testbench: '7.*'
3636

3737
name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }} --${{ matrix.prefer }}
3838

composer.json

+10-5
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,11 @@
22
"name": "rennokki/reddit-json-api",
33
"description": "Reddit JSON API offers an easy way to retrieve data from subreddits in no time.",
44
"keywords": [
5-
"reddit", "json", "api", "laravel", "wrapper"
5+
"reddit",
6+
"json",
7+
"api",
8+
"laravel",
9+
"wrapper"
610
],
711
"homepage": "https://github.com/renoki-co/reddit-json-api",
812
"license": "Apache-2.0",
@@ -15,14 +19,15 @@
1519
}
1620
],
1721
"require": {
18-
"php": "^7.3|^8.0",
22+
"php": "^8.0",
1923
"guzzlehttp/guzzle": "^6.5|^7.0",
20-
"illuminate/support": "^7.30|^8.23"
24+
"illuminate/support": "^8.83|^9.0.1"
2125
},
2226
"require-dev": {
2327
"mockery/mockery": "^1.5",
24-
"orchestra/testbench": "^6.24.0",
25-
"phpunit/phpunit": "^9.0"
28+
"orchestra/testbench": "^6.28|^7.0",
29+
"orchestra/testbench-core": "^6.28|^7.0",
30+
"phpunit/phpunit": "^9.5.13"
2631
},
2732
"autoload": {
2833
"psr-4": {

tests/RedditTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class RedditTest extends TestCase
2525
/**
2626
* {@inheritdoc}
2727
*/
28-
public function setUp(): void
28+
protected function setUp(): void
2929
{
3030
parent::setUp();
3131

0 commit comments

Comments
 (0)