fixed CS
This commit is contained in:
parent
bd1e3e3093
commit
62714464e3
@ -32,7 +32,7 @@ class DeprecationErrorHandler
|
|||||||
* - use a number to define the upper bound of allowed deprecations,
|
* - use a number to define the upper bound of allowed deprecations,
|
||||||
* making the test suite fail whenever more notices are trigerred.
|
* making the test suite fail whenever more notices are trigerred.
|
||||||
*
|
*
|
||||||
* @param int|string|false $mode The reporting mode. Defaults to not allowing any deprecations.
|
* @param int|string|false $mode The reporting mode, defaults to not allowing any deprecations
|
||||||
*/
|
*/
|
||||||
public static function register($mode = 0)
|
public static function register($mode = 0)
|
||||||
{
|
{
|
||||||
|
@ -27,7 +27,7 @@ class SymfonyTestsListener extends \PHPUnit_Framework_BaseTestListener
|
|||||||
private $isSkipped = array();
|
private $isSkipped = array();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param array $mockedNamespaces List of namespaces, indexed by mocked features (time-sensitive).
|
* @param array $mockedNamespaces List of namespaces, indexed by mocked features (time-sensitive)
|
||||||
*/
|
*/
|
||||||
public function __construct(array $mockedNamespaces = array())
|
public function __construct(array $mockedNamespaces = array())
|
||||||
{
|
{
|
||||||
|
@ -39,10 +39,10 @@ interface ResourceCheckerInterface
|
|||||||
/**
|
/**
|
||||||
* Validates the resource.
|
* Validates the resource.
|
||||||
*
|
*
|
||||||
* @param ResourceInterface $resource The resource to be validated.
|
* @param ResourceInterface $resource The resource to be validated
|
||||||
* @param int $timestamp The timestamp at which the cache associated with this resource was created.
|
* @param int $timestamp The timestamp at which the cache associated with this resource was created
|
||||||
*
|
*
|
||||||
* @return bool True if the resource has not changed since the given timestamp, false otherwise.
|
* @return bool True if the resource has not changed since the given timestamp, false otherwise
|
||||||
*/
|
*/
|
||||||
public function isFresh(ResourceInterface $resource, $timestamp);
|
public function isFresh(ResourceInterface $resource, $timestamp);
|
||||||
}
|
}
|
||||||
|
@ -21,10 +21,10 @@ class CommandNotFoundException extends \InvalidArgumentException implements Exce
|
|||||||
private $alternatives;
|
private $alternatives;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param string $message Exception message to throw.
|
* @param string $message Exception message to throw
|
||||||
* @param array $alternatives List of similar defined names.
|
* @param array $alternatives List of similar defined names
|
||||||
* @param int $code Exception code.
|
* @param int $code Exception code
|
||||||
* @param Exception $previous previous exception used for the exception chaining.
|
* @param Exception $previous previous exception used for the exception chaining
|
||||||
*/
|
*/
|
||||||
public function __construct($message, array $alternatives = array(), $code = 0, \Exception $previous = null)
|
public function __construct($message, array $alternatives = array(), $code = 0, \Exception $previous = null)
|
||||||
{
|
{
|
||||||
@ -34,7 +34,7 @@ class CommandNotFoundException extends \InvalidArgumentException implements Exce
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return array A list of similar defined names.
|
* @return array A list of similar defined names
|
||||||
*/
|
*/
|
||||||
public function getAlternatives()
|
public function getAlternatives()
|
||||||
{
|
{
|
||||||
|
@ -29,7 +29,7 @@ class CssSelectorConverter
|
|||||||
private $translator;
|
private $translator;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param bool $html Whether HTML support should be enabled. Disable it for XML documents.
|
* @param bool $html Whether HTML support should be enabled. Disable it for XML documents
|
||||||
*/
|
*/
|
||||||
public function __construct($html = true)
|
public function __construct($html = true)
|
||||||
{
|
{
|
||||||
@ -53,8 +53,8 @@ class CssSelectorConverter
|
|||||||
* Optionally, a prefix can be added to the resulting XPath
|
* Optionally, a prefix can be added to the resulting XPath
|
||||||
* expression with the $prefix parameter.
|
* expression with the $prefix parameter.
|
||||||
*
|
*
|
||||||
* @param string $cssExpr The CSS expression.
|
* @param string $cssExpr The CSS expression
|
||||||
* @param string $prefix An optional prefix for the XPath expression.
|
* @param string $prefix An optional prefix for the XPath expression
|
||||||
*
|
*
|
||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
|
@ -35,7 +35,7 @@ class ProjectServiceContainer extends Container
|
|||||||
*
|
*
|
||||||
* This service is autowired.
|
* This service is autowired.
|
||||||
*
|
*
|
||||||
* @return \Foo A Foo instance.
|
* @return \Foo A Foo instance
|
||||||
*/
|
*/
|
||||||
protected function getFooService()
|
protected function getFooService()
|
||||||
{
|
{
|
||||||
|
@ -150,7 +150,7 @@ class ProjectServiceContainer extends Container
|
|||||||
* This service is shared.
|
* This service is shared.
|
||||||
* This method always returns the same instance of the service.
|
* This method always returns the same instance of the service.
|
||||||
*
|
*
|
||||||
* @return \stdClass A stdClass instance.
|
* @return \stdClass A stdClass instance
|
||||||
*
|
*
|
||||||
* @deprecated The "deprecated_service" service is deprecated. You should stop using it, as it will soon be removed.
|
* @deprecated The "deprecated_service" service is deprecated. You should stop using it, as it will soon be removed.
|
||||||
*/
|
*/
|
||||||
|
@ -151,7 +151,7 @@ class ProjectServiceContainer extends Container
|
|||||||
* This service is shared.
|
* This service is shared.
|
||||||
* This method always returns the same instance of the service.
|
* This method always returns the same instance of the service.
|
||||||
*
|
*
|
||||||
* @return \stdClass A stdClass instance.
|
* @return \stdClass A stdClass instance
|
||||||
*
|
*
|
||||||
* @deprecated The "deprecated_service" service is deprecated. You should stop using it, as it will soon be removed.
|
* @deprecated The "deprecated_service" service is deprecated. You should stop using it, as it will soon be removed.
|
||||||
*/
|
*/
|
||||||
|
@ -479,11 +479,11 @@ class Filesystem
|
|||||||
/**
|
/**
|
||||||
* Creates a temporary file with support for custom stream wrappers.
|
* Creates a temporary file with support for custom stream wrappers.
|
||||||
*
|
*
|
||||||
* @param string $dir The directory where the temporary filename will be created.
|
* @param string $dir The directory where the temporary filename will be created
|
||||||
* @param string $prefix The prefix of the generated temporary filename.
|
* @param string $prefix The prefix of the generated temporary filename
|
||||||
* Note: Windows uses only the first three characters of prefix.
|
* Note: Windows uses only the first three characters of prefix
|
||||||
*
|
*
|
||||||
* @return string The new temporary filename (with path), or throw an exception on failure.
|
* @return string The new temporary filename (with path), or throw an exception on failure
|
||||||
*/
|
*/
|
||||||
public function tempnam($dir, $prefix)
|
public function tempnam($dir, $prefix)
|
||||||
{
|
{
|
||||||
@ -581,7 +581,7 @@ class Filesystem
|
|||||||
/**
|
/**
|
||||||
* Gets a 2-tuple of scheme (may be null) and hierarchical part of a filename (e.g. file:///tmp -> array(file, tmp)).
|
* Gets a 2-tuple of scheme (may be null) and hierarchical part of a filename (e.g. file:///tmp -> array(file, tmp)).
|
||||||
*
|
*
|
||||||
* @param string $filename The filename to be parsed.
|
* @param string $filename The filename to be parsed
|
||||||
*
|
*
|
||||||
* @return array The filename scheme and hierarchical part
|
* @return array The filename scheme and hierarchical part
|
||||||
*/
|
*/
|
||||||
|
@ -19,14 +19,14 @@ use Symfony\Component\Serializer\Annotation\Groups;
|
|||||||
class Dummy extends ParentDummy
|
class Dummy extends ParentDummy
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @var string This is bar.
|
* @var string This is bar
|
||||||
*/
|
*/
|
||||||
private $bar;
|
private $bar;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Should be used.
|
* Should be used.
|
||||||
*
|
*
|
||||||
* @var int Should be ignored.
|
* @var int Should be ignored
|
||||||
*/
|
*/
|
||||||
protected $baz;
|
protected $baz;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user