Skip to content

Commit

Permalink
chore: add compatibility with PHP 8.2
Browse files Browse the repository at this point in the history
- remove compatibility with php 7.4
- remove compatibility with illuminate packages 5.4, 6.0 and 7.0
- remove compatibility with mongodb 3.6, 4.0 and 4.2
- add compatibility with illuminate packages 9.0 and 10.0
- bump php container to version 8.0
- bump xdebug to version 3.2.1
  • Loading branch information
henrique221 authored and orlandocavassani committed Mar 30, 2023
1 parent d0ede8b commit 7a78d6d
Show file tree
Hide file tree
Showing 14 changed files with 314 additions and 453 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,10 @@ jobs:
strategy:
matrix:
php:
- "7.4"
- "8.0"
- "8.1"
- "8.2"
mongo:
- "3.6"
- "4.0"
- "4.2"
- "4.4"
services:
mongodb:
Expand All @@ -24,15 +21,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
13 changes: 6 additions & 7 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"
"leroy-merlin-br/coding-standard": "^v3.1.0",
"mockery/mockery": "^1.2",
"phpunit/phpunit": "^9.0"
},
"autoload": {
"psr-4": {
Expand Down
Loading

0 comments on commit 7a78d6d

Please sign in to comment.