Passed
Push — master ( c2c9e6...d51752 )
by Enjoys
53s queued 13s
created
src/Content/ReplaceRelative.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
 
43 43
         $result = preg_replace_callback(
44 44
             '/(url\([\'"]?)(?!["\'a-z]+:|[\'"]?\/{2})(.+?[^\'"])([\'"]?\))/i',
45
-            function (array $m) {
45
+            function(array $m) {
46 46
                 $normalizedPath = $this->getNormalizedPath($m[2]);
47 47
                 if ($normalizedPath === false) {
48 48
                     return $m[1] . $m[2] . $m[3];
Please login to merge, or discard this patch.
src/CollectStrategy/Strategy/OneFileStrategy.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -41,12 +41,12 @@
 block discarded – undo
41 41
         $this->filePath = $environment->getCompileDir() . DIRECTORY_SEPARATOR . $filename;
42 42
         $this->fileUrl = $environment->getBaseUrl() . '/' . str_replace(DIRECTORY_SEPARATOR, '/', $filename);
43 43
 
44
-        $this->notCollect = array_filter($assetsCollection, function ($asset){
44
+        $this->notCollect = array_filter($assetsCollection, function($asset) {
45 45
             /** @var Asset $asset */
46 46
             return $asset->isNotCollect();
47 47
         });
48 48
 
49
-        $this->assetsCollection = array_filter($assetsCollection, function ($asset){
49
+        $this->assetsCollection = array_filter($assetsCollection, function($asset) {
50 50
             /** @var Asset $asset */
51 51
             return !$asset->isNotCollect();
52 52
         });
Please login to merge, or discard this patch.
src/Extensions/Twig/AssetsExtension.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
     ): void {
61 61
         $this->assetsCollector->add(
62 62
             $type,
63
-            array_map(function ($item) {
63
+            array_map(function($item) {
64 64
                 if ($this->loader === null) {
65 65
                     return $item;
66 66
                 }
Please login to merge, or discard this patch.