Skip to content

Commit 8700cd6

Browse files
committed
fixed CS
1 parent 422522b commit 8700cd6

File tree

14 files changed

+26
-28
lines changed

14 files changed

+26
-28
lines changed

src/Symfony/Bridge/Monolog/Processor/WebProcessor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
*/
2222
class WebProcessor extends BaseWebProcessor
2323
{
24-
public function __construct(RequestInterface $request)
24+
public function __construct(RequestInterface $request)
2525
{
2626
parent::__construct($request->server->all());
2727
}

src/Symfony/Bundle/SecurityBundle/Tests/Functional/AuthenticationCommencingTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ public function testAuthenticationIsCommencingIfAccessDeniedExceptionIsWrapped()
1212
$client->request('GET', '/secure-but-not-covered-by-access-control');
1313
$this->assertRedirect($client->getResponse(), '/login');
1414
}
15-
}
15+
}

src/Symfony/Bundle/SecurityBundle/Tests/Functional/Bundle/FormLoginBundle/Controller/LocalizedController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,4 @@ public function homepageAction()
4848
{
4949
return new Response('Homepage');
5050
}
51-
}
51+
}

src/Symfony/Bundle/SecurityBundle/Tests/Functional/Bundle/FormLoginBundle/Resources/config/localized_routing.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ localized_check_path:
77
pattern: /{_locale}/login_check
88
defaults: { _controller: FormLoginBundle:Localized:loginCheck }
99
requirements: { _locale: "^[a-z]{2}$" }
10-
10+
1111
localized_default_target_path:
1212
pattern: /{_locale}/profile
1313
defaults: { _controller: FormLoginBundle:Localized:profile }
@@ -17,14 +17,13 @@ localized_logout_path:
1717
pattern: /{_locale}/logout
1818
defaults: { _controller: FormLoginBundle:Localized:logout }
1919
requirements: { _locale: "^[a-z]{2}$" }
20-
20+
2121
localized_logout_target_path:
2222
pattern: /{_locale}/
2323
defaults: { _controller: FormLoginBundle:Localized:homepage }
2424
requirements: { _locale: "^[a-z]{2}$" }
25-
25+
2626
localized_secure_path:
2727
pattern: /{_locale}/secure/
2828
defaults: { _controller: FormLoginBundle:Localized:secure }
2929
requirements: { _locale: "^[a-z]{2}$" }
30-

src/Symfony/Bundle/SecurityBundle/Tests/Functional/Bundle/FormLoginBundle/Resources/config/routing.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,4 @@ form_logout:
2727

2828
form_secure_action:
2929
pattern: /secure-but-not-covered-by-access-control
30-
defaults: { _controller: FormLoginBundle:Login:secure }
30+
defaults: { _controller: FormLoginBundle:Login:secure }

src/Symfony/Bundle/SecurityBundle/Tests/Functional/LocalizedRoutesAsPathTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,4 +68,4 @@ protected function tearDown()
6868

6969
$this->deleteTmpDir('StandardFormLogin');
7070
}
71-
}
71+
}
Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
imports:
22
- { resource: ./../config/default.yml }
3-
3+
44
security:
55
encoders:
66
Symfony\Component\Security\Core\User\User: plaintext
@@ -9,7 +9,7 @@ security:
99
in_memory:
1010
users:
1111
johannes: { password: test, roles: [ROLE_USER] }
12-
12+
1313
firewalls:
1414
default:
1515
form_login:
@@ -20,7 +20,6 @@ security:
2020
path: localized_logout_path
2121
target: localized_logout_target_path
2222
anonymous: ~
23-
23+
2424
access_control:
25-
- { path: '^/(?:[a-z]{2})/secure/.*', roles: ROLE_USER }
26-
25+
- { path: '^/(?:[a-z]{2})/secure/.*', roles: ROLE_USER }

src/Symfony/Bundle/SecurityBundle/Tests/Functional/app/StandardFormLogin/localized_routes_with_forward.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
imports:
22
- { resource: ./localized_routes.yml }
3-
3+
44
security:
5-
firewalls:
5+
firewalls:
66
default:
77
form_login:
88
use_forward: true
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
imports:
22
- { resource: ./config.yml }
3-
3+
44
security:
5-
firewalls:
5+
firewalls:
66
default:
77
form_login:
88
login_path: form_login
99
check_path: form_login_check
1010
default_target_path: form_login_default_target_path
1111
logout:
1212
path: form_logout
13-
target: form_login_homepage
13+
target: form_login_homepage

