Skip to content

Commit 7706f51

Browse files
committed
fix cs to newest rules
1 parent 9071b9d commit 7706f51

File tree

10 files changed

+50
-50
lines changed

10 files changed

+50
-50
lines changed

src/CacheInvalidator.php

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -153,9 +153,9 @@ public function getEventDispatcher()
153153
* @param string $path Path or URL
154154
* @param array $headers HTTP headers (optional)
155155
*
156-
* @throws UnsupportedProxyOperationException
157-
*
158156
* @return $this
157+
*
158+
* @throws UnsupportedProxyOperationException
159159
*/
160160
public function invalidatePath($path, array $headers = [])
161161
{
@@ -176,9 +176,9 @@ public function invalidatePath($path, array $headers = [])
176176
*
177177
* @see RefreshCapable::refresh()
178178
*
179-
* @throws UnsupportedProxyOperationException
180-
*
181179
* @return $this
180+
*
181+
* @throws UnsupportedProxyOperationException
182182
*/
183183
public function refreshPath($path, array $headers = [])
184184
{
@@ -201,9 +201,9 @@ public function refreshPath($path, array $headers = [])
201201
*
202202
* @param array $headers HTTP headers that path must match to be banned
203203
*
204-
* @throws UnsupportedProxyOperationException If HTTP cache does not support BAN requests
205-
*
206204
* @return $this
205+
*
206+
* @throws UnsupportedProxyOperationException If HTTP cache does not support BAN requests
207207
*/
208208
public function invalidate(array $headers)
209209
{
@@ -223,9 +223,9 @@ public function invalidate(array $headers)
223223
*
224224
* @param array $tags Tags that should be removed/expired from the cache
225225
*
226-
* @throws UnsupportedProxyOperationException If HTTP cache does not support Tags invalidation
227-
*
228226
* @return $this
227+
*
228+
* @throws UnsupportedProxyOperationException If HTTP cache does not support Tags invalidation
229229
*/
230230
public function invalidateTags(array $tags)
231231
{
@@ -255,9 +255,9 @@ public function invalidateTags(array $tags)
255255
* @param array|string $hosts Regular expression of a host name or list of
256256
* exact host names to limit banning
257257
*
258-
* @throws UnsupportedProxyOperationException If HTTP cache does not support BAN requests
259-
*
260258
* @return $this
259+
*
260+
* @throws UnsupportedProxyOperationException If HTTP cache does not support BAN requests
261261
*/
262262
public function invalidateRegex($path, $contentType = null, $hosts = null)
263263
{
@@ -273,9 +273,9 @@ public function invalidateRegex($path, $contentType = null, $hosts = null)
273273
/**
274274
* Clear the cache completely.
275275
*
276-
* @throws UnsupportedProxyOperationException if HTTP cache does not support clearing the cache completely
277-
*
278276
* @return $this
277+
*
278+
* @throws UnsupportedProxyOperationException if HTTP cache does not support clearing the cache completely
279279
*/
280280
public function clearCache()
281281
{

src/ProxyClient/MultiplexerClient.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,9 @@ public function banPath($path, $contentType = null, $hosts = null)
8484
/**
8585
* Forwards to all clients.
8686
*
87-
* @throws ExceptionCollection If any errors occurred during flush
88-
*
8987
* @return int The number of cache invalidations performed per caching server
88+
*
89+
* @throws ExceptionCollection If any errors occurred during flush
9090
*/
9191
public function flush()
9292
{

src/ResponseTagger.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,9 +113,9 @@ public function hasTags()
113113
*
114114
* @param string[] $tags List of tags to add
115115
*
116-
* @throws InvalidTagException
117-
*
118116
* @return $this
117+
*
118+
* @throws InvalidTagException
119119
*/
120120
public function addTags(array $tags)
121121
{

src/Test/Legacy/WebServerListener.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,9 @@ public function addRiskyTest(\PHPUnit_Framework_Test $test, \Exception $e, $time
8686
/**
8787
* Get web server hostname.
8888
*
89-
* @throws \Exception
90-
*
9189
* @return string
90+
*
91+
* @throws \Exception
9292
*/
9393
protected function getHostName()
9494
{
@@ -98,9 +98,9 @@ protected function getHostName()
9898
/**
9999
* Get web server port.
100100
*
101-
* @throws \Exception
102-
*
103101
* @return int
102+
*
103+
* @throws \Exception
104104
*/
105105
protected function getPort()
106106
{
@@ -110,9 +110,9 @@ protected function getPort()
110110
/**
111111
* Get web server port.
112112
*
113-
* @throws \Exception
114-
*
115113
* @return int
114+
*
115+
* @throws \Exception
116116
*/
117117
protected function getDocRoot()
118118
{

src/Test/Legacy/WebServerListener6.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,9 @@ public function addWarning(Test $test, Warning $e, $time)
9494
/**
9595
* Get web server hostname.
9696
*
97-
* @throws \Exception
98-
*
9997
* @return string
98+
*
99+
* @throws \Exception
100100
*/
101101
protected function getHostName()
102102
{
@@ -106,9 +106,9 @@ protected function getHostName()
106106
/**
107107
* Get web server port.
108108
*
109-
* @throws \Exception
110-
*
111109
* @return int
110+
*
111+
* @throws \Exception
112112
*/
113113
protected function getPort()
114114
{
@@ -118,9 +118,9 @@ protected function getPort()
118118
/**
119119
* Get web server port.
120120
*
121-
* @throws \Exception
122-
*
123121
* @return int
122+
*
123+
* @throws \Exception
124124
*/
125125
protected function getDocRoot()
126126
{

src/Test/NginxTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,9 @@ protected function tearDown(): void
6464
/**
6565
* The default implementation looks at the constant NGINX_FILE.
6666
*
67-
* @throws \Exception
68-
*
6967
* @return string the path to the NGINX server configuration file to use with this test
68+
*
69+
* @throws \Exception
7070
*/
7171
protected function getConfigFile()
7272
{
@@ -114,9 +114,9 @@ protected function getCacheDir()
114114
/**
115115
* Get the hostname where your application can be reached.
116116
*
117-
* @throws \Exception
118-
*
119117
* @return string
118+
*
119+
* @throws \Exception
120120
*/
121121
protected function getHostName()
122122
{

src/Test/SymfonyTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,9 @@ protected function getCachingProxyPort()
7676
/**
7777
* Get the hostname where your application can be reached.
7878
*
79-
* @throws \Exception
80-
*
8179
* @return string
80+
*
81+
* @throws \Exception
8282
*/
8383
protected function getHostName()
8484
{

src/Test/VarnishTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,9 @@ protected function tearDown(): void
7575
/**
7676
* The default implementation looks at the constant VARNISH_FILE.
7777
*
78-
* @throws \Exception
79-
*
8078
* @return string the path to the varnish server configuration file to use with this test
79+
*
80+
* @throws \Exception
8181
*/
8282
protected function getConfigFile()
8383
{
@@ -200,9 +200,9 @@ protected function getProxyClient()
200200
/**
201201
* Get the hostname where your application can be reached.
202202
*
203-
* @throws \Exception
204-
*
205203
* @return string
204+
*
205+
* @throws \Exception
206206
*/
207207
protected function getHostName()
208208
{

src/Test/WebServerListener.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,9 @@ public function addWarning(Test $test, Warning $e, float $time): void
102102
/**
103103
* Get web server hostname.
104104
*
105-
* @throws \Exception
106-
*
107105
* @return string
106+
*
107+
* @throws \Exception
108108
*/
109109
protected function getHostName()
110110
{
@@ -114,9 +114,9 @@ protected function getHostName()
114114
/**
115115
* Get web server port.
116116
*
117-
* @throws \Exception
118-
*
119117
* @return int
118+
*
119+
* @throws \Exception
120120
*/
121121
protected function getPort()
122122
{
@@ -126,9 +126,9 @@ protected function getPort()
126126
/**
127127
* Get web server port.
128128
*
129-
* @throws \Exception
130-
*
131129
* @return int
130+
*
131+
* @throws \Exception
132132
*/
133133
protected function getDocRoot()
134134
{

src/Test/WebServerListenerTrait.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ public function startTestSuite($suite)
4949
/**
5050
* Get web server hostname.
5151
*
52-
* @throws \Exception
53-
*
5452
* @return string
53+
*
54+
* @throws \Exception
5555
*/
5656
public function getHostName()
5757
{
@@ -65,9 +65,9 @@ public function getHostName()
6565
/**
6666
* Get web server port.
6767
*
68-
* @throws \Exception
69-
*
7068
* @return int
69+
*
70+
* @throws \Exception
7171
*/
7272
public function getPort()
7373
{
@@ -81,9 +81,9 @@ public function getPort()
8181
/**
8282
* Get web server port.
8383
*
84-
* @throws \Exception
85-
*
8684
* @return int
85+
*
86+
* @throws \Exception
8787
*/
8888
public function getDocRoot()
8989
{

0 commit comments

Comments
 (0)