Completed
Pull Request — master (#26)
by Sam
04:23 queued 01:44
created
src/AppBundle/Controller/TopEditsController.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -98,7 +98,6 @@
 block discarded – undo
98 98
 
99 99
     /**
100 100
      * List top edits by this user for all pages in a particular namespace.
101
-     * @param string $username
102 101
      * @param string $project
103 102
      * @param integer $namespace
104 103
      * @return \Symfony\Component\HttpFoundation\Response
Please login to merge, or discard this patch.
src/Xtools/User.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,6 +61,6 @@
 block discarded – undo
61 61
     public function userRightsUrl(Project $project)
62 62
     {
63 63
         return $project->getUrl() . $project->getScriptPath() . "?title=Special:UserRights&user=" .
64
-               $this->getUsername();
64
+                $this->getUsername();
65 65
     }
66 66
 }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
      */
61 61
     public function userRightsUrl(Project $project)
62 62
     {
63
-        return $project->getUrl() . $project->getScriptPath() . "?title=Special:UserRights&user=" .
63
+        return $project->getUrl().$project->getScriptPath()."?title=Special:UserRights&user=".
64 64
                $this->getUsername();
65 65
     }
66 66
 }
Please login to merge, or discard this patch.
src/Xtools/ProjectRepository.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@  discard block
 block discarded – undo
11 11
     public function getAll()
12 12
     {
13 13
         $wikiQuery = $this->metaConnection->createQueryBuilder();
14
-        $wikiQuery->select([ 'dbname', 'name', 'url' ])->from('wiki');
14
+        $wikiQuery->select(['dbname', 'name', 'url'])->from('wiki');
15 15
         return $wikiQuery->execute()->fetchAll();
16 16
     }
17 17
 
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
     {
25 25
         $wikiQuery = $this->metaConnection->createQueryBuilder();
26 26
         $wikiQuery
27
-            ->select([ 'dbname', 'name', 'url' ])
27
+            ->select(['dbname', 'name', 'url'])
28 28
             ->from('wiki')
29 29
             ->where($wikiQuery->expr()->eq('dbname', ':project'))
30 30
             // The meta database will have the project's URL stored as https://en.wikipedia.org
Please login to merge, or discard this patch.