From 42573f22cede9c4358cf9503b288b8dad6a68d48 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 17 Oct 2018 18:06:45 +0200 Subject: update to 1.3.1 raise dependencies on PHP 7.1 use range dependencies doctrine/orm is optional add optional dependency on alcaeus/mongo-php-adapter --- composer.json | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) (limited to 'composer.json') diff --git a/composer.json b/composer.json index f5389f9..7c2b629 100644 --- a/composer.json +++ b/composer.json @@ -9,26 +9,32 @@ {"name": "Jonathan Wage", "email": "jonwage@gmail.com"} ], "require": { - "php": ">=5.3.2", + "php": "^7.1", "doctrine/common": "~2.2" }, "require-dev": { - "doctrine/orm": "~2.2" + "doctrine/orm": "^2.5.4", + "doctrine/dbal": "^2.5.4", + "phpunit/phpunit": "^7.0" }, "suggest": { "doctrine/orm": "For loading ORM fixtures", "doctrine/mongodb-odm": "For loading MongoDB ODM fixtures", - "doctrine/phpcr-odm": "For loading PHPCR ODM fixtures" + "doctrine/phpcr-odm": "For loading PHPCR ODM fixtures", + "alcaeus/mongo-php-adapter": "For using MongoDB ODM with PHP 7" }, "autoload": { - "psr-0": { "Doctrine\\Common\\DataFixtures": "lib/" } + "psr-4": { "Doctrine\\Common\\DataFixtures\\": "lib/Doctrine/Common/DataFixtures" } }, "autoload-dev": { - "psr-0": { "Doctrine\\Tests": "tests/" } + "psr-4": { "Doctrine\\Tests\\": "tests/Doctrine/Tests" } }, "extra": { "branch-alias": { - "dev-master": "1.0.x-dev" + "dev-master": "1.3.x-dev" } + }, + "conflict": { + "doctrine/phpcr-odm": "<1.3.0" } } -- cgit