Skip to content

Commit 58222a6

Browse files
committed
chore: update deps
1 parent 3b5b450 commit 58222a6

File tree

4 files changed

+31
-28
lines changed

4 files changed

+31
-28
lines changed

.github/workflows/tests.yml

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7,35 +7,30 @@ on:
77
jobs:
88

99
tests:
10-
name: ${{ matrix.operating-system }} with PHP ${{ matrix.php-version }}
11-
10+
runs-on: ${{ matrix.os }}
11+
name: ${{ matrix.os }} with PHP ${{ matrix.php }}
1212
strategy:
13+
fail-fast: true
1314
matrix:
14-
operating-system:
15-
- 'ubuntu-20.04'
16-
php-version:
17-
- '7.4'
18-
- '8.0'
19-
- '8.1'
20-
21-
runs-on: ${{ matrix.operating-system }}
15+
os: [ubuntu-latest]
16+
php: [8.0, 8.1, 8.2, 8.3]
2217

2318
steps:
2419
- name: Checkout code
25-
uses: actions/checkout@v2
20+
uses: actions/checkout@v4
2621

2722
- name: Install PHP with extensions
2823
uses: shivammathur/setup-php@v2
2924
with:
3025
extensions: intl
31-
php-version: ${{ matrix.php-version }}
26+
php-version: ${{ matrix.php }}
3227

3328
- name: Get composer cache directory
3429
id: composer-cache
3530
run: echo "::set-output name=dir::$(composer config cache-files-dir)"
3631

3732
- name: Cache dependencies
38-
uses: actions/cache@v2
33+
uses: actions/cache@v3
3934
with:
4035
path: ${{ steps.composer-cache.outputs.dir }}
4136
key: composer-${{ runner.os }}-${{ matrix.php-version }}-${{ hashFiles('composer.*') }}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ by [Graham Campbell](https://github.com/GrahamCampbell/).
1515
1616
## Installation
1717

18-
WHMCS API for Laravel requires PHP ^7.4 | ^8.0 with at least Laravel 8.
18+
WHMCS API for Laravel requires PHP ^8.0.2 with at least Laravel 9.
1919

2020
Install the package through [Composer](http://getcomposer.org/). Run the Composer require command from the Terminal:
2121

composer.json

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "darthsoup/laravel-whmcs",
3-
"description": "WHMCS API interface for Laravel 7.0 and up",
3+
"description": "WHMCS API interface for Laravel 9.0 and up",
44
"license": "MIT",
55
"authors": [
66
{
@@ -9,20 +9,20 @@
99
}
1010
],
1111
"require": {
12-
"php": "^7.4|^8.0",
12+
"php": "^8.0.2",
1313
"ext-json": "*",
14-
"illuminate/support": "^8.0|^9.0|^10.0",
15-
"illuminate/session": "^8.0|^9.0|^10.0",
16-
"illuminate/events": "^8.0|^9.0|^10.0",
14+
"illuminate/support": "^9.0|^10.0",
15+
"illuminate/session": "^9.0|^10.0",
16+
"illuminate/events": "^9.0|^10.0",
1717
"darthsoup/php-whmcs-api": "~1.3",
1818
"graham-campbell/manager": "^5.0"
1919
},
2020
"require-dev": {
21-
"guzzlehttp/guzzle": "^7.0",
21+
"guzzlehttp/guzzle": "^7.8",
2222
"http-interop/http-factory-guzzle": "^1.0",
23-
"mockery/mockery": "~1.3",
24-
"nunomaduro/larastan": "^1.0.4",
25-
"orchestra/testbench": "^5.0|^6.0|^7.0|^8.0",
23+
"mockery/mockery": "~1.6",
24+
"larastan/larastan": "^2.7",
25+
"orchestra/testbench": "^7.33|^8.13",
2626
"phpunit/phpunit": "^9.3"
2727
},
2828
"autoload": {
@@ -50,5 +50,10 @@
5050
"Whmcs": "DarthSoup\\Whmcs\\Facades\\Whmcs"
5151
}
5252
}
53+
},
54+
"config": {
55+
"allow-plugins": {
56+
"php-http/discovery": true
57+
}
5358
}
5459
}

phpstan.neon.dist

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
includes:
2-
- ./vendor/nunomaduro/larastan/extension.neon
2+
- ./vendor/larastan/larastan/extension.neon
33

44
parameters:
5-
level: 5
6-
paths:
7-
- src
8-
- config
5+
level: max
6+
paths:
7+
- config
8+
- src
9+
10+
reportUnmatchedIgnoredErrors: true
11+
checkMissingIterableValueType: false

0 commit comments

Comments
 (0)