diff --git a/Resources/config/imagine.xml b/Resources/config/imagine.xml
index f2b0c8183..333ca1314 100644
--- a/Resources/config/imagine.xml
+++ b/Resources/config/imagine.xml
@@ -99,7 +99,7 @@
-
+
diff --git a/composer.json b/composer.json
index 4c18941c9..cc1889179 100644
--- a/composer.json
+++ b/composer.json
@@ -17,7 +17,7 @@
},
"require": {
"php": ">=5.3.2",
- "imagine/Imagine": "~0.5",
+ "imagine/Imagine": "~0.5,<0.7",
"symfony/finder": "~2.3",
"symfony/filesystem": "~2.3",
"symfony/options-resolver": "~2.3",