Skip to content

Commit

Permalink
MDL-74905 composer: Regenerate with php80 and requirements raised
Browse files Browse the repository at this point in the history
Now that the required PHP version has been raised to php80, set
it in the composer.json file and regenerate everything, following
the instructions @ https://docs.moodle.org/dev/Composer .

The only changes, as agreed in the issue are:
- Raise min PHP version to 8.0 (from 7.4).
- Make the php-sodium extension required (was optional).
- Small behat/behat bump to 3.12.0 (from 3.11.0)
  • Loading branch information
stronk7 committed Feb 3, 2023
1 parent 0780e87 commit 93406bd
Show file tree
Hide file tree
Showing 2 changed files with 261 additions and 356 deletions.
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"friends-of-behat/mink-extension": "^2.7.2",
"behat/mink-goutte-driver": "^2.0",
"symfony/process": "^4.4 || ^5.0",
"behat/behat": "3.11.*",
"behat/behat": "3.12.*",
"oleg-andreyev/mink-phpwebdriver": "^1.2.1"
},
"autoload-dev": {
Expand All @@ -22,7 +22,7 @@
"minimum-stability": "dev",
"prefer-stable": true,
"require": {
"php": ">=7.4.0",
"php": ">=8.0.0",
"ext-iconv": "*",
"ext-mbstring": "*",
"ext-curl": "*",
Expand All @@ -40,7 +40,8 @@
"ext-intl": "*",
"ext-json": "*",
"ext-hash": "*",
"ext-fileinfo": "*"
"ext-fileinfo": "*",
"ext-sodium": "*"
},
"suggest": {
"ext-mysqli": "Needed when Moodle uses MySQL or MariaDB database.",
Expand All @@ -49,7 +50,6 @@
"ext-oci8": "Needed when Moodle uses Oracle database.",
"ext-tokenizer": "Enabling Tokenizer PHP extension is recommended, it improves Moodle Networking functionality.",
"ext-soap": "Enabling SOAP PHP extension is useful for web services and some plugins.",
"ext-sodium": "Enabling Sodium PHP extension is recommended, it is used by Moodle encryption API.",
"ext-exif": "Enabling Exif PHP extension is recommended, it is used by Moodle to parse image meta data."
}
}
Loading

0 comments on commit 93406bd

Please sign in to comment.