Passed
Push — master ( d3b110...9888d4 )
by Jan
05:13
created
src/Services/LabelSystem/LabelProfileDropdownHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
         /** @var LabelProfileRepository $repo */
52 52
         $repo = $this->entityManager->getRepository(LabelProfile::class);
53 53
 
54
-        return $this->cache->get($key, function (ItemInterface $item) use ($repo, $type, $secure_class_name) {
54
+        return $this->cache->get($key, function(ItemInterface $item) use ($repo, $type, $secure_class_name) {
55 55
             // Invalidate when groups, a element with the class or the user changes
56 56
             $item->tag(['groups', 'tree_treeview', $this->keyGenerator->generateKey(), $secure_class_name]);
57 57
 
Please login to merge, or discard this patch.
ecs.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@  discard block
 block discarded – undo
7 7
 use Symplify\EasyCodingStandard\ValueObject\Set\SetList;
8 8
 use Symplify\CodingStandard\Fixer\LineLength\LineLengthFixer;
9 9
 
10
-return static function (ContainerConfigurator $containerConfigurator): void {
10
+return static function(ContainerConfigurator $containerConfigurator): void {
11 11
     $parameters = $containerConfigurator->parameters();
12 12
     $parameters->set(Option::SETS, [
13 13
         SetList::CLEAN_CODE,
@@ -17,8 +17,8 @@  discard block
 block discarded – undo
17 17
     ]);
18 18
 
19 19
     $parameters->set(Option::PATHS, [
20
-        __DIR__ . '/src',
21
-        __DIR__ . '/tests',
20
+        __DIR__.'/src',
21
+        __DIR__.'/tests',
22 22
     ]);
23 23
 
24 24
     $parameters->set(Option::SKIP, [
Please login to merge, or discard this patch.
src/Controller/PartController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -225,7 +225,7 @@
 block discarded – undo
225 225
      * @Route("/{id}/clone", name="part_clone")
226 226
      */
227 227
     public function new(Request $request, EntityManagerInterface $em, TranslatorInterface $translator,
228
-        AttachmentSubmitHandler $attachmentSubmitHandler, ?Part $part = null): Response
228
+        AttachmentSubmitHandler $attachmentSubmitHandler, ?Part $part = null) : Response
229 229
     {
230 230
         if (null === $part) {
231 231
             $new_part = new Part();
Please login to merge, or discard this patch.
src/Controller/GroupController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -83,7 +83,7 @@
 block discarded – undo
83 83
      * @Route("/{id}/clone", name="group_clone")
84 84
      * @Route("/")
85 85
      */
86
-    public function new(Request $request, EntityManagerInterface $em, EntityImporter $importer, ?Group $entity = null): Response
86
+    public function new(Request $request, EntityManagerInterface $em, EntityImporter $importer, ?Group $entity = null) : Response
87 87
     {
88 88
         return $this->_new($request, $em, $importer, $entity);
89 89
     }
Please login to merge, or discard this patch.
src/Controller/UserController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -148,7 +148,7 @@
 block discarded – undo
148 148
      * @Route("/{id}/clone", name="user_clone")
149 149
      * @Route("/")
150 150
      */
151
-    public function new(Request $request, EntityManagerInterface $em, EntityImporter $importer, ?User $entity = null): Response
151
+    public function new(Request $request, EntityManagerInterface $em, EntityImporter $importer, ?User $entity = null) : Response
152 152
     {
153 153
         return $this->_new($request, $em, $importer, $entity);
154 154
     }
Please login to merge, or discard this patch.
src/Controller/AdminPages/CurrencyController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -164,7 +164,7 @@
 block discarded – undo
164 164
      * @Route("/{id}/clone", name="currency_clone")
165 165
      * @Route("/")
166 166
      */
167
-    public function new(Request $request, EntityManagerInterface $em, EntityImporter $importer, ?Currency $entity = null): Response
167
+    public function new(Request $request, EntityManagerInterface $em, EntityImporter $importer, ?Currency $entity = null) : Response
168 168
     {
169 169
         return $this->_new($request, $em, $importer, $entity);
170 170
     }
Please login to merge, or discard this patch.
src/Controller/AdminPages/DeviceController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@
 block discarded – undo
89 89
      * @Route("/{id}/clone", name="device_clone")
90 90
      * @Route("/")
91 91
      */
92
-    public function new(Request $request, EntityManagerInterface $em, EntityImporter $importer, ?Device $entity = null): Response
92
+    public function new(Request $request, EntityManagerInterface $em, EntityImporter $importer, ?Device $entity = null) : Response
93 93
     {
94 94
         return $this->_new($request, $em, $importer, $entity);
95 95
     }
Please login to merge, or discard this patch.
src/Controller/AdminPages/AttachmentTypeController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -90,7 +90,7 @@
 block discarded – undo
90 90
      * @Route("/{id}/clone", name="attachment_type_clone")
91 91
      * @Route("/")
92 92
      */
93
-    public function new(Request $request, EntityManagerInterface $em, EntityImporter $importer, ?AttachmentType $entity = null): Response
93
+    public function new(Request $request, EntityManagerInterface $em, EntityImporter $importer, ?AttachmentType $entity = null) : Response
94 94
     {
95 95
         return $this->_new($request, $em, $importer, $entity);
96 96
     }
Please login to merge, or discard this patch.
src/Controller/AdminPages/ManufacturerController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -92,7 +92,7 @@
 block discarded – undo
92 92
      * @Route("/{id}/clone", name="manufacturer_clone")
93 93
      * @Route("/")
94 94
      */
95
-    public function new(Request $request, EntityManagerInterface $em, EntityImporter $importer, ?Manufacturer $entity = null): Response
95
+    public function new(Request $request, EntityManagerInterface $em, EntityImporter $importer, ?Manufacturer $entity = null) : Response
96 96
     {
97 97
         return $this->_new($request, $em, $importer, $entity);
98 98
     }
Please login to merge, or discard this patch.