summaryrefslogtreecommitdiffstats
path: root/composer.json
diff options
context:
space:
mode:
Diffstat (limited to 'composer.json')
-rw-r--r--composer.json36
1 files changed, 27 insertions, 9 deletions
diff --git a/composer.json b/composer.json
index fe9698d..cda6313 100644
--- a/composer.json
+++ b/composer.json
@@ -6,36 +6,54 @@
"license": "Apache-2.0",
"authors": [
{ "name": "Andreas Braun", "email": "andreas.braun@mongodb.com" },
- { "name": "Jeremy Mikola", "email": "jmikola@gmail.com" }
+ { "name": "Jeremy Mikola", "email": "jmikola@gmail.com" },
+ { "name": "Jérôme Tamarelle", "email": "jerome.tamarelle@mongodb.com" }
],
"require": {
- "php": "^7.2 || ^8.0",
+ "php": "^7.4 || ^8.0",
"ext-hash": "*",
"ext-json": "*",
- "ext-mongodb": "^1.16.0",
+ "ext-mongodb": "^1.17.0",
"jean85/pretty-package-versions": "^2.0.1",
- "symfony/polyfill-php73": "^1.27",
+ "psr/log": "^1.1.4|^2|^3",
"symfony/polyfill-php80": "^1.27",
"symfony/polyfill-php81": "^1.27"
},
"require-dev": {
- "doctrine/coding-standard": "^11.1",
- "rector/rector": "^0.16.0",
+ "doctrine/coding-standard": "^12.0",
+ "rector/rector": "^0.18",
"squizlabs/php_codesniffer": "^3.7",
"symfony/phpunit-bridge": "^5.2",
- "vimeo/psalm": "^4.28"
+ "vimeo/psalm": "^5.13"
},
"autoload": {
"psr-4": { "MongoDB\\": "src/" },
"files": [ "src/functions.php" ]
},
"autoload-dev": {
- "psr-4": { "MongoDB\\Tests\\": "tests/" },
+ "psr-4": {
+ "MongoDB\\Tests\\": "tests/"
+ },
"files": [ "tests/PHPUnit/Functions.php" ]
},
+ "scripts": {
+ "bench": "cd benchmark && composer update && vendor/bin/phpbench run --report=aggregate",
+ "checks": [
+ "@check:cs",
+ "@check:psalm",
+ "@check:rector"
+ ],
+ "check:cs": "phpcs",
+ "check:psalm": "psalm",
+ "check:rector": "rector --ansi --dry-run",
+ "fix:cs": "phpcbf",
+ "fix:psalm:baseline": "psalm --set-baseline=psalm-baseline.xml",
+ "fix:rector": "rector process --ansi",
+ "test": "simple-phpunit"
+ },
"extra": {
"branch-alias": {
- "dev-master": "1.16.x-dev"
+ "dev-master": "1.17.x-dev"
}
},
"config": {