Completed
Push — master ( 518921...f0ef16 )
by Sam
03:45
created
src/AppBundle/Controller/ArticleInfoController.php 2 patches
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -380,7 +380,6 @@
 block discarded – undo
380 380
 
381 381
     /**
382 382
      * Get the size of the diff
383
-     * @param  int $rev The index of the revision within $this->pageHistory
384 383
      * @return int Size of the diff
385 384
      */
386 385
     private function getDiffSize($revIndex)
Please login to merge, or discard this patch.
Unused Use Statements   -5 removed lines patch added patch discarded remove patch
@@ -2,15 +2,10 @@
 block discarded – undo
2 2
 
3 3
 namespace AppBundle\Controller;
4 4
 
5
-use DateTime;
6 5
 use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
7 6
 use Symfony\Bundle\FrameworkBundle\Controller\Controller;
8 7
 use Symfony\Component\HttpFoundation\Request;
9
-use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
10 8
 use Symfony\Component\DependencyInjection\ContainerInterface;
11
-use AppBundle\Helper\Apihelper;
12
-use AppBundle\Helper\PageviewsHelper;
13
-use AppBundle\Helper\AutomatedEditsHelper;
14 9
 use Xtools\ProjectRepository;
15 10
 use Xtools\Page;
16 11
 use Xtools\PagesRepository;
Please login to merge, or discard this patch.
src/AppBundle/Controller/QuoteController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use Symfony\Bundle\FrameworkBundle\Controller\Controller;
6 6
 use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
7
-use Symfony\Component\Debug\Exception\ContextErrorException;
8 7
 use Symfony\Component\Routing\Exception\InvalidParameterException;
9 8
 use Symfony\Component\HttpFoundation\Request;
10 9
 
Please login to merge, or discard this patch.
src/AppBundle/Helper/ApiHelper.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -177,7 +177,7 @@
 block discarded – undo
177 177
      * Get a list of namespaces on the given project.
178 178
      *
179 179
      * @param string    $project such as en.wikipedia.org
180
-     * @return string[] Array of namespace IDs (keys) to names (values).
180
+     * @return string Array of namespace IDs (keys) to names (values).
181 181
      */
182 182
     public function namespaces($project)
183 183
     {
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -2,13 +2,11 @@
 block discarded – undo
2 2
 
3 3
 namespace AppBundle\Helper;
4 4
 
5
-use DateInterval;
6 5
 use Mediawiki\Api\MediawikiApi;
7 6
 use Mediawiki\Api\SimpleRequest;
8 7
 use Mediawiki\Api\FluentRequest;
9 8
 use Psr\Cache\CacheItemPoolInterface;
10 9
 use Symfony\Component\Config\Definition\Exception\Exception;
11
-use Symfony\Component\Debug\Exception\FatalErrorException;
12 10
 use Symfony\Component\DependencyInjection\ContainerInterface;
13 11
 use Xtools\ProjectRepository;
14 12
 
Please login to merge, or discard this patch.
src/AppBundle/Controller/TopEditsController.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -96,7 +96,7 @@
 block discarded – undo
96 96
      * List top edits by this user for all pages in a particular namespace.
97 97
      * @param User $user The User.
98 98
      * @param Project $project The project.
99
-     * @param integer|string $namespaceId The namespace ID or 'all'
99
+     * @param integer $namespaceId The namespace ID or 'all'
100 100
      * @return \Symfony\Component\HttpFoundation\Response
101 101
      */
102 102
     protected function namespaceTopEdits(User $user, Project $project, $namespaceId)
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,6 @@
 block discarded – undo
7 7
 use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
8 8
 use Symfony\Bundle\FrameworkBundle\Controller\Controller;
9 9
 use Symfony\Component\HttpFoundation\Request;
10
-use Symfony\Component\VarDumper\VarDumper;
11 10
 use Xtools\Page;
12 11
 use Xtools\PagesRepository;
13 12
 use Xtools\Project;
Please login to merge, or discard this patch.
src/AppBundle/Helper/AutomatedEditsHelper.php 1 patch
Unused Use Statements   -5 removed lines patch added patch discarded remove patch
@@ -3,12 +3,7 @@
 block discarded – undo
3 3
 namespace AppBundle\Helper;
4 4
 
5 5
 use DateTime;
6
-use Doctrine\DBAL\Connection;
7
-use Psr\Cache\CacheItemPoolInterface;
8
-use Symfony\Component\Config\Definition\Exception\Exception;
9
-use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
10 6
 use Symfony\Component\DependencyInjection\ContainerInterface;
11
-use Symfony\Component\VarDumper\VarDumper;
12 7
 use Xtools\ProjectRepository;
13 8
 
14 9
 class AutomatedEditsHelper extends HelperBase
Please login to merge, or discard this patch.
src/AppBundle/Controller/AdminScoreController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
 use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
6 6
 use Symfony\Bundle\FrameworkBundle\Controller\Controller;
7 7
 use Symfony\Component\HttpFoundation\Request;
8
-use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
9 8
 use DateTime;
10 9
 use Xtools\ProjectRepository;
11 10
 
Please login to merge, or discard this patch.
src/AppBundle/Controller/PagesController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@
 block discarded – undo
6 6
 use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
7 7
 use Symfony\Bundle\FrameworkBundle\Controller\Controller;
8 8
 use Symfony\Component\HttpFoundation\Request;
9
-use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
10 9
 use Xtools\ProjectRepository;
11 10
 
12 11
 class PagesController extends Controller
Please login to merge, or discard this patch.
src/AppBundle/Helper/LabsHelper.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -2,10 +2,8 @@
 block discarded – undo
2 2
 
3 3
 namespace AppBundle\Helper;
4 4
 
5
-use Symfony\Component\Config\Definition\Exception\Exception;
6 5
 use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
7 6
 use Symfony\Component\DependencyInjection\ContainerInterface;
8
-use Symfony\Component\VarDumper\VarDumper;
9 7
 
10 8
 class LabsHelper
11 9
 {
Please login to merge, or discard this patch.
src/Xtools/Project.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace Xtools;
4 4
 
5 5
 use Mediawiki\Api\MediawikiApi;
6
-use Symfony\Component\VarDumper\VarDumper;
7 6
 
8 7
 /**
9 8
  * A Project is a single wiki that Xtools is querying.
Please login to merge, or discard this patch.