[2.3] CS Fixes

This commit is contained in:
Graham Campbell 2014-12-20 17:15:52 +00:00 committed by Fabien Potencier
parent 405b881d86
commit b521c200a8
12 changed files with 19 additions and 21 deletions

View File

@ -10,7 +10,6 @@ class DummyProvider implements UserProviderFactoryInterface
{
public function create(ContainerBuilder $container, $id, $config)
{
}
public function getKey()
@ -20,6 +19,5 @@ class DummyProvider implements UserProviderFactoryInterface
public function addConfiguration(NodeDefinition $node)
{
}
}

View File

@ -44,10 +44,9 @@ class ApcClassLoader
private $prefix;
/**
* The class loader object being decorated.
* A class loader object that implements the findFile() method.
*
* @var object
* A class loader object that implements the findFile() method.
*/
protected $decorated;

View File

@ -12,7 +12,7 @@
namespace Symfony\Component\ClassLoader;
/**
* ClassLoader implements an PSR-0 class loader
* ClassLoader implements an PSR-0 class loader.
*
* See https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-0.md
*
@ -76,7 +76,7 @@ class ClassLoader
}
/**
* Registers a set of classes
* Registers a set of classes.
*
* @param string $prefix The classes prefix
* @param array|string $paths The location(s) of the classes

View File

@ -20,14 +20,14 @@ if (!defined('SYMFONY_TRAIT')) {
}
/**
* ClassMapGenerator
* ClassMapGenerator.
*
* @author Gyula Sallai <salla016@gmail.com>
*/
class ClassMapGenerator
{
/**
* Generate a class map file
* Generate a class map file.
*
* @param array|string $dirs Directories or a single path to search in
* @param string $file The name of the class map file
@ -45,7 +45,7 @@ class ClassMapGenerator
}
/**
* Iterate over all files in the given directory searching for classes
* Iterate over all files in the given directory searching for classes.
*
* @param \Iterator|string $dir The directory to search in or an iterator
*
@ -81,7 +81,7 @@ class ClassMapGenerator
}
/**
* Extract the classes in the given file
* Extract the classes in the given file.
*
* @param string $path The file to check
*

View File

@ -70,7 +70,7 @@ class DebugClassLoader
}
/**
* Finds a file by class name
* Finds a file by class name.
*
* @param string $class A class name to resolve to file
*

View File

@ -68,7 +68,7 @@ class UniversalClassLoader
/**
* Turns on searching the include for class files. Allows easy loading
* of installed PEAR packages
* of installed PEAR packages.
*
* @param bool $useIncludePath
*/
@ -173,7 +173,7 @@ class UniversalClassLoader
}
/**
* Registers an array of namespaces
* Registers an array of namespaces.
*
* @param array $namespaces An array of namespaces (namespaces as keys and locations as values)
*

View File

@ -43,10 +43,9 @@ class WinCacheClassLoader
private $prefix;
/**
* The class loader object being decorated.
* A class loader object that implements the findFile() method.
*
* @var \Symfony\Component\ClassLoader\ClassLoader
* A class loader object that implements the findFile() method.
* @var object
*/
protected $decorated;

View File

@ -45,7 +45,9 @@ class XcacheClassLoader
private $prefix;
/**
* @var object A class loader object that implements the findFile() method
* A class loader object that implements the findFile() method.
*
* @var object
*/
private $decorated;

View File

@ -30,7 +30,7 @@ namespace Symfony\Component\EventDispatcher;
class Event
{
/**
* @var bool Whether no further event listeners should be triggered
* @var bool Whether no further event listeners should be triggered
*/
private $propagationStopped = false;

View File

@ -24,7 +24,7 @@ class MemcacheSessionHandler implements \SessionHandlerInterface
private $memcache;
/**
* @var int Time to live in seconds
* @var int Time to live in seconds
*/
private $ttl;

View File

@ -29,7 +29,7 @@ class MemcachedSessionHandler implements \SessionHandlerInterface
private $memcached;
/**
* @var int Time to live in seconds
* @var int Time to live in seconds
*/
private $ttl;

View File

@ -39,7 +39,7 @@ class MoFileLoader extends ArrayLoader implements LoaderInterface
/**
* The size of the header of a MO file in bytes.
*
* @var int Number of bytes.
* @var int Number of bytes.
*/
const MO_HEADER_SIZE = 28;