diff --git a/src/Symfony/Foundation/bootstrap.php b/src/Symfony/Foundation/bootstrap.php index f59139517d..5df7022dc2 100644 --- a/src/Symfony/Foundation/bootstrap.php +++ b/src/Symfony/Foundation/bootstrap.php @@ -1,4 +1,4 @@ -level = null === $level ? error_reporting() : $level; @@ -193,7 +193,7 @@ class ErrorHandler set_error_handler(array($this, 'handle')); } - + public function handle($level, $message, $file, $line, $context) { if (0 === $this->level) @@ -218,7 +218,7 @@ namespace Symfony\Foundation; class ClassCollectionLoader { - + static public function load($classes, $cacheDir, $name, $autoReload) { $cache = $cacheDir.'/'.$name.'.php'; @@ -336,7 +336,7 @@ abstract class Kernel implements \Serializable const VERSION = '2.0.0-DEV'; - + public function __construct($environment, $debug) { $this->debug = (Boolean) $debug; @@ -373,13 +373,13 @@ abstract class Kernel implements \Serializable abstract public function registerRoutes(); - + public function isBooted() { return $this->booted; } - + public function boot() { if (true === $this->booted) @@ -683,7 +683,7 @@ class EventDispatcher extends BaseEventDispatcher { protected $container; - + public function __construct(ContainerInterface $container) { $this->container = $container; @@ -700,7 +700,7 @@ class EventDispatcher extends BaseEventDispatcher } } - + public function getListeners($name) { if (!isset($this->listeners[$name])) diff --git a/tests/fixtures/Symfony/Components/DependencyInjection/php/services9.php b/tests/fixtures/Symfony/Components/DependencyInjection/php/services9.php index 8d902f21a7..8fbdf8cf00 100644 --- a/tests/fixtures/Symfony/Components/DependencyInjection/php/services9.php +++ b/tests/fixtures/Symfony/Components/DependencyInjection/php/services9.php @@ -153,11 +153,11 @@ class ProjectServiceContainer extends Container public function findAnnotatedServiceIds($name) { static $annotations = array ( - 'foo' => + 'foo' => array ( - 'foo' => + 'foo' => array ( - 0 => + 0 => array ( 'foo' => 'foo', ),