Completed
Push — 1.10 ( 93e51c...7f32fb )
by
unknown
11:06
created
src/OroCRM/Bundle/TestFrameworkBundle/Tests/Performance/LoadTest.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\TestFrameworkBundle\Tests\Performance;
4 4
 
5 5
 use Symfony\Bundle\FrameworkBundle\Console\Application;
6
-
7 6
 use Symfony\Component\HttpKernel\Kernel;
8 7
 use Symfony\Component\DependencyInjection\Container;
9
-
10 8
 use Oro\Bundle\TestFrameworkBundle\Test\WebTestCase;
11 9
 
12 10
 class LoadTest extends WebTestCase
Please login to merge, or discard this patch.
OroCRM/Bundle/ContactBundle/Controller/Api/Rest/ContactPhoneController.php 1 patch
Unused Use Statements   -5 removed lines patch added patch discarded remove patch
@@ -4,19 +4,14 @@
 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
-
20 15
 use OroCRM\Bundle\ContactBundle\Entity\Contact;
21 16
 
22 17
 /**
Please login to merge, or discard this patch.
src/OroCRM/Bundle/DemoDataBundle/Migrations/Data/Demo/ORM/LoadTagsData.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
     }
113 113
 
114 114
     /**
115
-     * @param $tagsNames
115
+     * @param string[] $tagsNames
116 116
      *
117 117
      * @return Tag[]
118 118
      */
@@ -206,7 +206,7 @@  discard block
 block discarded – undo
206 206
     /**
207 207
      * Flush objects
208 208
      *
209
-     * @param mixed $manager
209
+     * @param EntityManager $manager
210 210
      */
211 211
     private function flush($manager)
212 212
     {
Please login to merge, or discard this patch.
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -8,16 +8,13 @@
 block discarded – undo
8 8
 use Doctrine\Common\Persistence\ObjectManager;
9 9
 use Doctrine\ORM\EntityRepository;
10 10
 use Doctrine\ORM\EntityManager;
11
-
12 11
 use Symfony\Component\DependencyInjection\ContainerInterface;
13 12
 use Symfony\Component\DependencyInjection\ContainerAwareInterface;
14
-
15 13
 use Oro\Bundle\SecurityBundle\Authentication\Token\UsernamePasswordOrganizationToken;
16 14
 use Oro\Bundle\OrganizationBundle\Entity\Organization;
17 15
 use Oro\Bundle\UserBundle\Entity\User;
18 16
 use Oro\Bundle\TagBundle\Entity\Tag;
19 17
 use Oro\Bundle\TagBundle\Entity\TagManager;
20
-
21 18
 use OroCRM\Bundle\AccountBundle\Entity\Account;
22 19
 use OroCRM\Bundle\ContactBundle\Entity\Contact;
23 20
 
Please login to merge, or discard this patch.
src/OroCRM/Bundle/MagentoBundle/Provider/InitialSyncProcessor.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -242,7 +242,7 @@
 block discarded – undo
242 242
     /**
243 243
      * @param Integration $integration
244 244
      * @param array $parameters
245
-     * @param array $postProcessConnectors
245
+     * @param string[] $postProcessConnectors
246 246
      * @param \DateTime $startSyncDate
247 247
      * @return bool
248 248
      */
Please login to merge, or discard this patch.
Bundle/ActivityContactBundle/Migrations/Schema/v1_0/UpdateConfigQuery.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@
 block discarded – undo
80 80
 
81 81
     /**
82 82
      * @param LoggerInterface $logger
83
-     * @param $sql
83
+     * @param string $sql
84 84
      * @param array $parameters
85 85
      * @throws \Doctrine\DBAL\DBALException
86 86
      */
Please login to merge, or discard this patch.
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -3,12 +3,9 @@
 block discarded – undo
3 3
 namespace OroCRM\Bundle\ActivityContactBundle\Migrations\Schema\v1_0;
4 4
 
5 5
 use Psr\Log\LoggerInterface;
6
-
7 6
 use Doctrine\DBAL\Types\Type;
8
-
9 7
 use Oro\Bundle\MigrationBundle\Migration\ArrayLogger;
10 8
 use Oro\Bundle\MigrationBundle\Migration\ParametrizedMigrationQuery;
11
-
12 9
 use OroCRM\Bundle\ActivityContactBundle\EntityConfig\ActivityScope;
13 10
 
14 11
 class UpdateConfigQuery extends ParametrizedMigrationQuery
Please login to merge, or discard this patch.
Tests/Unit/Provider/Iterator/NewsletterSubscriberBridgeIteratorTest.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 OroCRM\Bundle\MagentoBundle\Provider\Iterator\NewsletterSubscriberBridgeIterator;
6 6
 use OroCRM\Bundle\MagentoBundle\Provider\Iterator\UpdatedLoaderInterface;
7
-use OroCRM\Bundle\MagentoBundle\Provider\Transport\MagentoTransportInterface;
8 7
 
9 8
 class NewsletterSubscriberBridgeIteratorTest extends BaseIteratorTestCase
10 9
 {
Please login to merge, or discard this patch.
MagentoBundle/Tests/Unit/Provider/Iterator/OrderBridgeIteratorTest.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -16,8 +16,8 @@
 block discarded – undo
16 16
     }
17 17
 
18 18
     /**
19
-     * @param array $orderArray
20
-     * @param array $stores
19
+     * @param string $orderArray
20
+     * @param string $stores
21 21
      *
22 22
      * @dataProvider dataProvider
23 23
      */
Please login to merge, or discard this patch.
Bundle/AnalyticsBundle/Tests/Functional/DataFixtures/LoadOrderData.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -114,9 +114,9 @@
 block discarded – undo
114 114
     }
