Skip to content

Commit eefc100

Browse files
committed
Fix CS
1 parent 3503e3e commit eefc100

16 files changed

+20
-17
lines changed

Config/FileLocator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class FileLocator extends BaseFileLocator
2828
*/
2929
private $path;
3030

31-
public function __construct(KernelInterface $kernel/*, string $path = null, array $paths = [], bool $triggerDeprecation = true*/)
31+
public function __construct(KernelInterface $kernel/* , string $path = null, array $paths = [], bool $triggerDeprecation = true */)
3232
{
3333
$this->kernel = $kernel;
3434

DataCollector/AjaxDataCollector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class AjaxDataCollector extends DataCollector
2828
*
2929
* @param \Throwable|null $exception
3030
*/
31-
public function collect(Request $request, Response $response/*, \Throwable $exception = null*/)
31+
public function collect(Request $request, Response $response/* , \Throwable $exception = null */)
3232
{
3333
// all collecting is done client side
3434
}

DataCollector/ConfigDataCollector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public function setKernel(KernelInterface $kernel = null)
5757
*
5858
* @param \Throwable|null $exception
5959
*/
60-
public function collect(Request $request, Response $response/*, \Throwable $exception = null*/)
60+
public function collect(Request $request, Response $response/* , \Throwable $exception = null */)
6161
{
6262
$eom = \DateTime::createFromFormat('d/m/Y', '01/'.Kernel::END_OF_MAINTENANCE);
6363
$eol = \DateTime::createFromFormat('d/m/Y', '01/'.Kernel::END_OF_LIFE);

DataCollector/DataCollectorInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ interface DataCollectorInterface extends ResetInterface
2727
*
2828
* @param \Throwable|null $exception
2929
*/
30-
public function collect(Request $request, Response $response/*, \Throwable $exception = null*/);
30+
public function collect(Request $request, Response $response/* , \Throwable $exception = null */);
3131

3232
/**
3333
* Returns the name of the collector.

DataCollector/DumpDataCollector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ public function dump(Data $data)
105105
*
106106
* @param \Throwable|null $exception
107107
*/
108-
public function collect(Request $request, Response $response/*, \Throwable $exception = null*/)
108+
public function collect(Request $request, Response $response/* , \Throwable $exception = null */)
109109
{
110110
if (!$this->dataCount) {
111111
$this->data = [];

DataCollector/EventDataCollector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public function __construct(EventDispatcherInterface $dispatcher = null, Request
4343
*
4444
* @param \Throwable|null $exception
4545
*/
46-
public function collect(Request $request, Response $response/*, \Throwable $exception = null*/)
46+
public function collect(Request $request, Response $response/* , \Throwable $exception = null */)
4747
{
4848
$this->currentRequest = $this->requestStack && $this->requestStack->getMasterRequest() !== $request ? $request : null;
4949
$this->data = [

DataCollector/ExceptionDataCollector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class ExceptionDataCollector extends DataCollector
2929
*
3030
* @param \Throwable|null $exception
3131
*/
32-
public function collect(Request $request, Response $response/*, \Throwable $exception = null*/)
32+
public function collect(Request $request, Response $response/* , \Throwable $exception = null */)
3333
{
3434
$exception = 2 < \func_num_args() ? func_get_arg(2) : null;
3535

DataCollector/LoggerDataCollector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public function __construct($logger = null, string $containerPathPrefix = null,
4444
*
4545
* @param \Throwable|null $exception
4646
*/
47-
public function collect(Request $request, Response $response/*, \Throwable $exception = null*/)
47+
public function collect(Request $request, Response $response/* , \Throwable $exception = null */)
4848
{
4949
$this->currentRequest = $this->requestStack && $this->requestStack->getMasterRequest() !== $request ? $request : null;
5050
}

DataCollector/MemoryDataCollector.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public function __construct()
3333
*
3434
* @param \Throwable|null $exception
3535
*/
36-
public function collect(Request $request, Response $response/*, \Throwable $exception = null*/)
36+
public function collect(Request $request, Response $response/* , \Throwable $exception = null */)
3737
{
3838
$this->updateMemoryUsage();
3939
}
@@ -114,8 +114,11 @@ private function convertToBytes(string $memoryLimit)
114114

115115
switch (substr($memoryLimit, -1)) {
116116
case 't': $max *= 1024;
117+
// no break
117118
case 'g': $max *= 1024;
119+
// no break
118120
case 'm': $max *= 1024;
121+
// no break
119122
case 'k': $max *= 1024;
120123
}
121124

DataCollector/RequestDataCollector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public function __construct()
3939
*
4040
* @param \Throwable|null $exception
4141
*/
42-
public function collect(Request $request, Response $response/*, \Throwable $exception = null*/)
42+
public function collect(Request $request, Response $response/* , \Throwable $exception = null */)
4343
{
4444
// attributes are serialized and as they can be anything, they need to be converted to strings.
4545
$attributes = [];

0 commit comments

Comments
 (0)