Passed
Push — master ( f1c3a5...3c3a03 )
by Jan
05:52
created
src/Services/Attachments/FileTypeFilterTools.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -139,7 +139,7 @@
 block discarded – undo
139 139
     {
140 140
         $filter = trim($filter);
141 141
 
142
-        return $this->cache->get('filter_exts_'.md5($filter), function (ItemInterface $item) use ($filter) {
142
+        return $this->cache->get('filter_exts_'.md5($filter), function(ItemInterface $item) use ($filter) {
143 143
             $elements = explode(',', $filter);
144 144
             $extensions = [];
145 145
 
Please login to merge, or discard this patch.
src/Entity/Attachments/Attachment.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -477,7 +477,7 @@
 block discarded – undo
477 477
         if ($only_http) {   //Check if scheme is HTTPS or HTTP
478 478
             $scheme = parse_url($string, PHP_URL_SCHEME);
479 479
             if ('http' !== $scheme && 'https' !== $scheme) {
480
-                return false;   //All other schemes are not valid.
480
+                return false; //All other schemes are not valid.
481 481
             }
482 482
         }
483 483
         if ($path_required) {
Please login to merge, or discard this patch.
src/Services/Trees/ToolsTreeBuilder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@
 block discarded – undo
77 77
     {
78 78
         $key = 'tree_tools_'.$this->keyGenerator->generateKey();
79 79
 
80
-        return $this->cache->get($key, function (ItemInterface $item) {
80
+        return $this->cache->get($key, function(ItemInterface $item) {
81 81
             //Invalidate tree, whenever group or the user changes
82 82
             $item->tag(['tree_tools', 'groups', $this->keyGenerator->generateKey()]);
83 83
 
Please login to merge, or discard this patch.
tests/Entity/LogSystem/AbstractLogEntryTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@
 block discarded – undo
59 59
     public function targetTypeDataProvider(): array
60 60
     {
61 61
         return [
62
-            [1,  User::class],
62
+            [1, User::class],
63 63
             [2, Attachment::class],
64 64
             [3, AttachmentType::class],
65 65
             [4, Category::class],
Please login to merge, or discard this patch.
src/Entity/Base/AbstractStructuralDBElement.php 1 patch
Indentation   -1 removed lines patch added patch discarded remove patch
@@ -176,7 +176,6 @@
 block discarded – undo
176 176
 
177 177
     /**
178 178
      *  Get the comment of the element.
179
-
180 179
      *
181 180
      * @return string the comment
182 181
      */
Please login to merge, or discard this patch.
src/Form/CollectionTypeExtension.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@
 block discarded – undo
75 75
 
76 76
     public function buildForm(FormBuilderInterface $builder, array $options): void
77 77
     {
78
-        $builder->addEventListener(FormEvents::PRE_SET_DATA, function (FormEvent $event) use ($options): void {
78
+        $builder->addEventListener(FormEvents::PRE_SET_DATA, function(FormEvent $event) use ($options): void {
79 79
             $data = $event->getData();
80 80
             $config = $event->getForm()->getConfig();
81 81
             //If enabled do a reindexing of the collection
Please login to merge, or discard this patch.
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/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.