115 115
 
116 116
     /**
117
-     * @param object $entity
117
+     * @param Order $entity
118 118
      * @param array $data
119
-     * @param array $excludeProperties
119
+     * @param string[] $excludeProperties
120 120
      */
121 121
     public function setEntityPropertyValues($entity, array $data, array $excludeProperties = [])
122 122
     {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,6 @@
 block discarded – undo
8 8
 use Symfony\Component\DependencyInjection\ContainerInterface;
9 9
 use Symfony\Component\DependencyInjection\ContainerAwareInterface;
10 10
 use Symfony\Component\PropertyAccess\PropertyAccess;
11
-
12 11
 use Oro\Bundle\UserBundle\Entity\User;
13 12
 use Oro\Bundle\UserBundle\Migrations\Data\ORM\LoadAdminUserData;
14 13
 use OroCRM\Bundle\MagentoBundle\Entity\Order;
Please login to merge, or discard this patch.
src/OroCRM/Bundle/DemoDataBundle/Migrations/Data/ORM/LoadRolesData.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@
 block discarded – undo
82 82
 
83 83
     /**
84 84
      * @param AclManager $aclManager
85
-     * @param mixed $sid
85
+     * @param SecurityIdentityInterface $sid
86 86
      * @param string $permission
87 87
      * @param array $acls
88 88
      */
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -5,12 +5,10 @@
 block discarded – undo
5 5
 use Doctrine\Common\DataFixtures\AbstractFixture;
6 6
 use Doctrine\Common\Persistence\ObjectManager;
7 7
 use Doctrine\Common\DataFixtures\DependentFixtureInterface;
8
-
9 8
 use Symfony\Component\DependencyInjection\ContainerAwareInterface;
10 9
 use Symfony\Component\DependencyInjection\ContainerInterface;
11 10
 use Symfony\Component\Security\Acl\Model\SecurityIdentityInterface;
12 11
 use Symfony\Component\Yaml\Yaml;
13
-
14 12
 use Oro\Bundle\UserBundle\Entity\Role;
15 13
 use Oro\Bundle\SecurityBundle\Acl\Persistence\AclManager;
16 14
 
Please login to merge, or discard this patch.