From cb759e1e902acc882bb83649a689299af8f4b7a9 Mon Sep 17 00:00:00 2001 From: Jan Pecha Date: Sat, 29 Apr 2017 16:14:13 +0200 Subject: [PATCH] Updated version constraints --- composer.json | 8 ++++---- tests/LeanMapperExtension/classes.php | 24 ++++++++++++++++++++---- 2 files changed, 24 insertions(+), 8 deletions(-) diff --git a/composer.json b/composer.json index 092f6d9..04ce285 100644 --- a/composer.json +++ b/composer.json @@ -3,13 +3,13 @@ "description": "LeanMapper extension for Nette DI", "require": { "php": ">=5.3.0", - "nette/di": "~2.2", - "tharos/leanmapper": "~2.2" + "nette/di": "^2.2", + "tharos/leanmapper": "^2.2 || ^3.0" }, "require-dev": { "nette/tester": "~1.2", - "nette/bootstrap": "~2.2", - "tracy/tracy": "~2.2" + "nette/bootstrap": "^2.2", + "tracy/tracy": "^2.2" }, "license": "BSD-3", "autoload": { diff --git a/tests/LeanMapperExtension/classes.php b/tests/LeanMapperExtension/classes.php index b29078f..0b44162 100644 --- a/tests/LeanMapperExtension/classes.php +++ b/tests/LeanMapperExtension/classes.php @@ -1,8 +1,24 @@