Browse Source

fixed coding standards (sorry folks)

Christoph 13 years ago
parent
commit
c373797138
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/Packagist/WebBundle/Tests/Controller/ApiControllerTest.php

+ 3 - 3
src/Packagist/WebBundle/Tests/Controller/ApiControllerTest.php

@@ -71,13 +71,13 @@ class ApiControllerTest extends WebTestCase
 
 
         if (!$expectedOK) {
         if (!$expectedOK) {
             $this->assertEquals(406, $status, 'POST method should return 406 "Not Acceptable" if an unknown URL was sent');
             $this->assertEquals(406, $status, 'POST method should return 406 "Not Acceptable" if an unknown URL was sent');
-        }
-        else {
+        } else {
             $this->assertEquals(403, $status, 'POST method should return 403 "Forbidden" for a valid URL with bad credentials.');
             $this->assertEquals(403, $status, 'POST method should return 403 "Forbidden" for a valid URL with bad credentials.');
         }
         }
     }
     }
 
 
-    public function urlProvider() {
+    public function urlProvider()
+    {
         return array(
         return array(
             // valid github URLs
             // valid github URLs
             array('github', 'github.com/user/repo', true),
             array('github', 'github.com/user/repo', true),