Completed
Push — 1.8 ( b7094f...f1162e )
by
unknown
83:38 queued 61:44
created
src/Oro/Bundle/DashboardBundle/Helper/DateHelper.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -143,7 +143,7 @@  discard block
 block discarded – undo
143 143
      * @param DateTime     $start
144 144
      * @param DateTime     $end
145 145
      * @param QueryBuilder $qb
146
-     * @param              $entityField
146
+     * @param              string $entityField
147 147
      */
148 148
     public function addDatePartsSelect(DateTime $start, DateTime $end, QueryBuilder $qb, $entityField)
149 149
     {
@@ -290,7 +290,7 @@  discard block
 block discarded – undo
290 290
     /**
291 291
      * @param array    $config
292 292
      * @param DateTime $date
293
-     * @param          $increment
293
+     * @param          integer $increment
294 294
      * @return string
295 295
      */
296 296
     protected function getFormattedLabel($config, DateTime $date, $increment)
Please login to merge, or discard this patch.
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -5,11 +5,8 @@
 block discarded – undo
5 5
 use \DateTime;
6 6
 
7 7
 use Doctrine\ORM\QueryBuilder;
8
-
9 8
 use Symfony\Bridge\Doctrine\RegistryInterface;
10
-
11 9
 use Oro\Bundle\SecurityBundle\ORM\Walker\AclHelper;
12
-
13 10
 use Oro\Bundle\FilterBundle\Form\Type\Filter\AbstractDateFilterType;
14 11
 use Oro\Bundle\LocaleBundle\Model\LocaleSettings;
15 12
 
Please login to merge, or discard this patch.
src/Oro/Bundle/DashboardBundle/Model/Manager.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -278,7 +278,7 @@
 block discarded – undo
278 278
      * @param User           $user
279 279
      * @param bool           $flush
280 280
      *
281
-     * @return bool
281
+     * @return boolean|null
282 282
      */
283 283
     public function setUserActiveDashboard(DashboardModel $dashboard, User $user, $flush = false)
284 284
     {
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,9 +3,7 @@
 block discarded – undo
3 3
 namespace Oro\Bundle\DashboardBundle\Model;
4 4
 
5 5
 use Doctrine\ORM\EntityManager;
6
-
7 6
 use Symfony\Component\Security\Core\SecurityContextInterface;
8
-
9 7
 use Oro\Bundle\SecurityBundle\Authentication\Token\OrganizationContextTokenInterface;
10 8
 use Oro\Bundle\SecurityBundle\ORM\Walker\AclHelper;
11 9
 use Oro\Bundle\DashboardBundle\Entity\ActiveDashboard;
Please login to merge, or discard this patch.
src/Oro/Bundle/DashboardBundle/Model/StateManager.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\DashboardBundle\Model;
4 4
 
5 5
 use Doctrine\ORM\EntityManager;
6
-
7 6
 use Symfony\Component\Security\Core\SecurityContextInterface;
8
-
9 7
 use Oro\Bundle\DashboardBundle\Entity\WidgetStateNullObject;
10 8
 use Oro\Bundle\SecurityBundle\SecurityFacade;
11
-
12 9
 use Oro\Bundle\DashboardBundle\Entity\WidgetState;
13 10
 use Oro\Bundle\DashboardBundle\Entity\Widget;
14 11
 use Oro\Bundle\UserBundle\Entity\User;
Please login to merge, or discard this patch.
src/Oro/Bundle/DashboardBundle/Model/WidgetConfigs.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -3,17 +3,14 @@
 block discarded – undo
3 3
 namespace Oro\Bundle\DashboardBundle\Model;
4 4
 
5 5
 use Doctrine\ORM\EntityManagerInterface;
6
-
7 6
 use Symfony\Component\EventDispatcher\EventDispatcherInterface;
8 7
 use Symfony\Component\HttpFoundation\Request;
9 8
 use Symfony\Component\Translation\TranslatorInterface;
10
-
11 9
 use Oro\Bundle\DashboardBundle\Form\Type\WidgetItemsChoiceType;
12 10
 use Oro\Bundle\DashboardBundle\Event\WidgetItemsLoadDataEvent;
13 11
 use Oro\Bundle\DashboardBundle\Entity\Widget;
14 12
 use Oro\Bundle\DashboardBundle\Provider\ConfigValueProvider;
15 13
 use Oro\Bundle\SecurityBundle\SecurityFacade;
16
-
17 14
 use Oro\Component\Config\Resolver\ResolverInterface;
18 15
 
19 16
 class WidgetConfigs
Please login to merge, or discard this patch.
DashboardBundle/Provider/Converters/PreviousFilterDateRangeConverter.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -8,6 +8,7 @@
 block discarded – undo
8 8
 {
9 9
     /**
10 10
      * {@inheritdoc}
11
+     * @param boolean $value
11 12
      */
12 13
     public function getConvertedValue(array $widgetConfig, $value = null, array $config = [], array $options = [])
13 14
     {
Please login to merge, or discard this patch.
DashboardBundle/Tests/Functional/Controller/DataFixtures/LoadUserData.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -4,13 +4,10 @@
 block discarded – undo
4 4
 
5 5
 use Doctrine\Common\DataFixtures\AbstractFixture;
6 6
 use Doctrine\Common\Persistence\ObjectManager;
7
-
8 7
 use Symfony\Component\DependencyInjection\ContainerAwareInterface;
9 8
 use Symfony\Component\DependencyInjection\ContainerInterface;
10
-
11 9
 use Oro\Bundle\UserBundle\Entity\UserManager;
12 10
 use Oro\Bundle\UserBundle\Entity\UserApi;
13
-
14 11
 use Oro\Bundle\OrganizationBundle\Entity\Manager\OrganizationManager;
15 12
 
16 13
 class LoadUserData extends AbstractFixture implements ContainerAwareInterface
Please login to merge, or discard this patch.
src/Oro/Bundle/DataAuditBundle/Controller/Api/Rest/AuditController.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -3,14 +3,11 @@
 block discarded – undo
3 3
 namespace Oro\Bundle\DataAuditBundle\Controller\Api\Rest;
4 4
 
5 5
 use Symfony\Component\HttpFoundation\Response;
6
-
7 6
 use FOS\RestBundle\Routing\ClassResourceInterface;
8 7
 use FOS\RestBundle\Controller\Annotations\NamePrefix;
9 8
 use FOS\RestBundle\Controller\Annotations\QueryParam;
10 9
 use FOS\RestBundle\Util\Codes;
11
-
12 10
 use Nelmio\ApiDocBundle\Annotation\ApiDoc;
13
-
14 11
 use Oro\Bundle\DataAuditBundle\Entity\Audit;
15 12
 use Oro\Bundle\EntityBundle\Exception\InvalidEntityException;
16 13
 use Oro\Bundle\EntityBundle\Provider\EntityWithFieldsProvider;
Please login to merge, or discard this patch.
src/Oro/Bundle/DataAuditBundle/Controller/AuditController.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -4,10 +4,8 @@
 block discarded – undo
4 4
 
5 5
 use Symfony\Bundle\FrameworkBundle\Controller\Controller;
6 6
 use Symfony\Component\HttpFoundation\Request;
7
-
8 7
 use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
9 8
 use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template;
10
-
11 9
 use Oro\Bundle\SecurityBundle\Annotation\AclAncestor;
12 10
 use Oro\Bundle\SecurityBundle\Annotation\Acl;
13 11
 
Please login to merge, or discard this patch.
src/Oro/Bundle/DataAuditBundle/Entity/AbstractAudit.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 Doctrine\Common\Collections\ArrayCollection;
6 6
 use Doctrine\Common\Collections\Collection;
7 7
 use Doctrine\ORM\Mapping as ORM;
8
-
9 8
 use Gedmo\Loggable\Entity\MappedSuperclass\AbstractLogEntry;
10
-
11 9
 use Oro\Bundle\OrganizationBundle\Entity\Organization;
12 10
 use Oro\Bundle\UserBundle\Entity\AbstractUser;
13 11
 
Please login to merge, or discard this patch.