Completed
Push — master ( c3eba2...34879d )
by amaury
05:12 queued 01:44
created
Tests/Functional/GroupBundle/Repository/GroupRepositoryTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -138,7 +138,7 @@
 block discarded – undo
138 138
     /**
139 139
      * @return array
140 140
      */
141
-    public function provideColumnsAndSearchAndCount(){
141
+    public function provideColumnsAndSearchAndCount() {
142 142
 
143 143
         $configuration = new PaginateFinderConfiguration();
144 144
         $configuration->setPaginateConfiguration(null, 0, 100, array('label' => 'labels'));
Please login to merge, or discard this patch.
Tests/Functional/UserAdminBundle/Controller/ApiControllersTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
      */
20 20
     public function testApi($url, $method = 'GET')
21 21
     {
22
-        $this->client->request($method, $url . '?access_token=' . $this->getAccessToken());
22
+        $this->client->request($method, $url.'?access_token='.$this->getAccessToken());
23 23
 
24 24
         $this->assertEquals(200, $this->client->getResponse()->getStatusCode());
25 25
         $this->assertSame('application/json', $this->client->getResponse()->headers->get('content-type'));
Please login to merge, or discard this patch.
Tests/Functional/UserAdminBundle/Controller/FormControllersSecurityTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
     public function testEditForm()
30 30
     {
31 31
         $user = $this->client->getContainer()->get('open_orchestra_user.repository.user')->findOneByUsername('p-admin');
32
-        $this->client->request('GET', '/admin/user/form/' . $user->getId());
32
+        $this->client->request('GET', '/admin/user/form/'.$user->getId());
33 33
         $this->assertEquals(403, $this->client->getResponse()->getStatusCode());
34 34
     }
35 35
 }
Please login to merge, or discard this patch.
Tests/Functional/UserAdminBundle/Controller/ApiControllersSecurityTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
      */
23 23
     public function testApi($url, $method = 'GET')
24 24
     {
25
-        $this->client->request($method, $url . '?access_token=' . $this->getAccessToken());
25
+        $this->client->request($method, $url.'?access_token='.$this->getAccessToken());
26 26
 
27 27
         $this->assertEquals(403, $this->client->getResponse()->getStatusCode());
28 28
     }
Please login to merge, or discard this patch.
Tests/Functional/WorkflowAdminBundle/Controller/ApiControllersTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
      */
20 20
     public function testApi($url, $method = 'GET')
21 21
     {
22
-        $this->client->request($method, $url . '?access_token=' . $this->getAccessToken());
22
+        $this->client->request($method, $url.'?access_token='.$this->getAccessToken());
23 23
 
24 24
         $this->assertEquals(200, $this->client->getResponse()->getStatusCode());
25 25
         $this->assertSame('application/json', $this->client->getResponse()->headers->get('content-type'));
Please login to merge, or discard this patch.
Tests/Functional/WorkflowAdminBundle/Controller/StatusControllerTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
     {
32 32
         $status = $this->statusRepository->findOneByInitial();
33 33
 
34
-        $this->client->request('DELETE', '/api/status/' . $status->getId() . '/delete');
34
+        $this->client->request('DELETE', '/api/status/'.$status->getId().'/delete');
35 35
 
36 36
         $this->assertSame(403, $this->client->getResponse()->getStatusCode());
37 37
         $this->assertContains('open_orchestra_workflow_admin.status.delete.impossible', $this->client->getResponse()->getContent());
Please login to merge, or discard this patch.
Tests/Functional/ModelLogBundle/Repository/LogRepositoryTest.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -56,16 +56,16 @@
 block discarded – undo
56 56
             'user_name' => 'extra.user_name',
57 57
             'message'   => 'message'
58 58
         );
59
-        $conf1 = PaginateFinderConfiguration::generateFromVariable(null , null, null, $mapping, array(
59
+        $conf1 = PaginateFinderConfiguration::generateFromVariable(null, null, null, $mapping, array(
60 60
             'site_id' => 'fixture'
61 61
         ));
62
-        $conf2 = PaginateFinderConfiguration::generateFromVariable(null , null, null, $mapping, array(
62
+        $conf2 = PaginateFinderConfiguration::generateFromVariable(null, null, null, $mapping, array(
63 63
             'site_id' => 'fixture', 'date' => '2016/02/10', 'date-format' => 'yy/mm/dd'
64 64
         ));
65
-        $conf3 = PaginateFinderConfiguration::generateFromVariable(null , null, null, $mapping, array(
65
+        $conf3 = PaginateFinderConfiguration::generateFromVariable(null, null, null, $mapping, array(
66 66
             'site_id' => 'fixture', 'user_ip' => '5'
67 67
         ));
68
-        $conf4 = PaginateFinderConfiguration::generateFromVariable(null , null, null, $mapping, array(
68
+        $conf4 = PaginateFinderConfiguration::generateFromVariable(null, null, null, $mapping, array(
69 69
             'site_id' => 'fixture', 'user_name' => 'developer'
70 70
         ));
71 71
 
Please login to merge, or discard this patch.
OpenOrchestra/Tests/Functional/LogBundle/Controller/ApiControllersTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
      */
19 19
     public function testApi($url)
20 20
     {
21
-        $this->client->request('GET', $url . '?access_token=' . $this->getAccessToken());
21
+        $this->client->request('GET', $url.'?access_token='.$this->getAccessToken());
22 22
 
23 23
         $this->assertEquals(200, $this->client->getResponse()->getStatusCode());
24 24
         $this->assertSame('application/json', $this->client->getResponse()->headers->get('content-type'));
Please login to merge, or discard this patch.
Tests/Functional/BaseApiBundle/Controller/AuthorizationControllersTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
         $tokenReponse = json_decode($this->client->getResponse()->getContent(), true);
37 37
         $refreshToken = $tokenReponse['refresh_token'];
38 38
 
39
-        $this->client->request('GET', '/oauth/access_token?grant_type=refresh_token&refresh_token=' . $refreshToken, array(), array(), array('PHP_AUTH_USER' => 'test_key', 'PHP_AUTH_PW' => 'test_secret'));
39
+        $this->client->request('GET', '/oauth/access_token?grant_type=refresh_token&refresh_token='.$refreshToken, array(), array(), array('PHP_AUTH_USER' => 'test_key', 'PHP_AUTH_PW' => 'test_secret'));
40 40
         $this->assertEquals(200, $this->client->getResponse()->getStatusCode());
41 41
         $this->assertSame('application/json', $this->client->getResponse()->headers->get('content-type'));
42 42
     }
Please login to merge, or discard this patch.