Skip to content

Commit

Permalink
Merge pull request #207 from leroy-merlin-br/chore/update-packages
Browse files Browse the repository at this point in the history
chore: add compatibility with PHP 8.2
  • Loading branch information
orlandocavassani authored Aug 11, 2023
2 parents 97648a8 + 1920581 commit 47b77c2
Show file tree
Hide file tree
Showing 16 changed files with 370 additions and 489 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ jobs:
strategy:
matrix:
php:
- "7.4"
- "8.0"
- "8.1"
- "8.2"
mongo:
- "4.0"
- "4.2"
Expand All @@ -24,15 +24,15 @@ jobs:
- "27017:27017"
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: PHP setup
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}

- name: Composer
uses: ramsey/composer-install@v1
uses: ramsey/composer-install@v2

- name: Running tests
run: vendor/bin/phpunit -c phpunit.xml.dist --coverage-clover=./coverage/clover.xml
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@
docker-compose.override.yml
coverage
.idea
phpunit.xml
11 changes: 5 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,16 @@
}
],
"require": {
"php": ">=7.4",
"php": "^8.0",
"ext-mongodb": "*",
"illuminate/container": "^5.4 || ^6.0 || ^7.0 || ^8.0",
"illuminate/support": "^5.4 || ^6.0 || ^7.0 || ^8.0",
"illuminate/container": "^9.0 || ^10.0",
"illuminate/support": "^9.0 || ^10.0",
"mongodb/mongodb": "^1.15"
},
"require-dev": {
"leroy-merlin-br/coding-standard": "^3.1.0",
"mockery/mockery": "^1.5.1",
"phpunit/phpunit": "^9.5.27",
"symfony/var-dumper": "^5.4.14"
"mockery/mockery": "^1.2",
"phpunit/phpunit": "^9.0"
},
"autoload": {
"psr-4": {
Expand Down
Loading

0 comments on commit 47b77c2

Please sign in to comment.