Переглянути джерело

renamed Symfony\Foundation to Symfony\Framework

In existing applications, you need to updated the autoload.php file, the
XXXKernel file and all XXXBundle classes.
Fabien Potencier 15 роки тому
батько
коміт
da9f36ca86
45 змінених файлів з 66 додано та 66 видалено
  1. 2 2
      autoload.php.dist
  2. 1 1
      src/Symfony/Bundle/DoctrineBundle/Command/DoctrineCommand.php
  3. 1 1
      src/Symfony/Bundle/DoctrineBundle/Command/GenerateEntitiesDoctrineCommand.php
  4. 1 1
      src/Symfony/Bundle/DoctrineBundle/DoctrineBundle.php
  5. 1 1
      src/Symfony/Bundle/DoctrineMigrationsBundle/DoctrineMigrationsBundle.php
  6. 1 1
      src/Symfony/Bundle/DoctrineMongoDBBundle/DoctrineMongoDBBundle.php
  7. 1 1
      src/Symfony/Bundle/FrameworkBundle/Console/Application.php
  8. 1 1
      src/Symfony/Bundle/FrameworkBundle/Console/BootstrapApplication.php
  9. 1 1
      src/Symfony/Bundle/FrameworkBundle/DataCollector/ConfigDataCollector.php
  10. 1 1
      src/Symfony/Bundle/FrameworkBundle/FrameworkBundle.php
  11. 1 1
      src/Symfony/Bundle/FrameworkBundle/Resources/skeleton/application/xml/Cache.php
  12. 2 2
      src/Symfony/Bundle/FrameworkBundle/Resources/skeleton/application/xml/Kernel.php
  13. 1 1
      src/Symfony/Bundle/FrameworkBundle/Resources/skeleton/application/yaml/Cache.php
  14. 2 2
      src/Symfony/Bundle/FrameworkBundle/Resources/skeleton/application/yaml/Kernel.php
  15. 1 1
      src/Symfony/Bundle/FrameworkBundle/Resources/skeleton/bundle/Bundle.php
  16. 1 1
      src/Symfony/Bundle/FrameworkBundle/Resources/views/Exception/exception.txt.php
  17. 1 1
      src/Symfony/Bundle/FrameworkBundle/Test/WebTestCase.php
  18. 1 1
      src/Symfony/Bundle/PropelBundle/PropelBundle.php
  19. 1 1
      src/Symfony/Bundle/SwiftmailerBundle/SwiftmailerBundle.php
  20. 1 1
      src/Symfony/Bundle/TwigBundle/TwigBundle.php
  21. 1 1
      src/Symfony/Bundle/ZendBundle/ZendBundle.php
  22. 2 2
      src/Symfony/Components/HttpKernel/Client.php
  23. 1 1
      src/Symfony/Components/HttpKernel/Test/WebTestCase.php
  24. 1 1
      src/Symfony/Foundation/Bundle/Bundle.php
  25. 1 1
      src/Symfony/Foundation/Bundle/BundleInterface.php
  26. 1 1
      src/Symfony/Foundation/Cache/Cache.php
  27. 1 1
      src/Symfony/Foundation/ClassCollectionLoader.php
  28. 2 2
      src/Symfony/Foundation/Client.php
  29. 1 1
      src/Symfony/Foundation/Debug/ErrorException.php
  30. 1 1
      src/Symfony/Foundation/Debug/ErrorHandler.php
  31. 2 2
      src/Symfony/Foundation/Debug/EventDispatcher.php
  32. 1 1
      src/Symfony/Foundation/DependencyInjection/KernelExtension.php
  33. 1 1
      src/Symfony/Foundation/EventDispatcher.php
  34. 1 1
      src/Symfony/Foundation/Kernel.php
  35. 4 4
      src/Symfony/Foundation/KernelBundle.php
  36. 2 2
      src/Symfony/Foundation/Resources/bin/packager.php
  37. 1 1
      src/Symfony/Foundation/Resources/config/debug.xml
  38. 2 2
      src/Symfony/Foundation/Resources/config/services.xml
  39. 0 0
      src/Symfony/Framework/Resources/config/session.xml
  40. 1 1
      src/Symfony/Foundation/Resources/config/test.xml
  41. 2 2
      src/Symfony/Foundation/Test/WebTestCase.php
  42. 1 1
      src/Symfony/Foundation/UniversalClassLoader.php
  43. 10 10
      src/Symfony/Foundation/bootstrap.php
  44. 2 2
      tests/Symfony/Tests/Foundation/Debug/ErrorHandlerTest.php
  45. 1 1
      tests/Symfony/Tests/Foundation/KernelTest.php

