8000 fixed CS · lsmith77/symfony@51ecb3c · GitHub
[go: up one dir, main page]

Skip to content

Commit 51ecb3c

Browse files
committed
fixed CS
1 parent 706020b commit 51ecb3c

File tree

6 files changed

+5
-10
lines changed

6 files changed

+5
-10
lines changed

src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -555,7 +555,7 @@ private function registerValidationConfiguration(array $config, ContainerBuilder
555555
private function getValidatorXmlMappingFiles(ContainerBuilder $container)
556556
{
557557
$reflClass = new \ReflectionClass('Symfony\Component\Form\FormInterface');
558-
$files = array(dirname($reflClass->getFileName()) . '/Resources/config/validation.xml');
558+
$files = array(dirname($reflClass->getFileName()).'/Resources/config/validation.xml');
559559
$container->addResource(new FileResource($files[0]));
560560

561561
foreach ($container->getParameter('kernel.bundles') as $bundle) {

src/Symfony/Bundle/FrameworkBundle/Resources/views/Form/datetime_widget.html.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
<?php echo $view['form']->renderBlock('field_widget'); ?>
33
<?php else: ?>
44
<div <?php echo $view['form']->renderBlock('container_attributes') ?>>
5-
<?php echo $view['form']->widget($form['date'])
6-
. ' '
7-
. $view['form']->widget($form['time']) ?>
5+
<?php echo $view['form']->widget($form['date']).' '.$view['form']->widget($form['time']) ?>
86
</div>
97
<?php endif ?>

src/Symfony/Bundle/FrameworkBundle/Tests/Functional/Bundle/TestBundle/Controller/SessionController.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,8 @@
1111

1212
namespace Symfony\Bundle\FrameworkBundle\Tests\Functional\Bundle\TestBundle\Controller;
1313

14-
use Symfony\Component\Security\Core\Exception\AccessDeniedException;
1514
use Symfony\Component\HttpFoundation\Response;
1615
use Symfony\Component\HttpFoundation\RedirectResponse;
17-
use Symfony\Component\Security\Core\SecurityContext;
1816
use Symfony\Component\DependencyInjection\ContainerAware;
1917

2018
class SessionController extends ContainerAware

src/Symfony/Component/Security/Http/Firewall/ExceptionListener.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ private function startAuthentication(Request $request, AuthenticationException $
163163
if ($authException instanceof AccountStatusException && ($token = $this->context->getToken()) instanceof UsernamePasswordToken) {
164164
// remove the security token to prevent infinite redirect loops
165165
$this->context->setToken(null);
166-
$request->getSession()->remove('_security_' . $token->getProviderKey());
166+
$request->getSession()->remove('_security_'.$token->getProviderKey());
167167
}
168168

169169
return $this->authenticationEntryPoint->start($request, $authException);

src/Symfony/Component/Templating/PhpEngine.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,11 +150,11 @@ public function supports($name)
150150
protected function evaluate(Storage $template, array $parameters = array())
151151
{
152152
$__template__ = $template;
153-
153+
154154
if (isset($parameters['__template__'])) {
155155
throw new \InvalidArgumentException('Invalid parameter (__template__)');
156156
}
157-
157+
158158
if ($__template__ instanceof FileStorage) {
159159
extract($parameters, EXTR_SKIP);
160160
$view = $this;

tests/Symfony/Tests/Component/Validator/Constraints/CollectionValidatorTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
use Symfony\Component\Validator\ExecutionContext;
1515
use Symfony\Component\Validator\Constraints\Min;
1616
use Symfony\Component\Validator\Constraints\NotBlank;
17-
use Symfony\Component\Validator\Constraints\NotNull;
1817
use Symfony\Component\Validator\Constraints\Collection;
1918
use Symfony\Component\Validator\Constraints\CollectionValidator;
2019

0 commit comments

Comments
 (0)
0