@@ -14,7 +14,6 @@ discard block |
||
14 | 14 | use Cilex\Application as Cilex; |
15 | 15 | use Cilex\Provider\JmsSerializerServiceProvider; |
16 | 16 | use Cilex\Provider\MonologServiceProvider; |
17 | -use Cilex\Provider\ValidatorServiceProvider; |
|
18 | 17 | use Composer\Autoload\ClassLoader; |
19 | 18 | use Monolog\ErrorHandler; |
20 | 19 | use Monolog\Handler\NullHandler; |
@@ -26,7 +25,6 @@ discard block |
||
26 | 25 | use Symfony\Component\Console\Application as ConsoleApplication; |
27 | 26 | use Symfony\Component\Console\Input\InputInterface; |
28 | 27 | use Symfony\Component\Console\Output\OutputInterface; |
29 | -use Symfony\Component\Console\Shell; |
|
30 | 28 | use Symfony\Component\Stopwatch\Stopwatch; |
31 | 29 | |
32 | 30 | /** |
@@ -193,7 +193,7 @@ discard block |
||
193 | 193 | * |
194 | 194 | * @param DescriptorAbstract $descriptor |
195 | 195 | * |
196 | - * @return DescriptorAbstract|null |
|
196 | + * @return null|Filterable |
|
197 | 197 | */ |
198 | 198 | protected function filterDescriptor($descriptor) |
199 | 199 | { |
@@ -264,7 +264,7 @@ discard block |
||
264 | 264 | } |
265 | 265 | |
266 | 266 | /** |
267 | - * @return string |
|
267 | + * @return PackageDescriptor |
|
268 | 268 | */ |
269 | 269 | public function getDefaultPackage() |
270 | 270 | { |
@@ -16,13 +16,9 @@ |
||
16 | 16 | use phpDocumentor\Descriptor\Filter\Filter; |
17 | 17 | use phpDocumentor\Descriptor\Filter\Filterable; |
18 | 18 | use phpDocumentor\Descriptor\ProjectDescriptor\Settings; |
19 | -use phpDocumentor\Descriptor\Validator\Error; |
|
20 | -use phpDocumentor\Reflection\Fqsen; |
|
21 | 19 | use phpDocumentor\Reflection\Php\Project; |
22 | 20 | use phpDocumentor\Translator\Translator; |
23 | 21 | use Psr\Log\LogLevel; |
24 | -use Symfony\Component\Validator\ConstraintViolation; |
|
25 | -use Symfony\Component\Validator\Validator; |
|
26 | 22 | |
27 | 23 | /** |
28 | 24 | * Builds a Project Descriptor and underlying tree. |
@@ -45,7 +45,6 @@ discard block |
||
45 | 45 | use phpDocumentor\Descriptor\Filter\StripIgnore; |
46 | 46 | use phpDocumentor\Descriptor\Filter\StripInternal; |
47 | 47 | use phpDocumentor\Descriptor\Filter\StripOnVisibility; |
48 | -use phpDocumentor\Plugin\Core\Descriptor\Validator\Constraints as phpDocAssert; |
|
49 | 48 | use phpDocumentor\Reflection\DocBlock\Tag; |
50 | 49 | use phpDocumentor\Reflection\DocBlock\Tags; |
51 | 50 | use phpDocumentor\Reflection\DocBlock\Tags\Author; |
@@ -71,9 +70,6 @@ discard block |
||
71 | 70 | use phpDocumentor\Reflection\Php\Namespace_; |
72 | 71 | use phpDocumentor\Reflection\Php\Property; |
73 | 72 | use phpDocumentor\Reflection\Php\Trait_; |
74 | -use Symfony\Component\Validator\Constraints as Assert; |
|
75 | -use Symfony\Component\Validator\Mapping\ClassMetadata; |
|
76 | -use Symfony\Component\Validator\Validator; |
|
77 | 73 | use Zend\Cache\Storage\Adapter\Filesystem; |
78 | 74 | use Zend\Cache\Storage\Plugin\Serializer as SerializerPlugin; |
79 | 75 | use Zend\Cache\Storage\Plugin\PluginOptions; |
@@ -18,13 +18,11 @@ |
||
18 | 18 | use phpDocumentor\Infrastructure\Parser\SpecificationFactory; |
19 | 19 | use Pimple\Container; |
20 | 20 | use Pimple\ServiceProviderInterface; |
21 | -use phpDocumentor\Fileset\Collection; |
|
22 | 21 | use phpDocumentor\Parser\Command\Project\ParseCommand; |
23 | 22 | use phpDocumentor\Parser\Middleware\CacheMiddleware; |
24 | 23 | use phpDocumentor\Parser\Middleware\ErrorHandlingMiddleware; |
25 | 24 | use phpDocumentor\Parser\Middleware\StopwatchMiddleware; |
26 | 25 | use phpDocumentor\Parser\Middleware\EmittingMiddleware; |
27 | -use phpDocumentor\Plugin\Core\Descriptor\Validator\ValidatorAbstract; |
|
28 | 26 | use phpDocumentor\Reflection\DocBlockFactory; |
29 | 27 | use phpDocumentor\Reflection\Php\Factory; |
30 | 28 | use phpDocumentor\Reflection\Php\NodesFactory; |