@@ -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. |
@@ -191,7 +191,7 @@ |
||
191 | 191 | * @param FormInterface $form |
192 | 192 | * @param string $name route/entity name |
193 | 193 | * @param string|null $route route name, if different from entity name |
194 | - * @param nul|Request $request Request |
|
194 | + * @param Request $request Request |
|
195 | 195 | * @param array[] $params possible route parameters |
196 | 196 | * @return \Symfony\Component\HttpFoundation\RedirectResponse|null |
197 | 197 | */ |
@@ -15,15 +15,15 @@ |
||
15 | 15 | */ |
16 | 16 | namespace AppBundle\Entity; |
17 | 17 | |
18 | -use Doctrine\ORM\Mapping as ORM; |
|
19 | -use Symfony\Component\Validator\Constraints as Assert; |
|
20 | -use Gedmo\Mapping\Annotation as Gedmo; |
|
21 | -use Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntity; |
|
22 | -use Doctrine\Common\Collections\ArrayCollection; |
|
18 | +use AppBundle\Entity\FamilyLog; |
|
23 | 19 | use AppBundle\Entity\Supplier; |
24 | 20 | use AppBundle\Entity\UnitStorage; |
25 | 21 | use AppBundle\Entity\ZoneStorage; |
26 | -use AppBundle\Entity\FamilyLog; |
|
22 | +use Doctrine\Common\Collections\ArrayCollection; |
|
23 | +use Doctrine\ORM\Mapping as ORM; |
|
24 | +use Gedmo\Mapping\Annotation as Gedmo; |
|
25 | +use Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntity; |
|
26 | +use Symfony\Component\Validator\Constraints as Assert; |
|
27 | 27 | |
28 | 28 | /** |
29 | 29 | * Article. |
@@ -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 | /** |
@@ -44,7 +44,7 @@ discard block |
||
44 | 44 | * @Method({"POST","GET"}) |
45 | 45 | * @Template("AppBundle:install:step4.html.twig") |
46 | 46 | * |
47 | - * @param Symfony\Component\HttpFoundation\Request $request Requète du formulaire |
|
47 | + * @param Request $request Requète du formulaire |
|
48 | 48 | * |
49 | 49 | * @return Symfony\Component\HttpFoundation\Response Rendue de la page |
50 | 50 | */ |
@@ -84,7 +84,7 @@ discard block |
||
84 | 84 | * @Method({"POST","GET"}) |
85 | 85 | * @Template("AppBundle:install:step4.html.twig") |
86 | 86 | * |
87 | - * @param Symfony\Component\HttpFoundation\Request $request Requète du formulaire |
|
87 | + * @param Request $request Requète du formulaire |
|
88 | 88 | * |
89 | 89 | * @return Symfony\Component\HttpFoundation\Response Rendue de la page |
90 | 90 | */ |
@@ -120,7 +120,7 @@ discard block |
||
120 | 120 | * @Method({"POST","GET"}) |
121 | 121 | * @Template("AppBundle:install:step4.html.twig") |
122 | 122 | * |
123 | - * @param Symfony\Component\HttpFoundation\Request $request Requète du formulaire |
|
123 | + * @param Request $request Requète du formulaire |
|
124 | 124 | * |
125 | 125 | * @return Symfony\Component\HttpFoundation\Response Rendue de la page |
126 | 126 | */ |
@@ -156,7 +156,7 @@ discard block |
||
156 | 156 | * @Method({"POST","GET"}) |
157 | 157 | * @Template("AppBundle:install:step4.html.twig") |
158 | 158 | * |
159 | - * @param Symfony\Component\HttpFoundation\Request $request Requète du formulaire |
|
159 | + * @param Request $request Requète du formulaire |
|
160 | 160 | * |
161 | 161 | * @return Symfony\Component\HttpFoundation\Response Rendue de la page |
162 | 162 | */ |
@@ -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 |
@@ -44,7 +44,7 @@ discard block |
||
44 | 44 | * |
45 | 45 | * @Route("/", name="gs_install") |
46 | 46 | * |
47 | - * @return Symfony\Component\HttpFoundation\Response Rendue de la page |
|
47 | + * @return \Symfony\Component\HttpFoundation\Response Rendue de la page |
|
48 | 48 | */ |
49 | 49 | public function indexAction() |
50 | 50 | { |
@@ -59,7 +59,7 @@ discard block |
||
59 | 59 | * @Method({"POST","GET"}) |
60 | 60 | * @Template("AppBundle:install:step1.html.twig") |
61 | 61 | * |
62 | - * @param Symfony\Component\HttpFoundation\Request $request Requète du formulaire |
|
62 | + * @param Request $request Requète du formulaire |
|
63 | 63 | * |
64 | 64 | * @return Symfony\Component\HttpFoundation\Response Rendue de la page |
65 | 65 | */ |
@@ -98,7 +98,7 @@ discard block |
||
98 | 98 | * @Method({"POST","GET"}) |
99 | 99 | * @Template("AppBundle:install:step2.html.twig") |
100 | 100 | * |
101 | - * @param Symfony\Component\HttpFoundation\Request $request Requète du formulaire |
|
101 | + * @param Request $request Requète du formulaire |
|
102 | 102 | * |
103 | 103 | * @return Symfony\Component\HttpFoundation\Response Rendue de la page |
104 | 104 | */ |
@@ -134,7 +134,7 @@ discard block |
||
134 | 134 | * @Method({"POST","GET"}) |
135 | 135 | * @Template("AppBundle:install:step3.html.twig") |
136 | 136 | * |
137 | - * @param Symfony\Component\HttpFoundation\Request $request Requète du formulaire |
|
137 | + * @param Request $request Requète du formulaire |
|
138 | 138 | * |
139 | 139 | * @return Symfony\Component\HttpFoundation\Response Rendue de la page |
140 | 140 | */ |
@@ -170,7 +170,7 @@ discard block |
||
170 | 170 | * @Method({"GET"}) |
171 | 171 | * @Template("AppBundle:install:step4.html.twig") |
172 | 172 | * |
173 | - * @return Symfony\Component\HttpFoundation\Response Rendue de la page |
|
173 | + * @return \Symfony\Component\HttpFoundation\Response Rendue de la page |
|
174 | 174 | */ |
175 | 175 | public function step4Action() |
176 | 176 | { |
@@ -185,7 +185,7 @@ discard block |
||
185 | 185 | * @Method({"POST","GET"}) |
186 | 186 | * @Template("AppBundle:install:step5.html.twig") |
187 | 187 | * |
188 | - * @param Symfony\Component\HttpFoundation\Request $request Requète du formulaire |
|
188 | + * @param Request $request Requète du formulaire |
|
189 | 189 | * |
190 | 190 | * @return Symfony\Component\HttpFoundation\Response Rendue de la page |
191 | 191 | */ |
@@ -221,7 +221,7 @@ discard block |
||
221 | 221 | * @Method({"POST","GET"}) |
222 | 222 | * @Template("AppBundle:install:step6.html.twig") |
223 | 223 | * |
224 | - * @param Symfony\Component\HttpFoundation\Request $request Requète du formulaire |
|
224 | + * @param Request $request Requète du formulaire |
|
225 | 225 | * |
226 | 226 | * @return Symfony\Component\HttpFoundation\Response Rendue de la page |
227 | 227 | */ |
@@ -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 |