Completed
Push — master ( 9fc944...74d39c )
by
unknown
08:52
created
src/Oro/Bundle/MarketingListBundle/Tests/Unit/Entity/MarketingListTest.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -136,6 +136,10 @@
 block discarded – undo
136 136
         $this->assertInstanceOf('\DateTime', $this->entity->getUpdatedAt());
137 137
     }
138 138
 
139
+    /**
140
+     * @param string $entityClass
141
+     * @param string $entityShortName
142
+     */
139 143
     protected function assertCollectionMethods($entityClass, $entityShortName)
140 144
     {
141 145
         $addMethodName = 'add' . $entityShortName;
Please login to merge, or discard this patch.
MarketingListBundle/Tests/Unit/Form/Handler/MarketingListHandlerTest.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\Component\Validator\Constraint;
6 6
 use Symfony\Component\Validator\ConstraintValidator;
7
-
8 7
 use OroCRM\Bundle\TaskBundle\Validator\Constraints\DueDateRequired;
9 8
 use OroCRM\Bundle\TaskBundle\Entity\Task;
10 9
 
Please login to merge, or discard this patch.
Tests/Unit/Model/Condition/HasContactInformationTest.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\Component\Validator\Constraint;
6 6
 use Symfony\Component\Validator\ConstraintValidator;
7
-
8 7
 use OroCRM\Bundle\TaskBundle\Validator\Constraints\DueDateRequired;
9 8
 use OroCRM\Bundle\TaskBundle\Entity\Task;
10 9
 
Please login to merge, or discard this patch.
MarketingListBundle/Tests/Unit/Provider/MarketingListProviderTest.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\Component\Validator\Constraint;
6 6
 use Symfony\Component\Validator\ConstraintValidator;
7
-
8 7
 use OroCRM\Bundle\TaskBundle\Validator\Constraints\DueDateRequired;
9 8
 use OroCRM\Bundle\TaskBundle\Entity\Task;
10 9
 
Please login to merge, or discard this patch.
Bundle/MarketingListBundle/Validator/ContactInformationColumnValidator.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\Component\Validator\Constraint;
6 6
 use Symfony\Component\Validator\ConstraintValidator;
7
-
8 7
 use OroCRM\Bundle\TaskBundle\Validator\Constraints\DueDateRequired;
9 8
 use OroCRM\Bundle\TaskBundle\Entity\Task;
10 9
 
Please login to merge, or discard this patch.
EventListener/Datagrid/OpportunitiesByStatusReportListener.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -155,7 +155,7 @@
 block discarded – undo
155 155
      * @param string $filterType date filter type ('date' or 'datetime')
156 156
      * @param QueryBuilder $queryBuilder
157 157
      *
158
-     * @return string|bool
158
+     * @return false|string
159 159
      */
160 160
     protected function buildDateCondition(array $options, $fieldName, $filterType, QueryBuilder $queryBuilder)
161 161
     {
Please login to merge, or discard this 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\Component\Validator\Constraint;
6 6
 use Symfony\Component\Validator\ConstraintValidator;
7
-
8 7
 use OroCRM\Bundle\TaskBundle\Validator\Constraints\DueDateRequired;
9 8
 use OroCRM\Bundle\TaskBundle\Entity\Task;
10 9
 
Please login to merge, or discard this patch.
Oro/Bundle/ReportCRMBundle/Tests/Functional/DataFixtures/LoadLeadsData.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -7,14 +7,11 @@
 block discarded – undo
7 7
 use Doctrine\Common\DataFixtures\OrderedFixtureInterface;
8 8
 use Doctrine\Common\Persistence\ObjectManager;
9 9
 use Doctrine\ORM\EntityManager;
10
-
11 10
 use Oro\Bundle\CurrencyBundle\Entity\MultiCurrency;
12 11
 use Symfony\Component\DependencyInjection\ContainerAwareInterface;
13 12
 use Symfony\Component\DependencyInjection\ContainerInterface;
14
-
15 13
 use Oro\Bundle\AddressBundle\Entity\Country;
16 14
 use Oro\Bundle\AddressBundle\Entity\Region;
17
-use Oro\Bundle\EntityConfigBundle\Config\ConfigManager;
18 15
 use Oro\Bundle\EntityExtendBundle\Entity\AbstractEnumValue;
19 16
 use Oro\Bundle\EntityExtendBundle\Tools\ExtendHelper;
20 17
 use Oro\Bundle\OrganizationBundle\Entity\Organization;
Please login to merge, or discard this patch.
src/Oro/Bundle/SalesBundle/Controller/Api/Rest/B2bCustomerController.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -4,15 +4,12 @@
 block discarded – undo
4 4
 
5 5
 use Doctrine\Common\Collections\ArrayCollection;
6 6
 use Doctrine\ORM\EntityRepository;
7
-
8 7
 use Doctrine\Common\DataFixtures\AbstractFixture;
9 8
 use Doctrine\Common\Persistence\ObjectManager;
10
-
11 9
 use Oro\Bundle\OrganizationBundle\Entity\BusinessUnit;
12 10
 use Oro\Bundle\OrganizationBundle\Entity\Organization;
13 11
 use Symfony\Component\DependencyInjection\ContainerInterface;
14 12
 use Symfony\Component\DependencyInjection\ContainerAwareInterface;
15
-
16 13
 use Oro\Bundle\UserBundle\Entity\UserManager;
17 14
 use Oro\Bundle\UserBundle\Entity\User;
18 15
 
Please login to merge, or discard this patch.
Oro/Bundle/SalesBundle/Controller/Api/Rest/B2bCustomerPhoneController.php 1 patch
Unused Use Statements   -5 removed lines patch added patch discarded remove patch
@@ -4,20 +4,15 @@
 block discarded – undo
4 4
 
5 5
 use Symfony\Component\HttpFoundation\Response;
6 6
 use Symfony\Component\HttpFoundation\JsonResponse;
7
-
8 7
 use FOS\RestBundle\Controller\Annotations\NamePrefix;
9 8
 use FOS\RestBundle\Controller\Annotations\RouteResource;
10 9
 use FOS\RestBundle\Routing\ClassResourceInterface;
11 10
 use FOS\RestBundle\Util\Codes;
12
-
13 11
 use Nelmio\ApiDocBundle\Annotation\ApiDoc;
14
-
15
-use Oro\Bundle\SecurityBundle\Annotation\Acl;
16 12
 use Oro\Bundle\FormBundle\Form\Handler\ApiFormHandler;
17 13
 use Oro\Bundle\SecurityBundle\Annotation\AclAncestor;
18 14
 use Oro\Bundle\SoapBundle\Controller\Api\Rest\RestController;
19 15
 use Oro\Bundle\SalesBundle\Entity\B2bCustomer;
20
-use Oro\Bundle\ContactBundle\Entity\Contact;
21 16
 
22 17
 /**
23 18
  * @RouteResource("b2bcustomer_phone")
Please login to merge, or discard this patch.