diff --git a/Mapping/Loader/PhpDocLoader.php b/Mapping/Loader/PhpDocLoader.php index 2be0f1582fd..2872b7ef0f4 100644 --- a/Mapping/Loader/PhpDocLoader.php +++ b/Mapping/Loader/PhpDocLoader.php @@ -13,6 +13,7 @@ use Dunglas\ApiBundle\Mapping\ClassMetadata; use Dunglas\ApiBundle\Util\ReflectionTrait; +use phpDocumentor\Reflection\ClassReflector; use phpDocumentor\Reflection\FileReflector; use PropertyInfo\PropertyInfoInterface; diff --git a/composer.json b/composer.json index 2cffc4a86fe..3fd17dae638 100644 --- a/composer.json +++ b/composer.json @@ -21,7 +21,7 @@ "ocramius/proxy-manager": "~1.0|~2.0", "doctrine/inflector": "~1.0", "dunglas/php-property-info": "~0.2", - "phpdocumentor/reflection": "^1.0.7" + "phpdocumentor/reflection": "^1.0.7|~3.0" }, "require-dev": { "friendsofsymfony/user-bundle": "~1.3",