Completed
Pull Request — master (#352)
by php-br
61:36
created
src/Oro/Bundle/CalendarBundle/Provider/AbstractCalendarEventNormalizer.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 Doctrine\ORM\Proxy\Proxy;
6 6
 use Doctrine\ORM\AbstractQuery;
7
-
8 7
 use Oro\Bundle\ReminderBundle\Entity\Manager\ReminderManager;
9 8
 
10 9
 abstract class AbstractCalendarEventNormalizer
Please login to merge, or discard this patch.
src/Oro/Bundle/CalendarBundle/Provider/CalendarPropertyProvider.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\CalendarBundle\Provider;
4 4
 
5 5
 use Doctrine\ORM\Mapping\ClassMetadata;
6
-
7 6
 use Oro\Bundle\CalendarBundle\Entity\Calendar;
8 7
 use Oro\Bundle\EntityBundle\ORM\DoctrineHelper;
9 8
 use Oro\Bundle\EntityConfigBundle\Config\ConfigManager;
Please login to merge, or discard this patch.
src/Oro/Bundle/CalendarBundle/Provider/UserCalendarEventNormalizer.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -131,7 +131,7 @@
 block discarded – undo
131 131
     /**
132 132
      * @param array  $items
133 133
      *
134
-     * @return array
134
+     * @return integer[]
135 135
      */
136 136
     protected function getParentEventIds(array $items)
137 137
     {
Please login to merge, or discard this patch.
CalendarBundle/Tests/Unit/Entity/Repository/CalendarEventRepositoryTest.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -5,10 +5,8 @@
 block discarded – undo
5 5
 use Doctrine\Common\Annotations\AnnotationReader;
6 6
 use Doctrine\Common\Collections\Criteria;
7 7
 use Doctrine\ORM\Mapping\Driver\AnnotationDriver;
8
-
9 8
 use Oro\Bundle\TestFrameworkBundle\Test\Doctrine\ORM\OrmTestCase;
10 9
 use Oro\Bundle\TestFrameworkBundle\Test\Doctrine\ORM\Mocks\EntityManagerMock;
11
-
12 10
 use Oro\Bundle\CalendarBundle\Entity\Repository\CalendarEventRepository;
13 11
 
14 12
 class CalendarEventRepositoryTest extends OrmTestCase
Please login to merge, or discard this patch.
Tests/Unit/Entity/Repository/CalendarPropertyRepositoryTest.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 Doctrine\Common\Annotations\AnnotationReader;
6 6
 use Doctrine\ORM\Mapping\Driver\AnnotationDriver;
7
-
8 7
 use Oro\Bundle\CalendarBundle\Entity\Repository\CalendarPropertyRepository;
9 8
 use Oro\Bundle\TestFrameworkBundle\Test\Doctrine\ORM\OrmTestCase;
10 9
 use Oro\Bundle\TestFrameworkBundle\Test\Doctrine\ORM\Mocks\EntityManagerMock;
Please login to merge, or discard this patch.
CalendarBundle/Tests/Unit/Entity/Repository/CalendarRepositoryTest.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 Doctrine\Common\Annotations\AnnotationReader;
6 6
 use Doctrine\ORM\Mapping\Driver\AnnotationDriver;
7
-
8 7
 use Oro\Bundle\TestFrameworkBundle\Test\Doctrine\ORM\OrmTestCase;
9 8
 use Oro\Bundle\TestFrameworkBundle\Test\Doctrine\ORM\Mocks\EntityManagerMock;
10
-
11 9
 use Oro\Bundle\CalendarBundle\Entity\Repository\CalendarRepository;
12 10
 
13 11
 class CalendarRepositoryTest extends OrmTestCase
Please login to merge, or discard this patch.
Tests/Unit/Entity/Repository/SystemCalendarRepositoryTest.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 Doctrine\Common\Annotations\AnnotationReader;
6 6
 use Doctrine\ORM\Mapping\Driver\AnnotationDriver;
7
-
8 7
 use Oro\Bundle\TestFrameworkBundle\Test\Doctrine\ORM\OrmTestCase;
9 8
 use Oro\Bundle\TestFrameworkBundle\Test\Doctrine\ORM\Mocks\EntityManagerMock;
10
-
11 9
 use Oro\Bundle\CalendarBundle\Entity\Repository\SystemCalendarRepository;
12 10
 
13 11
 class SystemCalendarRepositoryTest extends OrmTestCase
Please login to merge, or discard this patch.
CalendarBundle/Tests/Unit/Form/Handler/CalendarEventApiHandlerTest.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\CalendarBundle\Tests\Unit\Form\Handler;
4 4
 
5 5
 use Symfony\Component\HttpFoundation\Request;
6
-
7 6
 use Oro\Bundle\CalendarBundle\Entity\CalendarEvent;
8 7
 use Oro\Bundle\CalendarBundle\Form\Handler\CalendarEventApiHandler;
9 8
 use Oro\Bundle\CalendarBundle\Tests\Unit\ReflectionUtil;
Please login to merge, or discard this patch.
Oro/Bundle/CalendarBundle/Tests/Unit/Form/Type/CalendarEventApiTypeTest.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -5,11 +5,8 @@
 block discarded – undo
5 5
 use Symfony\Component\Form\AbstractType;
6 6
 use Symfony\Component\Form\PreloadedExtension;
7 7
 use Symfony\Component\Form\Test\TypeTestCase;
8
-
9 8
 use Doctrine\Common\Collections\ArrayCollection;
10
-
11 9
 use Genemu\Bundle\FormBundle\Form\JQuery\Type\Select2Type;
12
-
13 10
 use Oro\Bundle\CalendarBundle\Entity\Calendar;
14 11
 use Oro\Bundle\CalendarBundle\Entity\CalendarEvent;
15 12
 use Oro\Bundle\FormBundle\Form\Type\CollectionType;
Please login to merge, or discard this patch.