Passed
Push — dependabot/composer/symfony/pr... ( 0e401f )
by
unknown
45:30 queued 40:16
created
src/Step/ConfigImport.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
             $message = sprintf('"%s": no config file', $theme);
45 45
             if (Util::getFS()->exists($themeConfigFile)) {
46 46
                 set_error_handler(
47
-                    function ($severity, $message, $file, $line) {
47
+                    function($severity, $message, $file, $line) {
48 48
                         throw new \ErrorException($message, 0, $severity, $file, $line, null);
49 49
                     }
50 50
                 );
Please login to merge, or discard this patch.
src/Util.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -137,7 +137,7 @@  discard block
 block discarded – undo
137 137
      */
138 138
     public static function joinPath(string ...$path): string
139 139
     {
140
-        array_walk($path, function (&$value) {
140
+        array_walk($path, function(&$value) {
141 141
             $value = str_replace('\\', '/', $value);
142 142
             $value = rtrim($value, '/');
143 143
         });
@@ -154,7 +154,7 @@  discard block
 block discarded – undo
154 154
      */
155 155
     public static function joinFile(string ...$path): string
156 156
     {
157
-        array_walk($path, function (&$value) {
157
+        array_walk($path, function(&$value) {
158 158
             $value = str_replace(['\\', '/'], DIRECTORY_SEPARATOR, $value);
159 159
             $value = rtrim($value, DIRECTORY_SEPARATOR);
160 160
         });
Please login to merge, or discard this patch.
src/Renderer/Twig/Extension.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -134,7 +134,7 @@  discard block
 block discarded – undo
134 134
      */
135 135
     public function filterBy(PagesCollection $pages, string $variable, string $value): CollectionInterface
136 136
     {
137
-        $filteredPages = $pages->filter(function (Page $page) use ($variable, $value) {
137
+        $filteredPages = $pages->filter(function(Page $page) use ($variable, $value) {
138 138
             $notVirtual = false;
139 139
             // not virtual only
140 140
             if (!$page->isVirtual()) {
@@ -179,7 +179,7 @@  discard block
 block discarded – undo
179 179
      */
180 180
     public function sortByWeight(\Traversable $collection): array
181 181
     {
182
-        $callback = function ($a, $b) {
182
+        $callback = function($a, $b) {
183 183
             if (!isset($a['weight'])) {
184 184
                 return 1;
185 185
             }
@@ -210,7 +210,7 @@  discard block
 block discarded – undo
210 210
      */
211 211
     public function sortByDate(\Traversable $collection): array
212 212
     {
213
-        $callback = function ($a, $b) {
213
+        $callback = function($a, $b) {
214 214
             if (!isset($a['date'])) {
215 215
                 return -1;
216 216
             }
Please login to merge, or discard this patch.