Skip to content

Commit

Permalink
Require PHP 7.4+
Browse files Browse the repository at this point in the history
  • Loading branch information
IonBazan committed Sep 29, 2022
1 parent 4e6423a commit e003c1d
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ jobs:
strategy:
matrix:
php-version:
- "7.2"
- "7.3"
- "7.4"
- "8.0"
- "8.1"
Expand All @@ -35,7 +33,7 @@ jobs:
- "highest"
include:
- dependencies: "lowest"
php-version: "7.2"
php-version: "7.4"
mongodb-version: "3.6"
driver-version: "1.5.0"
topology: "server"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/performance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
strategy:
matrix:
php-version:
- "7.3"
- "7.4"

services:
mongodb:
Expand Down
6 changes: 6 additions & 0 deletions UPGRADE-2.5.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# UPGRADE FROM 2.4 to 2.5

## PHP requirements

* MongoDB ODM 2.5 requires PHP 7.4 or newer. If you're not running PHP 7.4 yet,
it's recommended that you upgrade to PHP 7.4 before upgrading ODM.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
{ "name": "Andreas Braun", "email": "[email protected]" }
],
"require": {
"php": "^7.2 || ^8.0",
"php": "^7.4 || ^8.0",
"ext-mongodb": "^1.5",
"doctrine/annotations": "^1.12",
"doctrine/cache": "^1.11 || ^2.0",
Expand All @@ -45,7 +45,7 @@
"phpbench/phpbench": "^1.0.0",
"phpstan/phpstan": "^1.4.6",
"phpstan/phpstan-phpunit": "^1.0",
"phpunit/phpunit": "^8.5 || ^9",
"phpunit/phpunit": "^9",
"squizlabs/php_codesniffer": "^3.5",
"symfony/cache": "^4.4 || ^5.0 || ^6.0",
"vimeo/psalm": "^4.20.0"
Expand Down

0 comments on commit e003c1d

Please sign in to comment.