8000 fixed CS · symfony/symfony@8072eed · GitHub
[go: up one dir, main page]

Skip to content

Commit 8072eed

Browse files
committed
fixed CS
1 parent 07d2570 commit 8072eed

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Symfony/Bridge/Monolog/Handler/FingersCrossed/NotFoundActivationStrategy.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public function isHandlerActivated(array $record)
4242
$isActivated
4343
&& isset($record['context']['exception'])
4444
&& $record['context']['exception'] instanceof HttpException
45-
&& $record['context']['exception']->getStatusCode() == 404
45+
&& 404 == $record['context']['exception']->getStatusCode()
4646
&& ($request = $this->requestStack->getMasterRequest())
4747
) {
4848
return !preg_match($this->blacklist, $request->getPathInfo());

src/Symfony/Component/Finder/Shell/Command.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ public function top($bit)
100100
array_unshift($this->bits, $bit);
101101

102102
foreach ($this->labels as $label => $index) {
103-
$this->labels[$label] += 1;
103+
++$this->labels[$label];
104104
}
105105

106106
return $this;

0 commit comments

Comments
 (0)
0