Completed
Push — master ( dd2819...45b95e )
by
unknown
10:20
created
Bundle/ChannelBundle/Tests/Unit/Provider/Lifetime/AmountProviderTest.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -4,11 +4,8 @@
 block discarded – undo
4 4
 
5 5
 use Doctrine\ORM\EntityManager;
6 6
 use Doctrine\Common\Annotations\AnnotationReader;
7
-
8 7
 use Doctrine\ORM\Mapping\Driver\AnnotationDriver;
9
-
10 8
 use Oro\Bundle\TestFrameworkBundle\Test\Doctrine\ORM\OrmTestCase;
11
-
12 9
 use OroCRM\Bundle\ChannelBundle\Provider\Lifetime\AmountProvider;
13 10
 
14 11
 class AmountProviderTest extends OrmTestCase
Please login to merge, or discard this patch.
Tests/Unit/Provider/Lifetime/AverageLifetimeWidgetProviderTest.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,10 +3,8 @@
 block discarded – undo
3 3
 namespace OroCRM\Bundle\ChannelBundle\Tests\Unit\Provider\Lifetime;
4 4
 
5 5
 use Doctrine\Common\Persistence\ManagerRegistry;
6
-
7 6
 use Oro\Bundle\LocaleBundle\Model\LocaleSettings;
8 7
 use Oro\Bundle\SecurityBundle\ORM\Walker\AclHelper;
9
-
10 8
 use OroCRM\Bundle\ChannelBundle\Provider\Lifetime\AverageLifetimeWidgetProvider;
11 9
 
12 10
 class AverageLifetimeWidgetProviderTest extends \PHPUnit_Framework_TestCase
Please login to merge, or discard this patch.
OroCRM/Bundle/ChannelBundle/Tests/Unit/Provider/MetadataProviderTest.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -164,7 +164,7 @@
 block discarded – undo
164 164
     }
165 165
 
166 166
     /**
167
-     * @param $index
167
+     * @param integer $index
168 168
      *
169 169
      * @return array
170 170
      */
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,10 +3,8 @@
 block discarded – undo
3 3
 namespace OroCRM\Bundle\ChannelBundle\Tests\Unit\Provider;
4 4
 
5 5
 use Symfony\Component\Routing\RouterInterface;
6
-
7 6
 use Oro\Bundle\EntityBundle\Provider\EntityProvider;
8 7
 use Oro\Bundle\EntityConfigBundle\Config\ConfigManager;
9
-
10 8
 use OroCRM\Bundle\ChannelBundle\Provider\MetadataProvider;
11 9
 use OroCRM\Bundle\ChannelBundle\Provider\SettingsProvider;
12 10
 
Please login to merge, or discard this patch.
src/OroCRM/Bundle/ChannelBundle/Tests/Unit/Stubs/Entity/Customer.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 OroCRM\Bundle\ChannelBundle\Tests\Unit\Stubs\Entity;
4 4
 
5 5
 use Doctrine\ORM\Mapping as ORM;
6
-
7 6
 use OroCRM\Bundle\AccountBundle\Entity\Account;
8 7
 use OroCRM\Bundle\ChannelBundle\Entity\Channel;
9 8
 use OroCRM\Bundle\ChannelBundle\Model\ChannelAwareInterface;
Please login to merge, or discard this patch.
ChannelBundle/Validator/ChannelCustomerIdentityConstraintValidator.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 Symfony\Component\Validator\Constraint;
6 6
 use Symfony\Component\Validator\ConstraintValidator;
7 7
 use Symfony\Component\Validator\Exception\UnexpectedTypeException;
8
-
9 8
 use OroCRM\Bundle\ChannelBundle\Entity\Channel;
10 9
 
11 10
 class ChannelCustomerIdentityConstraintValidator extends ConstraintValidator
Please login to merge, or discard this patch.
Bundle/ChannelBundle/Validator/ChannelIntegrationConstraintValidator.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 Symfony\Component\Validator\Constraint;
6 6
 use Symfony\Component\Validator\ConstraintValidator;
7 7
 use Symfony\Component\Validator\Exception\UnexpectedTypeException;
8
-
9 8
 use OroCRM\Bundle\ChannelBundle\Entity\Channel;
10 9
 use OroCRM\Bundle\ChannelBundle\Provider\SettingsProvider;
11 10
 
Please login to merge, or discard this patch.
src/OroCRM/Bundle/ContactBundle/Controller/Api/Rest/ContactController.php 1 patch
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -6,12 +6,9 @@  discard block
 block discarded – undo
6 6
 use FOS\RestBundle\Controller\Annotations\QueryParam;
7 7
 use FOS\RestBundle\Controller\Annotations\RouteResource;
8 8
 use FOS\RestBundle\Routing\ClassResourceInterface;
9
-
10 9
 use Nelmio\ApiDocBundle\Annotation\ApiDoc;
11
-
12 10
 use Symfony\Component\Form\FormInterface;
13 11
 use Symfony\Component\HttpFoundation\Response;
14
-
15 12
 use Oro\Bundle\AddressBundle\Utils\AddressApiUtils;
16 13
 use Oro\Bundle\SecurityBundle\Annotation\Acl;
17 14
 use Oro\Bundle\SecurityBundle\Annotation\AclAncestor;
@@ -20,7 +17,6 @@  discard block
 block discarded – undo
20 17
 use Oro\Bundle\SoapBundle\Form\Handler\ApiFormHandler;
21 18
 use Oro\Bundle\SoapBundle\Request\Parameters\Filter\HttpDateTimeParameterFilter;
22 19
 use Oro\Bundle\SoapBundle\Request\Parameters\Filter\IdentifierToReferenceFilter;
23
-
24 20
 use OroCRM\Bundle\ContactBundle\Entity\Contact;
25 21
 use OroCRM\Bundle\ContactBundle\Form\Type\ContactApiType;
26 22
 
Please login to merge, or discard this patch.
OroCRM/Bundle/ContactBundle/Controller/Api/Rest/ContactGroupController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,6 @@
 block discarded – undo
8 8
 use Nelmio\ApiDocBundle\Annotation\ApiDoc;
9 9
 use Oro\Bundle\SecurityBundle\Annotation\Acl;
10 10
 use Oro\Bundle\SecurityBundle\Annotation\AclAncestor;
11
-
12 11
 use Symfony\Component\Form\FormInterface;
13 12
 use Symfony\Component\HttpFoundation\Response;
14 13
 use FOS\RestBundle\Routing\ClassResourceInterface;
Please login to merge, or discard this patch.
OroCRM/Bundle/ContactBundle/Controller/Api/Rest/ContactPhoneController.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -4,14 +4,11 @@
 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 12
 use Oro\Bundle\SecurityBundle\Annotation\AclAncestor;
16 13
 use Oro\Bundle\SoapBundle\Controller\Api\Rest\RestController;
17 14
 use OroCRM\Bundle\ContactBundle\Entity\Contact;
Please login to merge, or discard this patch.