diff --git a/src/Symfony/Bridge/PhpUnit/DeprecationErrorHandler.php b/src/Symfony/Bridge/PhpUnit/DeprecationErrorHandler.php index 330798fa6e..efb2dadc86 100644 --- a/src/Symfony/Bridge/PhpUnit/DeprecationErrorHandler.php +++ b/src/Symfony/Bridge/PhpUnit/DeprecationErrorHandler.php @@ -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) { diff --git a/src/Symfony/Bridge/PhpUnit/SymfonyTestsListener.php b/src/Symfony/Bridge/PhpUnit/SymfonyTestsListener.php index 24c17b865f..646a9c2e6f 100644 --- a/src/Symfony/Bridge/PhpUnit/SymfonyTestsListener.php +++ b/src/Symfony/Bridge/PhpUnit/SymfonyTestsListener.php @@ -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()) { diff --git a/src/Symfony/Component/Config/ResourceCheckerInterface.php b/src/Symfony/Component/Config/ResourceCheckerInterface.php index 27a04745a8..612d777864 100644 --- a/src/Symfony/Component/Config/ResourceCheckerInterface.php +++ b/src/Symfony/Component/Config/ResourceCheckerInterface.php @@ -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); } diff --git a/src/Symfony/Component/Console/Exception/CommandNotFoundException.php b/src/Symfony/Component/Console/Exception/CommandNotFoundException.php index ce6fefe34a..54f1a5b0ce 100644 --- a/src/Symfony/Component/Console/Exception/CommandNotFoundException.php +++ b/src/Symfony/Component/Console/Exception/CommandNotFoundException.php @@ -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() { diff --git a/src/Symfony/Component/CssSelector/CssSelectorConverter.php b/src/Symfony/Component/CssSelector/CssSelectorConverter.php index e31ac1917a..8d66dbd0e1 100644 --- a/src/Symfony/Component/CssSelector/CssSelectorConverter.php +++ b/src/Symfony/Component/CssSelector/CssSelectorConverter.php @@ -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 */ diff --git a/src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services24.php b/src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services24.php index fb8dd19fd2..aa02494ca0 100644 --- a/src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services24.php +++ b/src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services24.php @@ -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() { diff --git a/src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services9.php b/src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services9.php index 084d0743f1..e30b809c67 100644 --- a/src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services9.php +++ b/src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services9.php @@ -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. */ diff --git a/src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services9_compiled.php b/src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services9_compiled.php index 7bb37eeb69..b774c0db91 100644 --- a/src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services9_compiled.php +++ b/src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services9_compiled.php @@ -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. */ diff --git a/src/Symfony/Component/Filesystem/Filesystem.php b/src/Symfony/Component/Filesystem/Filesystem.php index 93c3a6a6fb..7390783de6 100644 --- a/src/Symfony/Component/Filesystem/Filesystem.php +++ b/src/Symfony/Component/Filesystem/Filesystem.php @@ -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 */ diff --git a/src/Symfony/Component/PropertyInfo/Tests/Fixtures/Dummy.php b/src/Symfony/Component/PropertyInfo/Tests/Fixtures/Dummy.php index 7068722c4b..41a513ac36 100644 --- a/src/Symfony/Component/PropertyInfo/Tests/Fixtures/Dummy.php +++ b/src/Symfony/Component/PropertyInfo/Tests/Fixtures/Dummy.php @@ -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;