summaryrefslogtreecommitdiffstats
path: root/composer.json
diff options
context:
space:
mode:
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": {