Completed
Push — 1.8 ( b7094f...f1162e )
by
unknown
83:38 queued 61:44
created
src/Oro/Bundle/NavigationBundle/Form/Handler/PageStateHandler.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -5,9 +5,7 @@
 block discarded – undo
5 5
 use Symfony\Component\Form\FormInterface;
6 6
 use Symfony\Component\HttpFoundation\Request;
7 7
 use Symfony\Component\Security\Core\SecurityContextInterface;
8
-
9 8
 use Doctrine\Common\Persistence\ObjectManager;
10
-
11 9
 use Oro\Bundle\NavigationBundle\Entity\AbstractPageState;
12 10
 
13 11
 class PageStateHandler
Please login to merge, or discard this patch.
src/Oro/Bundle/NavigationBundle/Menu/Matcher/Voter/RoutePatternVoter.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 Oro\Bundle\NavigationBundle\Menu\Matcher\Voter;
4 4
 
5 5
 use Symfony\Component\HttpFoundation\Request;
6
-
7 6
 use Knp\Menu\Matcher\Voter\VoterInterface;
8 7
 use Knp\Menu\ItemInterface;
9 8
 
Please login to merge, or discard this patch.
src/Oro/Bundle/NavigationBundle/Menu/NavigationItemBuilder.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -3,12 +3,9 @@
 block discarded – undo
3 3
 namespace Oro\Bundle\NavigationBundle\Menu;
4 4
 
5 5
 use Knp\Menu\ItemInterface;
6
-
7 6
 use Doctrine\ORM\EntityManager;
8 7
 use Doctrine\Common\Util\ClassUtils;
9
-
10 8
 use Symfony\Component\Security\Core\SecurityContextInterface;
11
-
12 9
 use Oro\Bundle\NavigationBundle\Entity\Builder\ItemFactory;
13 10
 use Oro\Bundle\NavigationBundle\Entity\NavigationItemInterface;
14 11
 use Oro\Bundle\NavigationBundle\Entity\Repository\NavigationRepositoryInterface;
Please login to merge, or discard this patch.
Oro/Bundle/NavigationBundle/Migrations/Schema/v1_2/OroNavigationBundle.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -6,11 +6,9 @@
 block discarded – undo
6 6
 use Doctrine\DBAL\Types\Type;
7 7
 use Doctrine\ORM\EntityManagerInterface;
8 8
 use Doctrine\ORM\Tools\Pagination\Paginator;
9
-
10 9
 use Symfony\Bundle\FrameworkBundle\Routing\Router;
11 10
 use Symfony\Component\DependencyInjection\ContainerAwareInterface;
12 11
 use Symfony\Component\DependencyInjection\ContainerInterface;
13
-
14 12
 use Oro\Bundle\MigrationBundle\Migration\Migration;
15 13
 use Oro\Bundle\MigrationBundle\Migration\QueryBag;
16 14
 use Oro\Bundle\NavigationBundle\Entity\NavigationHistoryItem;
Please login to merge, or discard this patch.
src/Oro/Bundle/NavigationBundle/Tests/Unit/Content/TopicSenderTest.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -4,12 +4,10 @@
 block discarded – undo
4 4
 
5 5
 use Symfony\Component\DependencyInjection\Container;
6 6
 use Symfony\Component\Security\Core\SecurityContextInterface;
7
-
8 7
 use Oro\Bundle\NavigationBundle\Content\TagGeneratorChain;
9 8
 use Oro\Bundle\SyncBundle\Wamp\TopicPublisher;
10 9
 use Oro\Bundle\NavigationBundle\Content\TopicSender;
11 10
 use Oro\Bundle\EntityConfigBundle\DependencyInjection\Utils\ServiceLink;
12
-
13 11
 use Psr\Log\LoggerInterface;
14 12
 
15 13
 class TopicSenderTest extends \PHPUnit_Framework_TestCase
Please login to merge, or discard this patch.
Bundle/NavigationBundle/Tests/Unit/Event/ResponseHistoryListenerTest.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,6 @@
 block discarded – undo
7 7
 use Oro\Bundle\NavigationBundle\Event\ResponseHistoryListener;
8 8
 use Oro\Bundle\NavigationBundle\Provider\TitleService;
9 9
 use Oro\Bundle\UserBundle\Entity\User;
10
-
11 10
 use Symfony\Component\HttpFoundation\Request;
12 11
 use Symfony\Component\HttpKernel\HttpKernelInterface;
13 12
 
Please login to merge, or discard this patch.
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -184,7 +184,7 @@  discard block
 block discarded – undo
184 184
      * @param null|\Symfony\Component\HttpFoundation\Response $response
185 185
      * @param string                                          $type
186 186
      *
187
-     * @return mixed
187
+     * @return \Symfony\Component\HttpKernel\Event\FilterResponseEvent
188 188
      */
189 189
     private function getEventMock($request, $response, $type = 'Symfony\Component\HttpKernel\Event\FilterResponseEvent')
190 190
     {
@@ -253,6 +253,9 @@  discard block
 block discarded – undo
253 253
         return $response;
254 254
     }
255 255
 
256
+    /**
257
+     * @return \Oro\Bundle\NavigationBundle\Provider\TitleServiceInterface
258
+     */
256 259
     public function getTitleService()
257 260
     {
258 261
 
Please login to merge, or discard this patch.
src/Oro/Bundle/NavigationBundle/Tests/Unit/Menu/BreadcrumbManagerTest.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -2,9 +2,7 @@
 block discarded – undo
2 2
 namespace Oro\Bundle\NavigationBundle\Tests\Unit\Menu;
3 3
 
4 4
 use Oro\Bundle\NavigationBundle\Menu\BreadcrumbManager;
5
-
6 5
 use Knp\Menu\MenuItem;
7
-use Oro\Bundle\NavigationBundle\Menu\ConfigurationBuilder;
8 6
 use Oro\Bundle\NavigationBundle\Provider\BuilderChainProvider;
9 7
 
10 8
 class BreadcrumbManagerTest extends \PHPUnit_Framework_TestCase
Please login to merge, or discard this patch.
Oro/Bundle/NavigationBundle/Tests/Unit/Menu/ConfigurationBuilderTest.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 Oro\Bundle\NavigationBundle\Menu\AclAwareMenuFactoryExtension;
6 6
 use Oro\Bundle\NavigationBundle\Menu\ConfigurationBuilder;
7 7
 use Oro\Component\Config\Resolver\SystemAwareResolver;
8
-
9 8
 use Knp\Menu\MenuItem;
10 9
 
11 10
 class ConfigurationBuilderTest extends \PHPUnit_Framework_TestCase
Please login to merge, or discard this patch.
src/Oro/Bundle/NavigationBundle/Title/TitleReader/AnnotationsReader.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -137,7 +137,7 @@
 block discarded – undo
137 137
     }
138 138
 
139 139
     /**
140
-     * @param       $filePattern
140
+     * @param       string $filePattern
141 141
      * @param array $dirs
142 142
      *
143 143
      * @return array
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 namespace Oro\Bundle\NavigationBundle\Title\TitleReader;
3 3
 
4 4
 use Doctrine\Common\Annotations\Reader as CommonAnnotationsReader;
5
-
6 5
 use Symfony\Component\Finder\Finder;
7 6
 use Symfony\Component\HttpKernel\KernelInterface;
8 7
 
Please login to merge, or discard this patch.