2012-11-19 22:16:17 +01:00
|
|
|
{
|
2016-06-09 07:33:29 +08:00
|
|
|
"name": "moodle/moodle",
|
2018-02-04 19:38:32 +01:00
|
|
|
"license": "GPL-3.0-or-later",
|
2016-06-09 07:33:29 +08:00
|
|
|
"description": "Moodle - the world's open source learning platform",
|
|
|
|
"type": "project",
|
|
|
|
"homepage": "https://moodle.org",
|
2012-12-07 18:20:03 +01:00
|
|
|
"require-dev": {
|
2021-02-18 12:05:29 +01:00
|
|
|
"phpunit/phpunit": "9.5.*",
|
2022-09-16 20:05:33 +02:00
|
|
|
"mikey179/vfsstream": "1.6.*",
|
|
|
|
"behat/mink": "^1.10.0",
|
2023-12-03 22:53:58 +01:00
|
|
|
"friends-of-behat/mink-extension": "^2.7.4",
|
MDL-78934 behat: Move from mink goutte to browserkit driver
In order to get compatibility with PHP 8.1 there are 2 options:
1) Move to the Goutte 2 mink driver, that uses Goutte 4.
2) Move to the BrowserKit mink driver.
While 1) could sound like the easier alternative, and that is
what we are doing right now, there are a few points to take into consideration.
a) Goutte 4 is a complete wrapper over BrowserKit. 100%. See its
source code: https://github.com/FriendsOfPHP/Goutte/blob/master/Goutte/Client.php
b) The mink extension still doesn't support Goutte 4, but supports
BrowserKit. See https://github.com/FriendsOfBehat/MinkExtension (PR#16)
(we could workaround this by forking the package again)
c) Last, but not least, recently (June 2023) both the MinkGoutteDriver
and Goutte itself have been archived/abandoned:
- https://packagist.org/packages/behat/mink-goutte-driver
- https://packagist.org/packages/fabpot/goutte
So, given the points above, this is an attempt to move away
completely from Goutte and straight use the BrowserKit alternative
that, in practice, is the very same code that we are already using
(you can see that, in the .lock changes there isn't any new thing
being installed, because, as said, we are using it already).
Let's see how complex it is, I imagine it won't be hard. Surely killing
all references everywhere about Goutte will be the most complex task.
2022-10-10 17:39:58 +02:00
|
|
|
"behat/mink-browserkit-driver": "^2.1.0",
|
MDL-78800 composer: Bump dependencies to current ones
This bumps direct dependencies to current ones:
- phpunit: 9.5.x No updates here, there is the 9.6.x series
available but a lot of deprecation warnings have been
introduced there without any alternative to use. See:
- https://github.com/sebastianbergmann/phpunit/issues/5160
- https://github.com/sebastianbergmann/phpunit/issues/5062
- ...
While that will be handy to prepare ourselves to PHPUnit 10
in some months... we cannot force everybody to jump to 9.6.x
because that will make a lot of tests to start emitting
warnings.
So we stay with PHPUnit 9.5.x for the life of this branch.
- mink-phpwebdriver: 1.2.1 No updates here, just changed the
constraint because we cannot advance to 1.3.x yet, there is
a change there causing some app tests to fail. See:
- https://github.com/oleg-andreyev/MinkPhpWebDriver/pull/81
So we stay with 1.2.x until that issue is fixed/clarified,
only then we'll review the status.
- behat: 3.12.x => 3.13.x
And also, automatically, a bunch of 2nd and deepest dependencies.
Generated with php80 that is the lowest php version supported
by this branch and, also, by some of the dependencies, as per
documented @ https://moodledev.io/general/development/tools/composer
Worth mentioning behat/mink-goutte-driver, that we should move
to mink-browserkit-driver, but that's out from this issue scope.
2023-07-23 20:18:07 +02:00
|
|
|
"symfony/process": "^4.4 || ^5.0 || ^6.0",
|
MDL-78934 behat: Move from mink goutte to browserkit driver
In order to get compatibility with PHP 8.1 there are 2 options:
1) Move to the Goutte 2 mink driver, that uses Goutte 4.
2) Move to the BrowserKit mink driver.
While 1) could sound like the easier alternative, and that is
what we are doing right now, there are a few points to take into consideration.
a) Goutte 4 is a complete wrapper over BrowserKit. 100%. See its
source code: https://github.com/FriendsOfPHP/Goutte/blob/master/Goutte/Client.php
b) The mink extension still doesn't support Goutte 4, but supports
BrowserKit. See https://github.com/FriendsOfBehat/MinkExtension (PR#16)
(we could workaround this by forking the package again)
c) Last, but not least, recently (June 2023) both the MinkGoutteDriver
and Goutte itself have been archived/abandoned:
- https://packagist.org/packages/behat/mink-goutte-driver
- https://packagist.org/packages/fabpot/goutte
So, given the points above, this is an attempt to move away
completely from Goutte and straight use the BrowserKit alternative
that, in practice, is the very same code that we are already using
(you can see that, in the .lock changes there isn't any new thing
being installed, because, as said, we are using it already).
Let's see how complex it is, I imagine it won't be hard. Surely killing
all references everywhere about Goutte will be the most complex task.
2022-10-10 17:39:58 +02:00
|
|
|
"symfony/http-client": "^4.4 || ^5.0 || ^6.0",
|
|
|
|
"symfony/mime": "^4.4 || ^5.0 || ^6.0",
|
MDL-78800 composer: Bump dependencies to current ones
This bumps direct dependencies to current ones:
- phpunit: 9.5.x No updates here, there is the 9.6.x series
available but a lot of deprecation warnings have been
introduced there without any alternative to use. See:
- https://github.com/sebastianbergmann/phpunit/issues/5160
- https://github.com/sebastianbergmann/phpunit/issues/5062
- ...
While that will be handy to prepare ourselves to PHPUnit 10
in some months... we cannot force everybody to jump to 9.6.x
because that will make a lot of tests to start emitting
warnings.
So we stay with PHPUnit 9.5.x for the life of this branch.
- mink-phpwebdriver: 1.2.1 No updates here, just changed the
constraint because we cannot advance to 1.3.x yet, there is
a change there causing some app tests to fail. See:
- https://github.com/oleg-andreyev/MinkPhpWebDriver/pull/81
So we stay with 1.2.x until that issue is fixed/clarified,
only then we'll review the status.
- behat: 3.12.x => 3.13.x
And also, automatically, a bunch of 2nd and deepest dependencies.
Generated with php80 that is the lowest php version supported
by this branch and, also, by some of the dependencies, as per
documented @ https://moodledev.io/general/development/tools/composer
Worth mentioning behat/mink-goutte-driver, that we should move
to mink-browserkit-driver, but that's out from this issue scope.
2023-07-23 20:18:07 +02:00
|
|
|
"behat/behat": "3.13.*",
|
2023-12-03 22:53:58 +01:00
|
|
|
"oleg-andreyev/mink-phpwebdriver": "1.3.*",
|
2023-11-02 16:52:49 +08:00
|
|
|
"filp/whoops": "^2.15"
|
2021-12-07 13:57:01 +13:00
|
|
|
},
|
|
|
|
"autoload-dev": {
|
|
|
|
"psr-0": {
|
|
|
|
"Moodle\\BehatExtension": "lib/behat/extension/"
|
|
|
|
}
|
2020-06-16 10:28:02 +08:00
|
|
|
},
|
|
|
|
"minimum-stability": "dev",
|
2021-12-07 13:35:09 +13:00
|
|
|
"prefer-stable": true,
|
|
|
|
"require": {
|
2023-12-03 22:53:58 +01:00
|
|
|
"php": ">=8.1.0",
|
2021-12-07 13:35:09 +13:00
|
|
|
"ext-iconv": "*",
|
|
|
|
"ext-mbstring": "*",
|
|
|
|
"ext-curl": "*",
|
|
|
|
"ext-openssl": "*",
|
|
|
|
"ext-ctype": "*",
|
|
|
|
"ext-zip": "*",
|
|
|
|
"ext-zlib": "*",
|
|
|
|
"ext-gd": "*",
|
|
|
|
"ext-simplexml": "*",
|
|
|
|
"ext-spl": "*",
|
|
|
|
"ext-pcre": "*",
|
|
|
|
"ext-dom": "*",
|
|
|
|
"ext-xml": "*",
|
|
|
|
"ext-xmlreader": "*",
|
|
|
|
"ext-intl": "*",
|
|
|
|
"ext-json": "*",
|
|
|
|
"ext-hash": "*",
|
2023-01-02 15:27:50 +01:00
|
|
|
"ext-fileinfo": "*",
|
|
|
|
"ext-sodium": "*"
|
2021-12-07 13:35:09 +13:00
|
|
|
},
|
|
|
|
"suggest": {
|
|
|
|
"ext-mysqli": "Needed when Moodle uses MySQL or MariaDB database.",
|
|
|
|
"ext-pgsql": "Needed when Moodle uses PostgreSQL database.",
|
|
|
|
"ext-sqlsrv": "Needed when Moodle uses MS SQL Server database.",
|
|
|
|
"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-exif": "Enabling Exif PHP extension is recommended, it is used by Moodle to parse image meta data."
|
|
|
|
}
|
2012-11-30 16:24:41 +08:00
|
|
|
}
|