소스 검색

[HttpKernel] removed the bootstrap files as they do not belong to the component

As these files are just about optimizing the performance,
they are now part of the sandbox and the upcoming standard
Symfony distribution.

It should also make your IDE happier!
Fabien Potencier 14 년 전
부모
커밋
b44d044b0a

+ 0 - 2
phpunit.xml.dist

@@ -24,8 +24,6 @@
             <exclude>
                 <directory>./src/Symfony/Bundle/*/Resources</directory>
                 <directory>./src/Symfony/Component/*/Resources</directory>
-                <file>./src/Symfony/Component/HttpKernel/bootstrap.php</file>
-                <file>./src/Symfony/Component/HttpKernel/bootstrap_cache.php</file>
             </exclude>
         </whitelist>
     </filter>

+ 0 - 76
src/Symfony/Component/HttpKernel/Resources/bin/packager.php

@@ -1,76 +0,0 @@
-<?php
-
-require_once __DIR__.'/../../../ClassLoader/UniversalClassLoader.php';
-
-/*
- * This file is part of the Symfony package.
- *
- * (c) Fabien Potencier <fabien.potencier@symfony-project.com>
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-
-use Symfony\Component\ClassLoader\UniversalClassLoader;
-use Symfony\Component\ClassLoader\ClassCollectionLoader;
-
-$loader = new UniversalClassLoader();
-$loader->registerNamespaces(array('Symfony' => __DIR__.'/../../../../..'));
-$loader->register();
-
-if (file_exists(__DIR__.'/../../bootstrap.php')) {
-    unlink(__DIR__.'/../../bootstrap.php');
-}
-
-ClassCollectionLoader::load(array(
-    'Symfony\\Component\\DependencyInjection\\ContainerInterface',
-    'Symfony\\Component\\DependencyInjection\\Container',
-    'Symfony\\Component\\DependencyInjection\\ContainerAwareInterface',
-    'Symfony\\Component\\DependencyInjection\\ContainerAware',
-
-    'Symfony\\Component\\HttpKernel\\Bundle\\BundleInterface',
-    'Symfony\\Component\\HttpKernel\\Bundle\\Bundle',
-    'Symfony\\Component\\HttpKernel\\Debug\\ErrorHandler',
-    'Symfony\\Component\\HttpKernel\\HttpKernelInterface',
-    'Symfony\\Component\\HttpKernel\\HttpKernel',
-    'Symfony\\Component\\HttpKernel\\KernelInterface',
-    'Symfony\\Component\\HttpKernel\\Kernel',
-
-    'Symfony\\Component\\HttpFoundation\\ParameterBag',
-    'Symfony\\Component\\HttpFoundation\\FileBag',
-    'Symfony\\Component\\HttpFoundation\\ServerBag',
-    'Symfony\\Component\\HttpFoundation\\HeaderBag',
-    'Symfony\\Component\\HttpFoundation\\Request',
-    'Symfony\\Component\\HttpFoundation\\ApacheRequest',
-
-    'Symfony\\Component\\ClassLoader\\ClassCollectionLoader',
-    'Symfony\\Component\\ClassLoader\\UniversalClassLoader',
-    'Symfony\\Component\\ClassLoader\\MapFileClassLoader',
-
-    'Symfony\\Component\\Config\\ConfigCache',
-), __DIR__.'/../..', 'bootstrap', false);
-
-if (file_exists(__DIR__.'/../../bootstrap_cache.php')) {
-    unlink(__DIR__.'/../../bootstrap_cache.php');
-}
-
-ClassCollectionLoader::load(array(
-    'Symfony\\Component\\HttpKernel\\KernelInterface',
-    'Symfony\\Component\\HttpKernel\\Kernel',
-    'Symfony\\Component\\HttpKernel\\HttpKernelInterface',
-    'Symfony\\Component\\HttpKernel\\HttpCache\\HttpCache',
-    'Symfony\\Component\\HttpKernel\\HttpCache\\StoreInterface',
-    'Symfony\\Component\\HttpKernel\\HttpCache\\Store',
-    'Symfony\\Component\\HttpKernel\\HttpCache\\Esi',
-
-    'Symfony\\Component\\HttpFoundation\\ParameterBag',
-    'Symfony\\Component\\HttpFoundation\\FileBag',
-    'Symfony\\Component\\HttpFoundation\\ServerBag',
-    'Symfony\\Component\\HttpFoundation\\HeaderBag',
-    'Symfony\\Component\\HttpFoundation\\Request',
-    'Symfony\\Component\\HttpFoundation\\ApacheRequest',
-    'Symfony\\Component\\HttpFoundation\\ResponseHeaderBag',
-    'Symfony\\Component\\HttpFoundation\\Response',
-
-    'Symfony\\Component\\ClassLoader\\UniversalClassLoader',
-), __DIR__.'/../..', 'bootstrap_cache', false);

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 2024
src/Symfony/Component/HttpKernel/bootstrap.php


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 2504
src/Symfony/Component/HttpKernel/bootstrap_cache.php