Test Setup Failed
Push — master ( 7be890...a06369 )
by Axel
06:52 queued 10s
created
src/system/MenuModule/Controller/MenuController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -76,10 +76,10 @@
 block discarded – undo
76 76
             [
77 77
                 'decorate' => true,
78 78
                 'html' => true,
79
-                'childOpen' => function ($node) {
79
+                'childOpen' => function($node) {
80 80
                     return '<li class="jstree-open" id="' . $this->domTreeNodePrefix . $node['id'] . '">';
81 81
                 },
82
-                'nodeDecorator' => static function ($node) {
82
+                'nodeDecorator' => static function($node) {
83 83
                     return '<a href="#">' . $node['title'] . ' (' . $node['id'] . ')</a>';
84 84
                 }
85 85
             ]
Please login to merge, or discard this patch.
src/system/MenuModule/Block/Form/Type/MenuType.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -49,10 +49,10 @@
 block discarded – undo
49 49
         ;
50 50
         $builder->get('options')
51 51
             ->addModelTransformer(new CallbackTransformer(
52
-                static function ($text) {
52
+                static function($text) {
53 53
                     return $text;
54 54
                 },
55
-                static function ($text) {
55
+                static function($text) {
56 56
                     if (empty($text)) {
57 57
                         return '{}';
58 58
                     }
Please login to merge, or discard this patch.
src/system/BlocksModule/Block/Form/Type/TextBlockType.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -35,10 +35,10 @@
 block discarded – undo
35 35
         ;
36 36
         $builder->get('content')
37 37
             ->addModelTransformer(new CallbackTransformer(
38
-                static function ($originalDescription) {
38
+                static function($originalDescription) {
39 39
                     return $originalDescription;
40 40
                 },
41
-                static function ($submittedDescription) {
41
+                static function($submittedDescription) {
42 42
                     // remove all HTML tags
43 43
                     return strip_tags($submittedDescription);
44 44
                 }
Please login to merge, or discard this patch.
src/system/ThemeModule/Controller/CombinedAssetController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
             $lifetimeInSeconds,
38 38
             $kernel->getCacheDir() . '/assets/' . $type
39 39
         );
40
-        $cachedFile = $cacheService->get($key, function () {
40
+        $cachedFile = $cacheService->get($key, function() {
41 41
             throw new \Exception('Combined Assets not found');
42 42
         });
43 43
 
Please login to merge, or discard this patch.
src/system/ThemeModule/Engine/Asset/Merger.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -115,7 +115,7 @@
 block discarded – undo
115 115
             $this->kernel->getCacheDir() . '/assets/' . $type
116 116
         );
117 117
         $key = md5(serialize($assets)) . (int) $this->minify . (int) $this->compress . $this->lifetime . '.combined.' . $type;
118
-        $cacheService->get($key, function () use ($cachedFiles, $type) {
118
+        $cacheService->get($key, function() use ($cachedFiles, $type) {
119 119
             $data = [];
120 120
             foreach ($cachedFiles as $k => $file) {
121 121
                 $this->readFile($data, $file, $type);
Please login to merge, or discard this patch.
src/system/UsersModule/Controller/FileIOController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@
 block discarded – undo
47 47
             if ($form->get('download')->isClicked()) {
48 48
                 $data = $form->getData();
49 49
                 $response = new StreamedResponse();
50
-                $response->setCallback(function () use ($data, $userRepository) {
50
+                $response->setCallback(function() use ($data, $userRepository) {
51 51
                     $fields = ['uid', 'uname', 'activated', 'email', 'registrationDate', 'lastLogin', 'groups'];
52 52
                     foreach ($fields as $k => $field) {
53 53
                         if (isset($data[$field]) && !$data[$field]) {
Please login to merge, or discard this patch.
src/system/UsersModule/Form/Type/DeleteType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
     {
28 28
         $builder
29 29
             ->add('users', EntityType::class, [
30
-                'choice_attr' => static function () {
30
+                'choice_attr' => static function() {
31 31
                     return ['class' => 'user-checkboxes'];
32 32
                 },
33 33
                 'class' => UserEntity::class,
Please login to merge, or discard this patch.
src/system/SecurityCenterModule/Api/HtmlFilterApi.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@
 block discarded – undo
86 86
             // Fix the HTML that we want
87 87
             $value = preg_replace_callback(
88 88
                 '#\022([^\024]*)\024#',
89
-                static function ($matches) {
89
+                static function($matches) {
90 90
                     if (!$matches) {
91 91
                         return '';
92 92
                     }
Please login to merge, or discard this patch.