@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace OroCRM\Bundle\SalesBundle\Migrations\Schema\v1_17; |
4 | 4 | |
5 | 5 | use Doctrine\DBAL\Schema\Schema; |
6 | - |
|
7 | 6 | use Oro\Bundle\ActivityBundle\EntityConfig\ActivityScope; |
8 | 7 | use Oro\Bundle\ActivityBundle\Migration\Extension\ActivityExtension; |
9 | 8 | use Oro\Bundle\ActivityBundle\Migration\Extension\ActivityExtensionAwareInterface; |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace OroCRM\Bundle\SalesBundle\Migrations\Schema\v1_21; |
4 | 4 | |
5 | 5 | use Doctrine\DBAL\Schema\Schema; |
6 | - |
|
7 | 6 | use Oro\Bundle\ActivityListBundle\Migration\Extension\ActivityListExtension; |
8 | 7 | use Oro\Bundle\ActivityListBundle\Migration\Extension\ActivityListExtensionAwareInterface; |
9 | 8 | use Oro\Bundle\MigrationBundle\Migration\Migration; |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace OroCRM\Bundle\SalesBundle\Provider; |
4 | 4 | |
5 | 5 | use Symfony\Bridge\Doctrine\RegistryInterface; |
6 | - |
|
7 | 6 | use Oro\Bundle\DashboardBundle\Provider\BigNumber\BigNumberDateHelper; |
8 | 7 | use Oro\Bundle\SecurityBundle\ORM\Walker\AclHelper; |
9 | 8 |
@@ -179,8 +179,8 @@ |
||
179 | 179 | } |
180 | 180 | |
181 | 181 | /** |
182 | - * @param $dataType |
|
183 | - * @param $lessIsBetter |
|
182 | + * @param string $dataType |
|
183 | + * @param boolean $lessIsBetter |
|
184 | 184 | * @param $pastResult |
185 | 185 | * @param $deviation |
186 | 186 | * @param $result |
@@ -3,9 +3,7 @@ |
||
3 | 3 | namespace OroCRM\Bundle\SalesBundle\Tests\Functional\Controller; |
4 | 4 | |
5 | 5 | use Symfony\Component\DomCrawler\Form; |
6 | - |
|
7 | 6 | use Oro\Bundle\TestFrameworkBundle\Test\WebTestCase; |
8 | - |
|
9 | 7 | use OroCRM\Bundle\AccountBundle\Entity\Account; |
10 | 8 | use OroCRM\Bundle\ChannelBundle\Entity\Channel; |
11 | 9 | use OroCRM\Bundle\SalesBundle\Entity\B2bCustomer; |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use Symfony\Component\DomCrawler\Form; |
6 | 6 | use Symfony\Component\DomCrawler\Field\ChoiceFormField; |
7 | - |
|
8 | 7 | use Oro\Bundle\TestFrameworkBundle\Test\WebTestCase; |
9 | 8 | |
10 | 9 | /** |
@@ -3,9 +3,7 @@ |
||
3 | 3 | namespace OroCRM\Bundle\SalesBundle\Tests\Functional\EventListner; |
4 | 4 | |
5 | 5 | use Doctrine\ORM\EntityManager; |
6 | - |
|
7 | 6 | use Oro\Bundle\TestFrameworkBundle\Test\WebTestCase; |
8 | - |
|
9 | 7 | use OroCRM\Bundle\SalesBundle\Entity\B2bCustomer; |
10 | 8 | use OroCRM\Bundle\SalesBundle\Entity\Opportunity; |
11 | 9 | use OroCRM\Bundle\SalesBundle\Entity\OpportunityStatus; |
@@ -181,7 +181,7 @@ |
||
181 | 181 | } |
182 | 182 | |
183 | 183 | /** |
184 | - * @return Channel |
|
184 | + * @return LoadSalesBundleFixtures |
|
185 | 185 | */ |
186 | 186 | protected function createChannel() |
187 | 187 | { |
@@ -4,10 +4,8 @@ discard block |
||
4 | 4 | |
5 | 5 | use Doctrine\Common\DataFixtures\AbstractFixture; |
6 | 6 | use Doctrine\Common\Persistence\ObjectManager; |
7 | - |
|
8 | 7 | use Oro\Bundle\UserBundle\Entity\User; |
9 | 8 | use Oro\Bundle\OrganizationBundle\Entity\Organization; |
10 | - |
|
11 | 9 | use OroCRM\Bundle\AccountBundle\Entity\Account; |
12 | 10 | use OroCRM\Bundle\ContactBundle\Entity\Contact; |
13 | 11 | use OroCRM\Bundle\ChannelBundle\Builder\BuilderFactory; |
@@ -16,7 +14,6 @@ discard block |
||
16 | 14 | use OroCRM\Bundle\SalesBundle\Entity\Lead; |
17 | 15 | use OroCRM\Bundle\SalesBundle\Entity\Opportunity; |
18 | 16 | use OroCRM\Bundle\SalesBundle\Entity\SalesFunnel; |
19 | - |
|
20 | 17 | use Symfony\Component\DependencyInjection\ContainerAwareInterface; |
21 | 18 | use Symfony\Component\DependencyInjection\ContainerInterface; |
22 | 19 |
@@ -5,10 +5,8 @@ |
||
5 | 5 | use OroCRM\Bundle\ChannelBundle\Provider\RequestChannelProvider; |
6 | 6 | use OroCRM\Bundle\SalesBundle\Entity\B2bCustomer; |
7 | 7 | use OroCRM\Bundle\SalesBundle\Form\Handler\B2bCustomerHandler; |
8 | - |
|
9 | 8 | use Symfony\Component\Form\FormInterface; |
10 | 9 | use Symfony\Component\HttpFoundation\Request; |
11 | - |
|
12 | 10 | use Doctrine\Common\Persistence\ObjectManager; |
13 | 11 | |
14 | 12 | class B2bCustomerHandlerTest extends \PHPUnit_Framework_TestCase |