removing trailing whiteplaces
This commit is contained in:
parent
5c11f9f42d
commit
7bb5cb4419
@ -1,4 +1,4 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace Symfony\Foundation\Bundle;
|
namespace Symfony\Foundation\Bundle;
|
||||||
|
|
||||||
@ -145,7 +145,7 @@ class KernelExtension extends LoaderExtension
|
|||||||
return $configuration;
|
return $configuration;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public function getXsdValidationBasePath()
|
public function getXsdValidationBasePath()
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
@ -182,7 +182,7 @@ class ErrorHandler
|
|||||||
|
|
||||||
protected $level;
|
protected $level;
|
||||||
|
|
||||||
|
|
||||||
public function __construct($level = null)
|
public function __construct($level = null)
|
||||||
{
|
{
|
||||||
$this->level = null === $level ? error_reporting() : $level;
|
$this->level = null === $level ? error_reporting() : $level;
|
||||||
@ -193,7 +193,7 @@ class ErrorHandler
|
|||||||
set_error_handler(array($this, 'handle'));
|
set_error_handler(array($this, 'handle'));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public function handle($level, $message, $file, $line, $context)
|
public function handle($level, $message, $file, $line, $context)
|
||||||
{
|
{
|
||||||
if (0 === $this->level)
|
if (0 === $this->level)
|
||||||
@ -218,7 +218,7 @@ namespace Symfony\Foundation;
|
|||||||
|
|
||||||
class ClassCollectionLoader
|
class ClassCollectionLoader
|
||||||
{
|
{
|
||||||
|
|
||||||
static public function load($classes, $cacheDir, $name, $autoReload)
|
static public function load($classes, $cacheDir, $name, $autoReload)
|
||||||
{
|
{
|
||||||
$cache = $cacheDir.'/'.$name.'.php';
|
$cache = $cacheDir.'/'.$name.'.php';
|
||||||
@ -336,7 +336,7 @@ abstract class Kernel implements \Serializable
|
|||||||
|
|
||||||
const VERSION = '2.0.0-DEV';
|
const VERSION = '2.0.0-DEV';
|
||||||
|
|
||||||
|
|
||||||
public function __construct($environment, $debug)
|
public function __construct($environment, $debug)
|
||||||
{
|
{
|
||||||
$this->debug = (Boolean) $debug;
|
$this->debug = (Boolean) $debug;
|
||||||
@ -373,13 +373,13 @@ abstract class Kernel implements \Serializable
|
|||||||
|
|
||||||
abstract public function registerRoutes();
|
abstract public function registerRoutes();
|
||||||
|
|
||||||
|
|
||||||
public function isBooted()
|
public function isBooted()
|
||||||
{
|
{
|
||||||
return $this->booted;
|
return $this->booted;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public function boot()
|
public function boot()
|
||||||
{
|
{
|
||||||
if (true === $this->booted)
|
if (true === $this->booted)
|
||||||
@ -683,7 +683,7 @@ class EventDispatcher extends BaseEventDispatcher
|
|||||||
{
|
{
|
||||||
protected $container;
|
protected $container;
|
||||||
|
|
||||||
|
|
||||||
public function __construct(ContainerInterface $container)
|
public function __construct(ContainerInterface $container)
|
||||||
{
|
{
|
||||||
$this->container = $container;
|
$this->container = $container;
|
||||||
@ -700,7 +700,7 @@ class EventDispatcher extends BaseEventDispatcher
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public function getListeners($name)
|
public function getListeners($name)
|
||||||
{
|
{
|
||||||
if (!isset($this->listeners[$name]))
|
if (!isset($this->listeners[$name]))
|
||||||
|
@ -153,11 +153,11 @@ class ProjectServiceContainer extends Container
|
|||||||
public function findAnnotatedServiceIds($name)
|
public function findAnnotatedServiceIds($name)
|
||||||
{
|
{
|
||||||
static $annotations = array (
|
static $annotations = array (
|
||||||
'foo' =>
|
'foo' =>
|
||||||
array (
|
array (
|
||||||
'foo' =>
|
'foo' =>
|
||||||
array (
|
array (
|
||||||
0 =>
|
0 =>
|
||||||
array (
|
array (
|
||||||
'foo' => 'foo',
|
'foo' => 'foo',
|
||||||
),
|
),
|
||||||
|
Reference in New Issue
Block a user