Skip to content

Commit 462d9ed

Browse files
authored
Merge pull request #489 from FriendsOfSymfony/fix-cs-config
Update .styleci.yml
2 parents 42c96a0 + dfa9de5 commit 462d9ed

28 files changed

+12
-75
lines changed

.styleci.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ preset: symfony
22

33
enabled:
44
- alpha_ordered_imports
5-
- short_array_syntax
65

76
disabled:
87
- single_line_throw

src/CacheInvalidator.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,6 @@ public function supports($operation)
122122
/**
123123
* Set event dispatcher - may only be called once.
124124
*
125-
* @param EventDispatcherInterface $eventDispatcher
126-
*
127125
* @throws \Exception when trying to override the event dispatcher
128126
*/
129127
public function setEventDispatcher(EventDispatcherInterface $eventDispatcher)

src/Event.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ class Event extends BaseEvent
1717

1818
/**
1919
* Set exception.
20-
*
21-
* @param \Exception $exception
2220
*/
2321
public function setException(\Exception $exception)
2422
{

src/Exception/ExceptionCollection.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,6 @@ public function __construct(array $exceptions = [])
2929
/**
3030
* Add an exception to the collection.
3131
*
32-
* @param \Exception $e
33-
*
3432
* @return $this
3533
*/
3634
public function add(\Exception $e)

src/ProxyClient/Dispatcher.php

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,10 @@ interface Dispatcher
2525
/**
2626
* Queue invalidation request.
2727
*
28-
* @param RequestInterface $invalidationRequest
29-
* @param bool $validateHost If false, do not validate
30-
* that we either have a base
31-
* uri or the invalidation
32-
* request specifies the host
28+
* @param bool $validateHost If false, do not validate
29+
* that we either have a base
30+
* uri or the invalidation
31+
* request specifies the host
3332
*/
3433
public function invalidate(RequestInterface $invalidationRequest, $validateHost = true);
3534

src/ProxyClient/HttpProxyClient.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@ protected function configureOptions()
8686
*
8787
* @param string $method
8888
* @param string|UriInterface $url
89-
* @param array $headers
9089
* @param bool $validateHost see Dispatcher::invalidate
9190
* @param resource|string|StreamInterface|null $body
9291
*/

src/ProxyClient/MultiplexerClient.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,6 @@ public function flush()
103103
*
104104
* {@inheritdoc}
105105
*
106-
* @param array $tags
107-
*
108106
* @return $this
109107
*/
110108
public function invalidateTags(array $tags)

src/ResponseTagger.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,6 @@ class ResponseTagger
5555
*
5656
* - header_formatter (TagHeaderFormatter) Default: CommaSeparatedTagHeaderFormatter with default header name
5757
* - strict (bool) Default: false. If set to true, throws exception when adding empty tags
58-
*
59-
* @param array $options
6058
*/
6159
public function __construct(array $options = [])
6260
{

src/SymfonyCache/CacheEvent.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,6 @@ public function getResponse()
104104
* Sets a response to use instead of continuing to handle this request.
105105
*
106106
* Setting a response stops propagation of the event to further event handlers.
107-
*
108-
* @param Response $response
109107
*/
110108
public function setResponse(Response $response)
111109
{

src/SymfonyCache/CustomTtlListener.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,6 @@ public function __construct($ttlHeader = 'X-Reverse-Proxy-TTL')
5050
*
5151
* If there is such a header, the original s_maxage is backed up to the
5252
* static::SMAXAGE_BACKUP header.
53-
*
54-
* @param CacheEvent $e
5553
*/
5654
public function useCustomTtl(CacheEvent $e)
5755
{
@@ -69,8 +67,6 @@ public function useCustomTtl(CacheEvent $e)
6967

7068
/**
7169
* Remove the custom TTL header and restore s_maxage from the backup.
72-
*
73-
* @param CacheEvent $e
7470
*/
7571
public function cleanResponse(CacheEvent $e)
7672
{

0 commit comments

Comments
 (0)