+ 2 - 2
autoload.php.dist

@@ -1,8 +1,8 @@
 <?php
 
-require_once __DIR__.'/src/Symfony/Foundation/UniversalClassLoader.php';
+require_once __DIR__.'/src/Symfony/Framework/UniversalClassLoader.php';
 
-use Symfony\Foundation\UniversalClassLoader;
+use Symfony\Framework\UniversalClassLoader;
 
 $loader = new UniversalClassLoader();
 $loader->registerNamespaces(array(

+ 1 - 1
src/Symfony/Bundle/DoctrineBundle/Command/DoctrineCommand.php

@@ -10,7 +10,7 @@ use Symfony\Components\Console\Input\InputInterface;
 use Symfony\Components\Console\Output\OutputInterface;
 use Symfony\Components\Console\Output\Output;
 use Symfony\Bundle\FrameworkBundle\Console\Application;
-use Symfony\Foundation\Bundle\Bundle;
+use Symfony\Framework\Bundle\Bundle;
 use Doctrine\DBAL\Tools\Console\Helper\ConnectionHelper;
 use Doctrine\ORM\Tools\Console\Helper\EntityManagerHelper;
 use Doctrine\ORM\Tools\DisconnectedClassMetadataFactory;

+ 1 - 1
src/Symfony/Bundle/DoctrineBundle/Command/GenerateEntitiesDoctrineCommand.php

@@ -7,7 +7,7 @@ use Symfony\Components\Console\Input\InputOption;
 use Symfony\Components\Console\Input\InputInterface;
 use Symfony\Components\Console\Output\OutputInterface;
 use Symfony\Components\Console\Output\Output;
-use Symfony\Foundation\Bundle\Bundle;
+use Symfony\Framework\Bundle\Bundle;
 use Doctrine\ORM\Tools\EntityGenerator;
 
 /*

+ 1 - 1
src/Symfony/Bundle/DoctrineBundle/DoctrineBundle.php

@@ -2,7 +2,7 @@
 
 namespace Symfony\Bundle\DoctrineBundle;
 
-use Symfony\Foundation\Bundle\Bundle;
+use Symfony\Framework\Bundle\Bundle;
 use Symfony\Components\DependencyInjection\ContainerInterface;
 use Symfony\Components\DependencyInjection\Loader\Loader;
 use Symfony\Components\DependencyInjection\Loader\XmlFileLoader;

+ 1 - 1
src/Symfony/Bundle/DoctrineMigrationsBundle/DoctrineMigrationsBundle.php

@@ -2,7 +2,7 @@
 
 namespace Symfony\Bundle\DoctrineMigrationsBundle;
 
-use Symfony\Foundation\Bundle\Bundle;
+use Symfony\Framework\Bundle\Bundle;
 
 /*
  * This file is part of the Symfony framework.

+ 1 - 1
src/Symfony/Bundle/DoctrineMongoDBBundle/DoctrineMongoDBBundle.php

@@ -2,7 +2,7 @@
 
 namespace Symfony\Bundle\DoctrineMongoDBBundle;
 
-use Symfony\Foundation\Bundle\Bundle;
+use Symfony\Framework\Bundle\Bundle;
 use Symfony\Components\DependencyInjection\ContainerInterface;
 use Symfony\Components\DependencyInjection\Loader\Loader;
 use Symfony\Bundle\DoctrineMongoDBBundle\DependencyInjection\MongoDBExtension;

+ 1 - 1
src/Symfony/Bundle/FrameworkBundle/Console/Application.php

@@ -6,7 +6,7 @@ use Symfony\Components\Console\Application as BaseApplication;
 use Symfony\Components\Console\Input\InputInterface;
 use Symfony\Components\Console\Input\InputOption;
 use Symfony\Components\Console\Output\OutputInterface;
-use Symfony\Foundation\Kernel;
+use Symfony\Framework\Kernel;
 
 /*
  * This file is part of the Symfony framework.

+ 1 - 1
src/Symfony/Bundle/FrameworkBundle/Console/BootstrapApplication.php

@@ -6,7 +6,7 @@ use Symfony\Components\Console\Application as BaseApplication;
 use Symfony\Components\Console\Input\InputInterface;
 use Symfony\Components\Console\Input\InputOption;
 use Symfony\Components\Console\Output\OutputInterface;
-use Symfony\Foundation\Kernel;
+use Symfony\Framework\Kernel;
 use Symfony\Bundle\FrameworkBundle\Command\InitApplicationCommand;
 
 /*

+ 1 - 1
src/Symfony/Bundle/FrameworkBundle/DataCollector/ConfigDataCollector.php

@@ -2,7 +2,7 @@
 
 namespace Symfony\Bundle\FrameworkBundle\DataCollector;
 
-use Symfony\Foundation\Kernel;
+use Symfony\Framework\Kernel;
 use Symfony\Components\HttpKernel\Profiler\DataCollector\DataCollector;
 use Symfony\Components\DependencyInjection\ContainerInterface;
 

+ 1 - 1
src/Symfony/Bundle/FrameworkBundle/FrameworkBundle.php

@@ -2,7 +2,7 @@
 
 namespace Symfony\Bundle\FrameworkBundle;
 
-use Symfony\Foundation\Bundle\Bundle;
+use Symfony\Framework\Bundle\Bundle;
 use Symfony\Components\DependencyInjection\ContainerInterface;
 use Symfony\Components\DependencyInjection\Loader\Loader;
 use Symfony\Components\DependencyInjection\Loader\XmlFileLoader;

+ 1 - 1
src/Symfony/Bundle/FrameworkBundle/Resources/skeleton/application/xml/Cache.php

@@ -2,7 +2,7 @@
 
 require_once __DIR__.'/{{ class }}Kernel.php';
 
-use Symfony\Foundation\Cache\Cache;
+use Symfony\Framework\Cache\Cache;
 
 class {{ class }}Cache extends Cache
 {

+ 2 - 2
src/Symfony/Bundle/FrameworkBundle/Resources/skeleton/application/xml/Kernel.php

@@ -2,11 +2,11 @@
 
 require_once __DIR__.'/../src/autoload.php';
 
-use Symfony\Foundation\Kernel;
+use Symfony\Framework\Kernel;
 use Symfony\Components\DependencyInjection\Loader\XmlFileLoader as ContainerLoader;
 use Symfony\Components\Routing\Loader\XmlFileLoader as RoutingLoader;
 
-use Symfony\Foundation\Bundle\KernelBundle;
+use Symfony\Framework\Bundle\KernelBundle;
 use Symfony\Bundle\FrameworkBundle\FrameworkBundle;
 use Symfony\Bundle\ZendBundle\ZendBundle;
 use Symfony\Bundle\DoctrineBundle\DoctrineBundle;

+ 1 - 1
src/Symfony/Bundle/FrameworkBundle/Resources/skeleton/application/yaml/Cache.php

@@ -2,7 +2,7 @@
 
 require_once __DIR__.'/{{ class }}Kernel.php';
 
-use Symfony\Foundation\Cache\Cache;
+use Symfony\Framework\Cache\Cache;
 
 class {{ class }}Cache extends Cache
 {

+ 2 - 2
src/Symfony/Bundle/FrameworkBundle/Resources/skeleton/application/yaml/Kernel.php

@@ -2,11 +2,11 @@
 
 require_once __DIR__.'/../src/autoload.php';
 
-use Symfony\Foundation\Kernel;
+use Symfony\Framework\Kernel;
 use Symfony\Components\DependencyInjection\Loader\YamlFileLoader as ContainerLoader;
 use Symfony\Components\Routing\Loader\YamlFileLoader as RoutingLoader;
 
-use Symfony\Foundation\Bundle\KernelBundle;
+use Symfony\Framework\Bundle\KernelBundle;
 use Symfony\Bundle\FrameworkBundle\FrameworkBundle;
 use Symfony\Bundle\ZendBundle\ZendBundle;
 use Symfony\Bundle\DoctrineBundle\DoctrineBundle;

+ 1 - 1
src/Symfony/Bundle/FrameworkBundle/Resources/skeleton/bundle/Bundle.php

@@ -2,7 +2,7 @@
 
 namespace {{ namespace }}\{{ bundle }};
 
-use Symfony\Foundation\Bundle\Bundle;
+use Symfony\Framework\Bundle\Bundle;
 use Symfony\Components\DependencyInjection\ContainerInterface;
 
 class {{ bundle }} extends Bundle

+ 1 - 1
src/Symfony/Bundle/FrameworkBundle/Resources/views/Exception/exception.txt.php

@@ -9,5 +9,5 @@
 
 <?php endforeach; ?>
 <?php endif; ?>
-[symfony]     v. <?php echo \Symfony\Foundation\Kernel::VERSION ?> (symfony-project.org)
+[symfony]     v. <?php echo \Symfony\Framework\Kernel::VERSION ?> (symfony-project.org)
 [PHP]         v. <?php echo PHP_VERSION ?>

+ 1 - 1
src/Symfony/Bundle/FrameworkBundle/Test/WebTestCase.php

@@ -2,7 +2,7 @@
 
 namespace Symfony\Bundle\FrameworkBundle\Test;
 
-use Symfony\Foundation\Test\WebTestCase as BaseWebTestCase;
+use Symfony\Framework\Test\WebTestCase as BaseWebTestCase;
 use Symfony\Components\Finder\Finder;
 use Symfony\Components\HttpFoundation\Response;
 

+ 1 - 1
src/Symfony/Bundle/PropelBundle/PropelBundle.php

@@ -2,7 +2,7 @@
 
 namespace Symfony\Bundle\PropelBundle;
 
-use Symfony\Foundation\Bundle\Bundle;
+use Symfony\Framework\Bundle\Bundle;
 use Symfony\Components\DependencyInjection\ContainerInterface;
 use Symfony\Components\DependencyInjection\Loader\Loader;
 use Symfony\Components\DependencyInjection\Loader\XmlFileLoader;

+ 1 - 1
src/Symfony/Bundle/SwiftmailerBundle/SwiftmailerBundle.php

@@ -2,7 +2,7 @@
 
 namespace Symfony\Bundle\SwiftmailerBundle;
 
-use Symfony\Foundation\Bundle\Bundle;
+use Symfony\Framework\Bundle\Bundle;
 use Symfony\Components\DependencyInjection\ContainerInterface;
 use Symfony\Components\DependencyInjection\Loader\Loader;
 use Symfony\Bundle\SwiftmailerBundle\DependencyInjection\SwiftmailerExtension;

+ 1 - 1
src/Symfony/Bundle/TwigBundle/TwigBundle.php

@@ -2,7 +2,7 @@
 
 namespace Symfony\Bundle\TwigBundle;
 
-use Symfony\Foundation\Bundle\Bundle;
+use Symfony\Framework\Bundle\Bundle;
 use Symfony\Components\DependencyInjection\ContainerInterface;
 use Symfony\Components\DependencyInjection\Loader\Loader;
 use Symfony\Components\DependencyInjection\Loader\XmlFileLoader;

+ 1 - 1
src/Symfony/Bundle/ZendBundle/ZendBundle.php

@@ -2,7 +2,7 @@
 
 namespace Symfony\Bundle\ZendBundle;
 
-use Symfony\Foundation\Bundle\Bundle;
+use Symfony\Framework\Bundle\Bundle;
 use Symfony\Components\DependencyInjection\ContainerInterface;
 use Symfony\Components\DependencyInjection\Reference;
 use Symfony\Components\DependencyInjection\Loader\Loader;

+ 2 - 2
src/Symfony/Components/HttpKernel/Client.php

@@ -69,7 +69,7 @@ class Client extends BaseClient
         $kernel = serialize($this->kernel);
         $request = serialize($request);
 
-        $r = new \ReflectionClass('\\Symfony\\Foundation\\UniversalClassLoader');
+        $r = new \ReflectionClass('\\Symfony\\Framework\\UniversalClassLoader');
         $requirePath = $r->getFileName();
 
         $symfonyPath = realpath(__DIR__.'/../../..');
@@ -79,7 +79,7 @@ class Client extends BaseClient
 
 require_once '$requirePath';
 
-\$loader = new Symfony\Foundation\UniversalClassLoader();
+\$loader = new Symfony\Framework\UniversalClassLoader();
 \$loader->registerNamespaces(array('Symfony' => '$symfonyPath'));
 \$loader->register();
 

+ 1 - 1
src/Symfony/Components/HttpKernel/Test/WebTestCase.php

@@ -30,7 +30,7 @@ abstract class WebTestCase extends \PHPUnit_Framework_TestCase
      * @param Boolean $debug   The debug flag
      * @param array   $server  An array of server parameters
      *
-     * @return Symfony\Foundation\Client A Client instance
+     * @return Symfony\Framework\Client A Client instance
      */
     abstract public function createClient(array $options = array(), array $server = array());
 }

+ 1 - 1
src/Symfony/Foundation/Bundle/Bundle.php

@@ -1,6 +1,6 @@
 <?php
 
-namespace Symfony\Foundation\Bundle;
+namespace Symfony\Framework\Bundle;
 
 use Symfony\Components\DependencyInjection\ContainerInterface;
 use Symfony\Components\Console\Application;

+ 1 - 1
src/Symfony/Foundation/Bundle/BundleInterface.php

@@ -1,6 +1,6 @@
 <?php
 
-namespace Symfony\Foundation\Bundle;
+namespace Symfony\Framework\Bundle;
 
 use Symfony\Components\DependencyInjection\ContainerInterface;
 

+ 1 - 1
src/Symfony/Foundation/Cache/Cache.php

@@ -1,6 +1,6 @@
 <?php
 
-namespace Symfony\Foundation\Cache;
+namespace Symfony\Framework\Cache;
 
 use Symfony\Components\HttpKernel\HttpKernelInterface;
 use Symfony\Components\HttpKernel\Cache\Cache as BaseCache;

+ 1 - 1
src/Symfony/Foundation/ClassCollectionLoader.php

@@ -1,6 +1,6 @@
 <?php
 
-namespace Symfony\Foundation;
+namespace Symfony\Framework;
 
 /*
  * This file is part of the Symfony framework.

+ 2 - 2
src/Symfony/Foundation/Client.php

@@ -1,6 +1,6 @@
 <?php
 
-namespace Symfony\Foundation;
+namespace Symfony\Framework;
 
 use Symfony\Components\HttpKernel\HttpKernelInterface;
 use Symfony\Components\HttpKernel\Client as BaseClient;
@@ -55,7 +55,7 @@ class Client extends BaseClient
     /**
      * Returns the kernel.
      *
-     * @return Symfony\Foundation\Kernel
+     * @return Symfony\Framework\Kernel
      */
     public function getKernel()
     {

+ 1 - 1
src/Symfony/Foundation/Debug/ErrorException.php

@@ -1,6 +1,6 @@
 <?php
 
-namespace Symfony\Foundation\Debug;
+namespace Symfony\Framework\Debug;
 
 /*
  * This file is part of the Symfony framework.

+ 1 - 1
src/Symfony/Foundation/Debug/ErrorHandler.php

@@ -1,6 +1,6 @@
 <?php
 
-namespace Symfony\Foundation\Debug;
+namespace Symfony\Framework\Debug;
 
 /*
  * This file is part of the Symfony framework.

+ 2 - 2
src/Symfony/Foundation/Debug/EventDispatcher.php

@@ -1,8 +1,8 @@
 <?php
 
-namespace Symfony\Foundation\Debug;
+namespace Symfony\Framework\Debug;
 
-use Symfony\Foundation\EventDispatcher as BaseEventDispatcher;
+use Symfony\Framework\EventDispatcher as BaseEventDispatcher;
 use Symfony\Components\EventDispatcher\EventDispatcherInterface;
 use Symfony\Components\EventDispatcher\Event;
 use Symfony\Components\HttpKernel\LoggerInterface;

+ 1 - 1
src/Symfony/Foundation/DependencyInjection/KernelExtension.php

@@ -1,6 +1,6 @@
 <?php
 
-namespace Symfony\Foundation\DependencyInjection;
+namespace Symfony\Framework\DependencyInjection;
 
 use Symfony\Components\DependencyInjection\Loader\LoaderExtension;
 use Symfony\Components\DependencyInjection\Loader\XmlFileLoader;

+ 1 - 1
src/Symfony/Foundation/EventDispatcher.php

@@ -1,6 +1,6 @@
 <?php
 
-namespace Symfony\Foundation;
+namespace Symfony\Framework;
 
 use Symfony\Components\EventDispatcher\EventDispatcher as BaseEventDispatcher;
 use Symfony\Components\EventDispatcher\Event;

+ 1 - 1
src/Symfony/Foundation/Kernel.php

@@ -1,6 +1,6 @@
 <?php
 
-namespace Symfony\Foundation;
+namespace Symfony\Framework;
 
 use Symfony\Components\DependencyInjection\ContainerInterface;
 use Symfony\Components\DependencyInjection\Builder;

+ 4 - 4
src/Symfony/Foundation/KernelBundle.php

@@ -1,10 +1,10 @@
 <?php
 
-namespace Symfony\Foundation;
+namespace Symfony\Framework;
 
-use Symfony\Foundation\Bundle\Bundle;
-use Symfony\Foundation\ClassCollectionLoader;
-use Symfony\Foundation\DependencyInjection\KernelExtension;
+use Symfony\Framework\Bundle\Bundle;
+use Symfony\Framework\ClassCollectionLoader;
+use Symfony\Framework\DependencyInjection\KernelExtension;
 use Symfony\Components\DependencyInjection\ContainerInterface;
 use Symfony\Components\DependencyInjection\Loader\Loader;
 use Symfony\Components\DependencyInjection\Loader\XmlFileLoader;

+ 2 - 2
src/Symfony/Foundation/Resources/bin/packager.php

@@ -11,8 +11,8 @@ require_once __DIR__.'/../../UniversalClassLoader.php';
  * with this source code in the file LICENSE.
  */
 
-use Symfony\Foundation\UniversalClassLoader;
-use Symfony\Foundation\ClassCollectionLoader;
+use Symfony\Framework\UniversalClassLoader;
+use Symfony\Framework\ClassCollectionLoader;
 
 $loader = new UniversalClassLoader();
 $loader->registerNamespaces(array('Symfony' => __DIR__.'/../../../..'));

+ 1 - 1
src/Symfony/Foundation/Resources/config/debug.xml

@@ -5,7 +5,7 @@
     xsi:schemaLocation="http://www.symfony-project.org/schema/dic/services http://www.symfony-project.org/schema/dic/services/services-1.0.xsd">
 
     <parameters>
-        <parameter key="debug.event_dispatcher.class">Symfony\Foundation\Debug\EventDispatcher</parameter>
+        <parameter key="debug.event_dispatcher.class">Symfony\Framework\Debug\EventDispatcher</parameter>
     </parameters>
 
     <services>

+ 2 - 2
src/Symfony/Foundation/Resources/config/services.xml

@@ -5,11 +5,11 @@
     xsi:schemaLocation="http://www.symfony-project.org/schema/dic/services http://www.symfony-project.org/schema/dic/services/services-1.0.xsd">
 
     <parameters>
-        <parameter key="event_dispatcher.class">Symfony\Foundation\EventDispatcher</parameter>
+        <parameter key="event_dispatcher.class">Symfony\Framework\EventDispatcher</parameter>
         <parameter key="http_kernel.class">Symfony\Components\HttpKernel\HttpKernel</parameter>
         <parameter key="request.class">Symfony\Components\HttpFoundation\Request</parameter>
         <parameter key="response.class">Symfony\Components\HttpFoundation\Response</parameter>
-        <parameter key="error_handler.class">Symfony\Foundation\Debug\ErrorHandler</parameter>
+        <parameter key="error_handler.class">Symfony\Framework\Debug\ErrorHandler</parameter>
         <parameter key="error_handler.level">null</parameter>
         <parameter key="error_handler.enable">true</parameter>
         <parameter key="kernel.include_core_classes">true</parameter>

src/Symfony/Foundation/Resources/config/session.xml → src/Symfony/Framework/Resources/config/session.xml


+ 1 - 1
src/Symfony/Foundation/Resources/config/test.xml

@@ -5,7 +5,7 @@
     xsi:schemaLocation="http://www.symfony-project.org/schema/dic/services http://www.symfony-project.org/schema/dic/services/services-1.0.xsd">
 
     <parameters>
-        <parameter key="test.client.class">Symfony\Foundation\Client</parameter>
+        <parameter key="test.client.class">Symfony\Framework\Client</parameter>
         <parameter key="test.client.parameters" type="collection"></parameter>
         <parameter key="test.client.history.class">Symfony\Components\BrowserKit\History</parameter>
         <parameter key="test.client.cookiejar.class">Symfony\Components\BrowserKit\CookieJar</parameter>

+ 2 - 2
src/Symfony/Foundation/Test/WebTestCase.php

@@ -1,6 +1,6 @@
 <?php
 
-namespace Symfony\Foundation\Test;
+namespace Symfony\Framework\Test;
 
 use Symfony\Components\HttpKernel\Test\WebTestCase as BaseWebTestCase;
 
@@ -30,7 +30,7 @@ abstract class WebTestCase extends BaseWebTestCase
      * @param array   $options An array of options to pass to the createKernel class
      * @param array   $server  An array of server parameters
      *
-     * @return Symfony\Foundation\Client A Client instance
+     * @return Symfony\Framework\Client A Client instance
      */
     public function createClient(array $options = array(), array $server = array())
     {

+ 1 - 1
src/Symfony/Foundation/UniversalClassLoader.php

@@ -1,6 +1,6 @@
 <?php
 
-namespace Symfony\Foundation;
+namespace Symfony\Framework;
 
 /*
  * This file is part of the Symfony package.

+ 10 - 10
src/Symfony/Foundation/bootstrap.php

@@ -1,6 +1,6 @@
 <?php 
 
-namespace Symfony\Foundation\Bundle;
+namespace Symfony\Framework\Bundle;
 
 use Symfony\Components\DependencyInjection\ContainerInterface;
 use Symfony\Components\Console\Application;
@@ -107,7 +107,7 @@ abstract class Bundle implements BundleInterface
 }
 
 
-namespace Symfony\Foundation\Bundle;
+namespace Symfony\Framework\Bundle;
 
 use Symfony\Components\DependencyInjection\ContainerInterface;
 
@@ -127,11 +127,11 @@ interface BundleInterface
 }
 
 
-namespace Symfony\Foundation;
+namespace Symfony\Framework;
 
-use Symfony\Foundation\Bundle\Bundle;
-use Symfony\Foundation\ClassCollectionLoader;
-use Symfony\Foundation\DependencyInjection\KernelExtension;
+use Symfony\Framework\Bundle\Bundle;
+use Symfony\Framework\ClassCollectionLoader;
+use Symfony\Framework\DependencyInjection\KernelExtension;
 use Symfony\Components\DependencyInjection\ContainerInterface;
 use Symfony\Components\DependencyInjection\Loader\Loader;
 use Symfony\Components\DependencyInjection\Loader\XmlFileLoader;
@@ -172,7 +172,7 @@ class KernelBundle extends Bundle
 }
 
 
-namespace Symfony\Foundation\DependencyInjection;
+namespace Symfony\Framework\DependencyInjection;
 
 use Symfony\Components\DependencyInjection\Loader\LoaderExtension;
 use Symfony\Components\DependencyInjection\Loader\XmlFileLoader;
@@ -296,7 +296,7 @@ class KernelExtension extends LoaderExtension
 }
 
 
-namespace Symfony\Foundation\Debug;
+namespace Symfony\Framework\Debug;
 
 
 
@@ -344,7 +344,7 @@ class ErrorHandler
 }
 
 
-namespace Symfony\Foundation;
+namespace Symfony\Framework;
 
 
 
@@ -430,7 +430,7 @@ class ClassCollectionLoader
 }
 
 
-namespace Symfony\Foundation;
+namespace Symfony\Framework;
 
 use Symfony\Components\EventDispatcher\EventDispatcher as BaseEventDispatcher;
 use Symfony\Components\EventDispatcher\Event;

+ 2 - 2
tests/Symfony/Tests/Foundation/Debug/ErrorHandlerTest.php

@@ -11,12 +11,12 @@
 
 namespace Symfony\Tests\Foundation\Debug;
 
-use Symfony\Foundation\Debug\ErrorHandler;
+use Symfony\Framework\Debug\ErrorHandler;
 
 class ErrorHandlerTest extends \PHPUnit_Framework_TestCase
 {
     /**
-     * @covers Symfony\Foundation\Debug\ErrorHandler::register
+     * @covers Symfony\Framework\Debug\ErrorHandler::register
      */
     public function testRegister()
     {

+ 1 - 1
tests/Symfony/Tests/Foundation/KernelTest.php

@@ -11,7 +11,7 @@
 
 namespace Symfony\Tests\Foundation;
 
-use Symfony\Foundation\Kernel;
+use Symfony\Framework\Kernel;
 
 class KernelTest extends \PHPUnit_Framework_TestCase
 {