Completed
Pull Request — master (#146)
by
unknown
14:44
created
src/UserBundle/Tests/Controller/AppControllerTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
         $firewall = 'overwatch';
47 47
         
48 48
         $token = new UsernamePasswordToken('testUser', null, $firewall, [$role]);
49
-        $session->set('_security_' . $firewall, serialize($token));
49
+        $session->set('_security_'.$firewall, serialize($token));
50 50
         $session->save();
51 51
         $cookie = new Cookie($session->getName(), $session->getId());
52 52
         $this->client->getCookieJar()->set($cookie);
Please login to merge, or discard this patch.
src/UserBundle/Tests/Security/ApiAuthenticatorTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -177,7 +177,7 @@
 block discarded – undo
177 177
         $timestamp = time();
178 178
         $apiToken = hash_hmac(
179 179
             'sha256',
180
-            'timestamp=' . $timestamp,
180
+            'timestamp='.$timestamp,
181 181
             $this->user->getApiKey()
182 182
         );
183 183
         
Please login to merge, or discard this patch.
src/UserBundle/Tests/Base/WebDriverTestCase.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -85,9 +85,9 @@
 block discarded – undo
85 85
     {
86 86
         if ($this->webDriver !== null) {
87 87
             if (in_array($this->getStatus(), [\PHPUnit_Runner_BaseTestRunner::STATUS_FAILURE, \PHPUnit_Runner_BaseTestRunner::STATUS_ERROR])) {
88
-                echo PHP_EOL . PHP_EOL . PHP_EOL;
89
-                echo 'data:image/png;base64,' . base64_encode($this->webDriver->takeScreenshot());
90
-                echo PHP_EOL . PHP_EOL . PHP_EOL;
88
+                echo PHP_EOL.PHP_EOL.PHP_EOL;
89
+                echo 'data:image/png;base64,'.base64_encode($this->webDriver->takeScreenshot());
90
+                echo PHP_EOL.PHP_EOL.PHP_EOL;
91 91
             }
92 92
         }
93 93
         
Please login to merge, or discard this patch.
src/UserBundle/Tests/E2E/AppNavigationTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
     public function testFirstBreadcrumbLinksHome()
47 47
     {
48 48
         foreach ($this->pages as $page) {
49
-            $this->webDriver->get('http://127.0.0.1:8000/' . $page);
49
+            $this->webDriver->get('http://127.0.0.1:8000/'.$page);
50 50
             $this->waitForLoadingAnimation();
51 51
             
52 52
             $this->assertEquals('Overwatch', $this->getBreadcrumbs()[0]->getText(), "The breadcrumb text on $page does not equal 'Overwatch'");
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
     public function testCountBreadcrumbs()
64 64
     {
65 65
         foreach ($this->pages as $page) {
66
-            $this->webDriver->get('http://127.0.0.1:8000/' . $page);
66
+            $this->webDriver->get('http://127.0.0.1:8000/'.$page);
67 67
             $this->waitForLoadingAnimation();
68 68
             
69 69
             $this->assertEquals(2, count($this->getBreadcrumbs()), "Breadcrumb count on $page does not equal 2");
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
     public function testLastBreadcrumbMatchesPageTitle()
74 74
     {
75 75
         foreach ($this->pages as $page) {
76
-            $this->webDriver->get('http://127.0.0.1:8000/' . $page);
76
+            $this->webDriver->get('http://127.0.0.1:8000/'.$page);
77 77
             $this->waitForLoadingAnimation();
78 78
             
79 79
             $breadcrumbs = $this->getBreadcrumbs();
Please login to merge, or discard this patch.
src/UserBundle/Tests/E2E/ManageUsersTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -132,7 +132,7 @@
 block discarded – undo
132 132
     private function getUsers($suffix = '')
133 133
     {
134 134
         return $this->webDriver->findElements(
135
-            WebDriverBy::cssSelector('.users li.ng-scope' . $suffix)
135
+            WebDriverBy::cssSelector('.users li.ng-scope'.$suffix)
136 136
         );
137 137
     }
138 138
     
Please login to merge, or discard this patch.
src/ServiceBundle/Reporter/EmailReporter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
     private function sendEmail(TestResult $result, array $users)
40 40
     {
41 41
         $message = \Swift_Message::newInstance()
42
-            ->setSubject($result->getTest()->getName() . ' ' . $result->getStatus())
42
+            ->setSubject($result->getTest()->getName().' '.$result->getStatus())
43 43
             ->setFrom($this->config['report_from'])
44 44
             ->setTo($users)
45 45
             ->setBody(
Please login to merge, or discard this patch.
src/ServiceBundle/DependencyInjection/OverwatchServiceExtension.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -22,10 +22,10 @@
 block discarded – undo
22 22
         $configuration = $this->processConfiguration(new Configuration(), $configs);
23 23
         
24 24
         foreach ($configuration as $service => $config) {
25
-            $container->setParameter('overwatch_service.' . $service, $config);
25
+            $container->setParameter('overwatch_service.'.$service, $config);
26 26
         }
27 27
         
28
-        $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config'));
28
+        $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
29 29
         $loader->load('services.yml');
30 30
     }
31 31
 }
Please login to merge, or discard this patch.
src/ServiceBundle/Tests/Reporter/EmailReporterTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
         
41 41
         $message = $this->mailerSpy->getInvocations()[0]->parameters[0];
42 42
         $this->assertEquals(
43
-            $result->getTest()->getName() . ' ' . $result->getStatus(),
43
+            $result->getTest()->getName().' '.$result->getStatus(),
44 44
             $message->getSubject()
45 45
         );
46 46
         
Please login to merge, or discard this patch.
src/ServiceBundle/Tests/Reporter/SmsReporterTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
         
53 53
         $message = $this->messageSpy->getInvocations()[0]->parameters[2];
54 54
         $this->assertEquals(
55
-            $result->getTest()->getName() . ' ' . $result->getStatus() . ': Me gusta success kid upvoting Obama first world problems.' . PHP_EOL,
55
+            $result->getTest()->getName().' '.$result->getStatus().': Me gusta success kid upvoting Obama first world problems.'.PHP_EOL,
56 56
             $message
57 57
         );
58 58
         
Please login to merge, or discard this patch.