Skip to content

Commit 6271446

Browse files
committed
fixed CS
1 parent bd1e3e3 commit 6271446

File tree

10 files changed

+23
-23
lines changed

10 files changed

+23
-23
lines changed

src/Symfony/Bridge/PhpUnit/DeprecationErrorHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class DeprecationErrorHandler
3232
* - use a number to define the upper bound of allowed deprecations,
3333
* making the test suite fail whenever more notices are trigerred.
3434
*
35-
* @param int|string|false $mode The reporting mode. Defaults to not allowing any deprecations.
35+
* @param int|string|false $mode The reporting mode, defaults to not allowing any deprecations
3636
*/
3737
public static function register($mode = 0)
3838
{

src/Symfony/Bridge/PhpUnit/SymfonyTestsListener.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class SymfonyTestsListener extends \PHPUnit_Framework_BaseTestListener
2727
private $isSkipped = array();
2828

2929
/**
30-
* @param array $mockedNamespaces List of namespaces, indexed by mocked features (time-sensitive).
30+
* @param array $mockedNamespaces List of namespaces, indexed by mocked features (time-sensitive)
3131
*/
3232
public function __construct(array $mockedNamespaces = array())
3333
{

src/Symfony/Component/Config/ResourceCheckerInterface.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,10 @@ public function supports(ResourceInterface $metadata);
3939
/**
4040
* Validates the resource.
4141
*
42-
* @param ResourceInterface $resource The resource to be validated.
43-
* @param int $timestamp The timestamp at which the cache associated with this resource was created.
42+
* @param ResourceInterface $resource The resource to be validated
43+
* @param int $timestamp The timestamp at which the cache associated with this resource was created
4444
*
45-
* @return bool True if the resource has not changed since the given timestamp, false otherwise.
45+
* @return bool True if the resource has not changed since the given timestamp, false otherwise
4646
*/
4747
public function isFresh(ResourceInterface $resource, $timestamp);
4848
}

src/Symfony/Component/Console/Exception/CommandNotFoundException.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ class CommandNotFoundException extends \InvalidArgumentException implements Exce
2121
private $alternatives;
2222

2323
/**
24-
* @param string $message Exception message to throw.
25-
* @param array $alternatives List of similar defined names.
26-
* @param int $code Exception code.
27-
* @param Exception $previous previous exception used for the exception chaining.
24+
* @param string $message Exception message to throw
25+
* @param array $alternatives List of similar defined names
26+
* @param int $code Exception code
27+
* @param Exception $previous previous exception used for the exception chaining
2828
*/
2929
public function __construct($message, array $alternatives = array(), $code = 0, \Exception $previous = null)
3030
{
@@ -34,7 +34,7 @@ public function __construct($message, array $alternatives = array(), $code = 0,
3434
}
3535

3636
/**
37-
* @return array A list of similar defined names.
37+
* @return array A list of similar defined names
3838
*/
3939
public function getAlternatives()
4040
{

src/Symfony/Component/CssSelector/CssSelectorConverter.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class CssSelectorConverter
2929
private $translator;
3030

3131
/**
32-
* @param bool $html Whether HTML support should be enabled. Disable it for XML documents.
32+
* @param bool $html Whether HTML support should be enabled. Disable it for XML documents
3333
*/
3434
public function __construct($html = true)
3535
{
@@ -53,8 +53,8 @@ public function __construct($html = true)
5353
* Optionally, a prefix can be added to the resulting XPath
5454
* expression with the $prefix parameter.
5555
*
56-
* @param string $cssExpr The CSS expression.
57-
* @param string $prefix An optional prefix for the XPath expression.
56+
* @param string $cssExpr The CSS expression
57+
* @param string $prefix An optional prefix for the XPath expression
5858
*
5959
* @return string
6060
*/

src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services24.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public function __construct()
3535
*
3636
* This service is autowired.
3737
*
38-
* @return \Foo A Foo instance.
38+
* @return \Foo A Foo instance
3939
*/
4040
protected function getFooService()
4141
{

src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services9.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ protected function getDecoratorServiceWithNameService()
150150
* This service is shared.
151151
* This method always returns the same instance of the service.
152152
*
153-
* @return \stdClass A stdClass instance.
153+
* @return \stdClass A stdClass instance
154154
*
155155
* @deprecated The "deprecated_service" service is deprecated. You should stop using it, as it will soon be removed.
156156
*/

src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services9_compiled.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ protected function getDecoratorServiceWithNameService()
151151
* This service is shared.
152152
* This method always returns the same instance of the service.
153153
*
154-
* @return \stdClass A stdClass instance.
154+
* @return \stdClass A stdClass instance
155155
*
156156
* @deprecated The "deprecated_service" service is deprecated. You should stop using it, as it will soon be removed.
157157
*/

src/Symfony/Component/Filesystem/Filesystem.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -479,11 +479,11 @@ public function isAbsolutePath($file)
479479
/**
480480
* Creates a temporary file with support for custom stream wrappers.
481481
*
482-
* @param string $dir The directory where the temporary filename will be created.
483-
* @param string $prefix The prefix of the generated temporary filename.
484-
* Note: Windows uses only the first three characters of prefix.
482+
* @param string $dir The directory where the temporary filename will be created
483+
* @param string $prefix The prefix of the generated temporary filename
484+
* Note: Windows uses only the first three characters of prefix
485485
*
486-
* @return string The new temporary filename (with path), or throw an exception on failure.
486+
* @return string The new temporary filename (with path), or throw an exception on failure
487487
*/
488488
public function tempnam($dir, $prefix)
489489
{
@@ -581,7 +581,7 @@ private function toIterator($files)
581581
/**
582582
* Gets a 2-tuple of scheme (may be null) and hierarchical part of a filename (e.g. file:///tmp -> array(file, tmp)).
583583
*
584-
* @param string $filename The filename to be parsed.
584+
* @param string $filename The filename to be parsed
585585
*
586586
* @return array The filename scheme and hierarchical part
587587
*/

src/Symfony/Component/PropertyInfo/Tests/Fixtures/Dummy.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@
1919
class Dummy extends ParentDummy
2020
{
2121
/**
22-
* @var string This is bar.
22+
* @var string This is bar
2323
*/
2424
private $bar;
2525

2626
/**
2727
* Should be used.
2828
*
29-
* @var int Should be ignored.
29+
* @var int Should be ignored
3030
*/
3131
protected $baz;
3232

0 commit comments

Comments
 (0)