Passed
Push — master ( 758b7a...890f97 )
by MusikAnimal
05:21
created
src/AppBundle/Helper/AutomatedEditsHelper.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@  discard block
 block discarded – undo
3 3
  * This file contains only the AutomatedEditsHelper class.
4 4
  */
5 5
 
6
-declare(strict_types = 1);
6
+declare(strict_types=1);
7 7
 
8 8
 namespace AppBundle\Helper;
9 9
 
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
         );
97 97
 
98 98
         // Finally, populate the 'label' with the tool name, if a label doesn't already exist.
99
-        array_walk($this->tools[$projectDomain], function (&$data, $tool): void {
99
+        array_walk($this->tools[$projectDomain], function(&$data, $tool): void {
100 100
             $data['label'] = $data['label'] ?? $tool;
101 101
 
102 102
             // 'namespaces' should be an array of ints.
@@ -163,14 +163,14 @@  discard block
 block discarded – undo
163 163
 
164 164
         $revertEntries = array_filter(
165 165
             $this->getTools($project),
166
-            function ($tool) {
166
+            function($tool) {
167 167
                 return isset($tool['revert']) && isset($tool['regex']);
168 168
             }
169 169
         );
170 170
 
171 171
         // If 'revert' is set to `true`, then use 'regex' as the regular expression,
172 172
         //  otherwise 'revert' is assumed to be the regex string.
173
-        $this->revertTools[$projectDomain] = array_map(function ($revertTool) {
173
+        $this->revertTools[$projectDomain] = array_map(function($revertTool) {
174 174
             return [
175 175
                 'link' => $revertTool['link'],
176 176
                 'regex' => true === $revertTool['revert'] ? $revertTool['regex'] : $revertTool['revert'],
Please login to merge, or discard this patch.