src/Symfony/Bundle/SecurityBundle/Tests/Functional/app/StandardFormLogin/routing.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ _form_login_bundle:
22
resource: @FormLoginBundle/Resources/config/routing.yml
33

44
_form_login_localized:
5-
resource: @FormLoginBundle/Resources/config/localized_routing.yml
5+
resource: @FormLoginBundle/Resources/config/localized_routing.yml

src/Symfony/Component/HttpFoundation/Request.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ static public function create($uri, $method = 'GET', $parameters = array(), $coo
212212
$defaults['SERVER_PORT'] = $components['port'];
213213
$defaults['HTTP_HOST'] = $defaults['HTTP_HOST'].':'.$components['port'];
214214
}
215-
215+
216216
if (!isset($components['path'])) {
217217
$components['path'] = '';
218218
}

tests/Symfony/Tests/Component/Form/Extension/Core/DataTransformer/DateTimeToLocalizedStringTransformerTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ public function testTransform_differentTimezones()
132132

133133
$this->assertEquals($dateTime->format('d.m.Y H:i'), $transformer->transform($input));
134134
}
135-
135+
136136
public function testTransform_differentPatterns()
137137
{
138138
$transformer = new DateTimeToLocalizedStringTransformer('UTC', 'UTC', \IntlDateFormatter::FULL, \IntlDateFormatter::FULL, \IntlDateFormatter::GREGORIAN, 'MM*yyyy*dd HH|mm|ss');
@@ -238,7 +238,7 @@ public function testReverseTransform_differentTimezones()
238238

239239
$this->assertDateTimeEquals($dateTime, $transformer->reverseTransform('03.02.2010 04:05', null));
240240
}
241-
241+
242242
public function testReverseTransform_differentPatterns()
243243
{
244244
$transformer = new DateTimeToLocalizedStringTransformer('UTC', 'UTC', \IntlDateFormatter::FULL, \IntlDateFormatter::FULL, \IntlDateFormatter::GREGORIAN, 'MM*yyyy*dd HH|mm|ss');

tests/Symfony/Tests/Component/Form/Extension/Core/Type/DateTypeTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -604,13 +604,13 @@ public function testPassDatePatternToView()
604604

605605
$this->assertSame('{{ day }}.{{ month }}.{{ year }}', $view->get('date_pattern'));
606606
}
607-
607+
608608
public function testPassDatePatternToViewDifferentPattern()
609609
{
610610
$form = $this->factory->create('date', null, array(
611611
'format' => 'MM*yyyy*dd'
612612
));
613-
613+
614614
$view = $form->createView();
615615

616616
$this->assertSame('{{ month }}*{{ year }}*{{ day }}', $view->get('date_pattern'));

tests/Symfony/Tests/Component/HttpFoundation/RequestTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,23 +111,23 @@ public function testCreate()
111111
$request = Request::create('http://example.com/jsonrpc', 'POST', array(), array(), array(), array(), $json);
112112
$this->assertEquals($json, $request->getContent());
113113
$this->assertFalse($request->isSecure());
114-
114+
115115
$request = Request::create('http://test.com');
116116
$this->assertEquals('http://test.com/', $request->getUri());
117117
$this->assertEquals('/', $request->getPathInfo());
118118
$this->assertEquals('', $request->getQueryString());
119119
$this->assertEquals(80, $request->getPort());
120120
$this->assertEquals('test.com', $request->getHttpHost());
121121
$this->assertFalse($request->isSecure());
122-
122+
123123
$request = Request::create('http://test.com:90/?test=1');
124124
$this->assertEquals('http://test.com:90/?test=1', $request->getUri());
125125
$this->assertEquals('/', $request->getPathInfo());
126126
$this->assertEquals('test=1', $request->getQueryString());
127127
$this->assertEquals(90, $request->getPort());
128128
$this->assertEquals('test.com:90', $request->getHttpHost());
129129
$this->assertFalse($request->isSecure());
130-
130+
131131
}
132132

133133
/**

0 commit comments

Comments
 (0)