瀏覽代碼

fixed coding standards (sorry folks)

Christoph 13 年之前
父節點
當前提交
c373797138
共有 1 個文件被更改,包括 3 次插入3 次删除
  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) {
             $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.');
         }
     }
 
-    public function urlProvider() {
+    public function urlProvider()
+    {
         return array(
             // valid github URLs
             array('github', 'github.com/user/repo', true),