8000 Fix CS · symfony/symfony@2c04fad · GitHub
[go: up one dir, main page]

Skip to content

Commit 2c04fad

Browse files
committed
Fix CS
1 parent d5ca9ec commit 2c04fad

File tree

5 files changed

+3
-8
lines changed

5 files changed

+3
-8
lines changed

src/Symfony/Component/Form/Tests/ResolvedFormTypeTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313

1414
use PHPUnit\Framework\MockObject\MockObject;
1515
use PHPUnit\Framework\TestCase;
16-
use Symfony\Component\Form\Extension\Core\Type\HiddenType;
1716
use Symfony\Component\Form\Form;
1817
use Symfony\Component\Form\FormConfigInterface;
1918
use Symfony\Component\Form\FormTypeExtensionInterface;

src/Symfony/Component/HttpKernel/EventListener/ExceptionListener.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
1717
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
1818
use Symfony\Component\HttpFoundation\Request;
19-
use Symfony\Component\HttpFoundation\Response;
2019
use Symfony\Component\HttpKernel\Event\GetResponseForExceptionEvent;
2120
use Symfony\Component\HttpKernel\Exception\HttpExceptionInterface;
2221
use Symfony\Component\HttpKernel\HttpKernelInterface;

src/Symfony/Component/HttpKernel/EventListener/LocaleAwareListener.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
namespace Symfony\Component\HttpKernel\EventListener;
1313

1414
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
15-
use Symfony\Component\HttpFoundation\Request;
1615
use Symfony\Component\HttpFoundation\RequestStack;
1716
use Symfony\Component\HttpKernel\Event\FinishRequestEvent;
1817
use Symfony\Component\HttpKernel\Event\RequestEvent;

src/Symfony/Component/HttpKernel/Tests/KernelTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -651,8 +651,6 @@ protected function getBundle($dir = null, $parent = null, $className = null, $bu
651651
*
652652
* @param array $methods Additional methods to mock (besides the abstract ones)
653653
* @param array $bundles Bundles to register
654-
*
655-
* @return Kernel
656654
*/
657655
protected function getKernel(array $methods = [], array $bundles = [], bool $debug = false): Kernel
658656
{

src/Symfony/Component/VarExporter/Internal/Exporter.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -222,14 +222,14 @@ public static function export($value, $indent = '')
222222
));
223223

224224
if ("'" === $m[2]) {
225-
return substr($m[1], 0, -2);
225+
return substr($m[1], 0, -2);
226226
}
227227

228228
if ('n".\'' === substr($m[1], -4)) {
229-
return substr_replace($m[1], "\n".$subIndent.".'".$m[2], -2);
229+
return substr_replace($m[1], "\n".$subIndent.".'".$m[2], -2);
230230
}
231231

232-
return $m[1].$m[2];
232+
return $m[1].$m[2];
233233
}, $code, -1, $count);
234234

235235
if ($count && 0 === strpos($code, "''.")) {

0 commit comments

Comments
 (0)
0