summaryrefslogtreecommitdiffstats
path: root/composer.json
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2025-02-28 15:13:50 +0100
committerRemi Collet <remi@php.net>2025-02-28 15:13:50 +0100
commit5bca132b1dc1f8b64c2db87daf5cea984f6fb8b8 (patch)
treee8a9b8290f5686b06f7e209c14b9aa94b2077ff8 /composer.json
parent6003bee8c621975143a7aeacbca93cb14322554c (diff)
update to 1.21.0
re-license spec file to CECILL-2.1 raise dependency on mongodb extension version 1.21
Diffstat (limited to 'composer.json')
-rw-r--r--composer.json20
1 files changed, 12 insertions, 8 deletions
diff --git a/composer.json b/composer.json
index fceee11..118943b 100644
--- a/composer.json
+++ b/composer.json
@@ -10,10 +10,10 @@
{ "name": "Jérôme Tamarelle", "email": "jerome.tamarelle@mongodb.com" }
],
"require": {
- "php": "^7.4 || ^8.0",
+ "php": "^8.1",
"ext-hash": "*",
"ext-json": "*",
- "ext-mongodb": "^1.20.0",
+ "ext-mongodb": "^1.21.0",
"composer-runtime-api": "^2.0",
"psr/log": "^1.1.4|^2|^3",
"symfony/polyfill-php80": "^1.27",
@@ -21,10 +21,13 @@
},
"require-dev": {
"doctrine/coding-standard": "^12.0",
- "rector/rector": "^1.1",
+ "phpunit/phpunit": "^10.5.35",
+ "rector/rector": "^1.2",
"squizlabs/php_codesniffer": "^3.7",
- "symfony/phpunit-bridge": "^5.2",
- "vimeo/psalm": "^5.13"
+ "vimeo/psalm": "6.5.*"
+ },
+ "replace": {
+ "mongodb/builder": "*"
},
"autoload": {
"psr-4": { "MongoDB\\": "src/" },
@@ -33,10 +36,11 @@
"autoload-dev": {
"psr-4": {
"MongoDB\\Tests\\": "tests/"
- },
- "files": [ "tests/PHPUnit/Functions.php" ]
+ }
},
"scripts": {
+ "pre-install-cmd": "git submodule update --init",
+ "pre-update-cmd": "git submodule update --init",
"bench": "cd benchmark && composer update && vendor/bin/phpbench run --report=aggregate",
"checks": [
"@check:cs",
@@ -49,7 +53,7 @@
"fix:cs": "phpcbf",
"fix:psalm:baseline": "psalm --set-baseline=psalm-baseline.xml",
"fix:rector": "rector process --ansi",
- "test": "simple-phpunit"
+ "test": "phpunit"
},
"extra": {
"branch-alias": {