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,
|
||||
* 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)
|
||||
{
|
||||
|
|
|
@ -27,7 +27,7 @@ class SymfonyTestsListener extends \PHPUnit_Framework_BaseTestListener
|
|||
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())
|
||||
{
|
||||
|
|
|
@ -39,10 +39,10 @@ interface ResourceCheckerInterface
|
|||
/**
|
||||
* Validates the resource.
|
||||
*
|
||||
* @param ResourceInterface $resource The resource to be validated.
|
||||
* @param int $timestamp The timestamp at which the cache associated with this resource was created.
|
||||
* @param ResourceInterface $resource The resource to be validated
|
||||
* @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);
|
||||
}
|
||||
|
|
|
@ -21,10 +21,10 @@ class CommandNotFoundException extends \InvalidArgumentException implements Exce
|
|||
private $alternatives;
|
||||
|
||||
/**
|
||||
* @param string $message Exception message to throw.
|
||||
* @param array $alternatives List of similar defined names.
|
||||
* @param int $code Exception code.
|
||||
* @param Exception $previous previous exception used for the exception chaining.
|
||||
* @param string $message Exception message to throw
|
||||
* @param array $alternatives List of similar defined names
|
||||
* @param int $code Exception code
|
||||
* @param Exception $previous previous exception used for the exception chaining
|
||||
*/
|
||||
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()
|
||||
{
|
||||
|
|
|
@ -29,7 +29,7 @@ class CssSelectorConverter
|
|||
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)
|
||||
{
|
||||
|
@ -53,8 +53,8 @@ class CssSelectorConverter
|
|||
* Optionally, a prefix can be added to the resulting XPath
|
||||
* expression with the $prefix parameter.
|
||||
*
|
||||
* @param string $cssExpr The CSS expression.
|
||||
* @param string $prefix An optional prefix for the XPath expression.
|
||||
* @param string $cssExpr The CSS expression
|
||||
* @param string $prefix An optional prefix for the XPath expression
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
|
|
|
@ -35,7 +35,7 @@ class ProjectServiceContainer extends Container
|
|||
*
|
||||
* This service is autowired.
|
||||
*
|
||||
* @return \Foo A Foo instance.
|
||||
* @return \Foo A Foo instance
|
||||
*/
|
||||
protected function getFooService()
|
||||
{
|
||||
|
|
|
@ -150,7 +150,7 @@ class ProjectServiceContainer extends Container
|
|||
* This service is shared.
|
||||
* 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.
|
||||
*/
|
||||
|
|
|
@ -151,7 +151,7 @@ class ProjectServiceContainer extends Container
|
|||
* This service is shared.
|
||||
* 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.
|
||||
*/
|
||||
|
|
|
@ -479,11 +479,11 @@ class Filesystem
|
|||
/**
|
||||
* Creates a temporary file with support for custom stream wrappers.
|
||||
*
|
||||
* @param string $dir The directory where the temporary filename will be created.
|
||||
* @param string $prefix The prefix of the generated temporary filename.
|
||||
* Note: Windows uses only the first three characters of prefix.
|
||||
* @param string $dir The directory where the temporary filename will be created
|
||||
* @param string $prefix The prefix of the generated temporary filename
|
||||
* 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)
|
||||
{
|
||||
|
@ -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)).
|
||||
*
|
||||
* @param string $filename The filename to be parsed.
|
||||
* @param string $filename The filename to be parsed
|
||||
*
|
||||
* @return array The filename scheme and hierarchical part
|
||||
*/
|
||||
|
|
|
@ -19,14 +19,14 @@ use Symfony\Component\Serializer\Annotation\Groups;
|
|||
class Dummy extends ParentDummy
|
||||
{
|
||||
/**
|
||||
* @var string This is bar.
|
||||
* @var string This is bar
|
||||
*/
|
||||
private $bar;
|
||||
|
||||
/**
|
||||
* Should be used.
|
||||
*
|
||||
* @var int Should be ignored.
|
||||
* @var int Should be ignored
|
||||
*/
|
||||
protected $baz;
|
||||
|
||||
|
|
Reference in New Issue