소스 검색

Add missing use statements

Jordi Boggiano 9 년 전
부모
커밋
5ec00c2ac1
1개의 변경된 파일5개의 추가작업 그리고 1개의 파일을 삭제
  1. 5 1
      src/Packagist/WebBundle/Controller/PackageController.php

+ 5 - 1
src/Packagist/WebBundle/Controller/PackageController.php

@@ -4,8 +4,10 @@ namespace Packagist\WebBundle\Controller;
 
 use Composer\Factory;
 use Composer\IO\BufferIO;
+use Symfony\Component\Console\Output\OutputInterface;
 use Composer\Package\Loader\ArrayLoader;
 use Composer\Package\Loader\ValidatingArrayLoader;
+use Composer\Console\HtmlOutputFormatter;
 use Composer\Repository\VcsRepository;
 use Doctrine\ORM\NoResultException;
 use Packagist\WebBundle\Entity\PackageRepository;
@@ -33,6 +35,7 @@ use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
 use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template;
 use Pagerfanta\Adapter\FixedAdapter;
 use Pagerfanta\Pagerfanta;
+use Packagist\WebBundle\Package\Updater;
 
 class PackageController extends Controller
 {
@@ -607,7 +610,8 @@ class PackageController extends Controller
                 $update->addCommit();
 
                 $solarium->update($update);
-            } catch (\Solarium_Client_HttpException $e) {}
+            } catch (\Solarium_Client_HttpException $e) {
+            }
 
             return new Response('', 204);
         }