Skip to content

Commit b2b2aac

Browse files
Merge pull request #160 from leroy-merlin-br/chore/bump-php-8
chore: add compatibility with PHP 8.2
2 parents 0049d59 + 475409b commit b2b2aac

22 files changed

+1976
-1071
lines changed

.github/workflows/push.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,10 @@ jobs:
99
strategy:
1010
matrix:
1111
php:
12-
- "7.4"
1312
- "8.0"
1413
- "8.1"
14+
- "8.2"
1515
mongo:
16-
- "4.0"
17-
- "4.2"
1816
- "4.4"
1917
- "5.0"
2018
services:
@@ -32,6 +30,7 @@ jobs:
3230
uses: shivammathur/setup-php@v2
3331
with:
3432
php-version: ${{ matrix.php }}
33+
extensions: mongodb-mongodb/mongo-php-driver@1.16.0
3534

3635
- name: Composer
3736
uses: ramsey/composer-install@v2

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ build
55
phpcs.xml
66
.idea
77
docker-compose.override.yml
8+
phpunit.xml

composer.json

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,22 @@
1717
{
1818
"name": "Guilherme Guitte",
1919
"email": "guilherme.guitte@gmail.com"
20+
},
21+
{
22+
"name": "Boitatá",
23+
"email": "boitata@leroymerlin.com.br"
2024
}
2125
],
2226
"require": {
23-
"php": ">=7.4",
24-
"leroy-merlin-br/mongolid": "v3.4",
25-
"illuminate/support": "^5.4 || ^6.0 || ^7.0 || ^8.0",
26-
"illuminate/auth": "^5.4 || ^6.0 || ^7.0 || ^8.0",
27-
"illuminate/queue": "^5.4 || ^6.0 || ^7.0 || ^8.0"
27+
"php": "^8.0",
28+
"leroy-merlin-br/mongolid": "v3.5",
29+
"illuminate/support": "^9.0 || ^10.0",
30+
"illuminate/auth": "^9.0 || ^10.0",
31+
"illuminate/queue": "^9.0 || ^10.0"
2832
},
2933
"require-dev": {
30-
"phpunit/phpunit": "^9.5.27",
31-
"orchestra/testbench": "^6.25.1",
34+
"phpunit/phpunit": "^9.0",
35+
"orchestra/testbench": "^7.0 || ^8.0",
3236
"mockery/mockery": "^1.5.1",
3337
"leroy-merlin-br/coding-standard": "^3.1.0"
3438
},

0 commit comments

Comments
 (0)