@@ -14,8 +14,8 @@ |
||
14 | 14 | */ |
15 | 15 | namespace AppBundle\Controller; |
16 | 16 | |
17 | -use Symfony\Bundle\FrameworkBundle\Controller\Controller; |
|
18 | 17 | use Doctrine\ORM\QueryBuilder; |
18 | +use Symfony\Bundle\FrameworkBundle\Controller\Controller; |
|
19 | 19 | |
20 | 20 | /** |
21 | 21 | * Abstract controller |
@@ -14,15 +14,15 @@ |
||
14 | 14 | */ |
15 | 15 | namespace AppBundle\Controller; |
16 | 16 | |
17 | -use Symfony\Component\HttpFoundation\Request; |
|
18 | 17 | use AppBundle\Controller\AbstractController; |
19 | -use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method; |
|
20 | -use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; |
|
21 | -use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template; |
|
22 | 18 | use AppBundle\Entity\Article; |
23 | 19 | use AppBundle\Entity\Supplier; |
24 | -use AppBundle\Form\Type\ArticleType; |
|
25 | 20 | use AppBundle\Form\Type\ArticleReassignType; |
21 | +use AppBundle\Form\Type\ArticleType; |
|
22 | +use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method; |
|
23 | +use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; |
|
24 | +use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template; |
|
25 | +use Symfony\Component\HttpFoundation\Request; |
|
26 | 26 | |
27 | 27 | /** |
28 | 28 | * Article controller. |
@@ -14,10 +14,10 @@ |
||
14 | 14 | */ |
15 | 15 | namespace AppBundle\Controller; |
16 | 16 | |
17 | -use Symfony\Bundle\FrameworkBundle\Controller\Controller; |
|
18 | -use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; |
|
19 | 17 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method; |
18 | +use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; |
|
20 | 19 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template; |
20 | +use Symfony\Bundle\FrameworkBundle\Controller\Controller; |
|
21 | 21 | use Symfony\Component\HttpFoundation\Response; |
22 | 22 | |
23 | 23 | /** |
@@ -14,18 +14,17 @@ |
||
14 | 14 | */ |
15 | 15 | namespace AppBundle\Controller; |
16 | 16 | |
17 | -use Symfony\Component\HttpFoundation\Request; |
|
18 | -use Symfony\Component\HttpFoundation\Response; |
|
19 | 17 | use AppBundle\Controller\AbstractController; |
20 | -use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method; |
|
21 | -use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; |
|
22 | -use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template; |
|
23 | - |
|
24 | 18 | use AppBundle\Entity\Inventory; |
25 | -use AppBundle\Form\Type\InventoryType; |
|
26 | 19 | use AppBundle\Entity\InventoryArticles; |
27 | 20 | use AppBundle\Form\Type\InventoryEditType; |
21 | +use AppBundle\Form\Type\InventoryType; |
|
28 | 22 | use AppBundle\Form\Type\InventoryValidType; |
23 | +use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method; |
|
24 | +use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; |
|
25 | +use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template; |
|
26 | +use Symfony\Component\HttpFoundation\Request; |
|
27 | +use Symfony\Component\HttpFoundation\Response; |
|
29 | 28 | |
30 | 29 | /** |
31 | 30 | * Inventory controller. |
@@ -14,17 +14,17 @@ |
||
14 | 14 | */ |
15 | 15 | namespace AppBundle\Controller; |
16 | 16 | |
17 | -use Symfony\Component\HttpFoundation\Request; |
|
18 | 17 | use AppBundle\Controller\AbstractController; |
18 | +use AppBundle\Entity\User; |
|
19 | +use AppBundle\Form\Type\UserFilterType; |
|
20 | +use AppBundle\Form\Type\UserType; |
|
21 | +use Doctrine\ORM\QueryBuilder; |
|
19 | 22 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method; |
20 | 23 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; |
21 | -use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template; |
|
22 | 24 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Security; |
23 | -use AppBundle\Entity\User; |
|
24 | -use AppBundle\Form\Type\UserType; |
|
25 | -use AppBundle\Form\Type\UserFilterType; |
|
25 | +use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template; |
|
26 | 26 | use Symfony\Component\Form\FormInterface; |
27 | -use Doctrine\ORM\QueryBuilder; |
|
27 | +use Symfony\Component\HttpFoundation\Request; |
|
28 | 28 | |
29 | 29 | /** |
30 | 30 | * User controller. |
@@ -14,9 +14,9 @@ |
||
14 | 14 | */ |
15 | 15 | namespace AppBundle\Entity; |
16 | 16 | |
17 | -use FOS\UserBundle\Model\User as BaseUser; |
|
18 | -use Doctrine\ORM\Mapping as ORM; |
|
19 | 17 | use Doctrine\Common\Collections\ArrayCollection; |
18 | +use Doctrine\ORM\Mapping as ORM; |
|
19 | +use FOS\UserBundle\Model\User as BaseUser; |
|
20 | 20 | use Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntity; |
21 | 21 | |
22 | 22 | /** |
@@ -14,18 +14,18 @@ |
||
14 | 14 | */ |
15 | 15 | namespace AppBundle\Controller\Install; |
16 | 16 | |
17 | +use AppBundle\Entity\FamilyLog; |
|
18 | +use AppBundle\Entity\Tva; |
|
19 | +use AppBundle\Entity\UnitStorage; |
|
20 | +use AppBundle\Entity\ZoneStorage; |
|
21 | +use AppBundle\Form\Type\FamilyLogType; |
|
22 | +use AppBundle\Form\Type\TvaType; |
|
23 | +use AppBundle\Form\Type\UnitStorageType; |
|
24 | +use AppBundle\Form\Type\ZoneStorageType; |
|
17 | 25 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method; |
18 | 26 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; |
19 | 27 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template; |
20 | 28 | use Symfony\Component\HttpFoundation\Request; |
21 | -use AppBundle\Entity\FamilyLog; |
|
22 | -use AppBundle\Form\Type\FamilyLogType; |
|
23 | -use AppBundle\Entity\ZoneStorage; |
|
24 | -use AppBundle\Form\Type\ZoneStorageType; |
|
25 | -use AppBundle\Entity\UnitStorage; |
|
26 | -use AppBundle\Form\Type\UnitStorageType; |
|
27 | -use AppBundle\Entity\Tva; |
|
28 | -use AppBundle\Form\Type\TvaType; |
|
29 | 29 | |
30 | 30 | /** |
31 | 31 | * class InstallController |
@@ -122,7 +122,7 @@ discard block |
||
122 | 122 | * @Method({"POST","GET"}) |
123 | 123 | * @Template("AppBundle:install:step4.html.twig") |
124 | 124 | * |
125 | - * @param Symfony\Component\HttpFoundation\Request $request Requète du formulaire |
|
125 | + * @param Request $request Requète du formulaire |
|
126 | 126 | * |
127 | 127 | * @return \Symfony\Component\HttpFoundation\RedirectResponse|array Rendue de la page |
128 | 128 | */ |
@@ -159,7 +159,7 @@ discard block |
||
159 | 159 | * @Method({"POST","GET"}) |
160 | 160 | * @Template("AppBundle:install:step4.html.twig") |
161 | 161 | * |
162 | - * @param Symfony\Component\HttpFoundation\Request $request Requète du formulaire |
|
162 | + * @param Request $request Requète du formulaire |
|
163 | 163 | * |
164 | 164 | * @return \Symfony\Component\HttpFoundation\RedirectResponse|array Rendue de la page |
165 | 165 | */ |
@@ -14,21 +14,21 @@ |
||
14 | 14 | */ |
15 | 15 | namespace AppBundle\Controller\Install; |
16 | 16 | |
17 | +use AppBundle\Entity\Article; |
|
18 | +use AppBundle\Entity\Company; |
|
19 | +use AppBundle\Entity\Settings; |
|
20 | +use AppBundle\Entity\Supplier; |
|
21 | +use AppBundle\Entity\User; |
|
22 | +use AppBundle\Form\Type\ArticleType; |
|
23 | +use AppBundle\Form\Type\CompanyType; |
|
24 | +use AppBundle\Form\Type\SettingsType; |
|
25 | +use AppBundle\Form\Type\SupplierType; |
|
26 | +use AppBundle\Form\Type\UserType; |
|
17 | 27 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method; |
18 | 28 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; |
19 | 29 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template; |
20 | 30 | use Symfony\Bundle\FrameworkBundle\Controller\Controller; |
21 | 31 | use Symfony\Component\HttpFoundation\Request; |
22 | -use AppBundle\Entity\User; |
|
23 | -use AppBundle\Form\Type\UserType; |
|
24 | -use AppBundle\Entity\Company; |
|
25 | -use AppBundle\Form\Type\CompanyType; |
|
26 | -use AppBundle\Entity\Settings; |
|
27 | -use AppBundle\Form\Type\SettingsType; |
|
28 | -use AppBundle\Entity\Supplier; |
|
29 | -use AppBundle\Form\Type\SupplierType; |
|
30 | -use AppBundle\Entity\Article; |
|
31 | -use AppBundle\Form\Type\ArticleType; |
|
32 | 32 | |
33 | 33 | /** |
34 | 34 | * class InstallController |
@@ -142,7 +142,7 @@ |
||
142 | 142 | /** |
143 | 143 | * Get first_inventory. |
144 | 144 | * |
145 | - * @return \DateTime|null Date du premier inventaire |
|
145 | + * @return \DateTime Date du premier inventaire |
|
146 | 146 | */ |
147 | 147 | public function getFirstInventory() |
148 | 148 | { |