Skip to content

Commit d880c36

Browse files
committed
CS: Convert double quotes to single quotes
1 parent b9e1603 commit d880c36

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Tests/Functional/SecurityRoutingIntegrationTest.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ public function testRoutingErrorIsNotExposedForProtectedResourceWhenLoggedInWith
6969
*/
7070
public function testSecurityConfigurationForSingleIPAddress($config)
7171
{
72-
$allowedClient = $this->createClient(array('test_case' => 'StandardFormLogin', 'root_config' => $config), array("REMOTE_ADDR" => "10.10.10.10"));
73-
$barredClient = $this->createClient(array('test_case' => 'StandardFormLogin', 'root_config' => $config), array("REMOTE_ADDR" => "10.10.20.10"));
72+
$allowedClient = $this->createClient(array('test_case' => 'StandardFormLogin', 'root_config' => $config), array('REMOTE_ADDR' => '10.10.10.10'));
73+
$barredClient = $this->createClient(array('test_case' => 'StandardFormLogin', 'root_config' => $config), array('REMOTE_ADDR' => '10.10.20.10'));
7474

7575
$this->assertAllowed($allowedClient, '/secured-by-one-ip');
7676
$this->assertRestricted($barredClient, '/secured-by-one-ip');
@@ -82,9 +82,9 @@ public function testSecurityConfigurationForSingleIPAddress($config)
8282
*/
8383
public function testSecurityConfigurationForMultipleIPAddresses($config)
8484
{
85-
$allowedClientA = $this->createClient(array('test_case' => 'StandardFormLogin', 'root_config' => $config), array("REMOTE_ADDR" => "1.1.1.1"));
86-
$allowedClientB = $this->createClient(array('test_case' => 'StandardFormLogin', 'root_config' => $config), array("REMOTE_ADDR" => "2.2.2.2"));
87-
$barredClient = $this->createClient(array('test_case' => 'StandardFormLogin', 'root_config' => $config), array("REMOTE_ADDR" => "192.168.1.1"));
85+
$allowedClientA = $this->createClient(array('test_case' => 'StandardFormLogin', 'root_config' => $config), array('REMOTE_ADDR' => '1.1.1.1'));
86+
$allowedClientB = $this->createClient(array('test_case' => 'StandardFormLogin', 'root_config' => $config), array('REMOTE_ADDR' => '2.2.2.2'));
87+
$barredClient = $this->createClient(array('test_case' => 'StandardFormLogin', 'root_config' => $config), array('REMOTE_ADDR' => '192.168.1.1'));
8888

8989
$this->assertAllowed($allowedClientA, '/secured-by-two-ips');
9090
$this->assertAllowed($allowedClientB, '/secured-by-two-ips');

0 commit comments

Comments
 (0)