Completed
Push — master ( dbaa9a...f8c34a )
by Denis
03:20
created
src/Exception.php 1 patch
Indentation   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -1,17 +1,17 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * JBZoo Assets
4
- *
5
- * This file is part of the JBZoo CCK package.
6
- * For the full copyright and license information, please view the LICENSE
7
- * file that was distributed with this source code.
8
- *
9
- * @package   Assets
10
- * @license   MIT
11
- * @copyright Copyright (C) JBZoo.com,  All rights reserved.
12
- * @link      https://github.com/JBZoo/Assets
13
- * @author    Sergey Kalistratov <[email protected]>
14
- */
3
+     * JBZoo Assets
4
+     *
5
+     * This file is part of the JBZoo CCK package.
6
+     * For the full copyright and license information, please view the LICENSE
7
+     * file that was distributed with this source code.
8
+     *
9
+     * @package   Assets
10
+     * @license   MIT
11
+     * @copyright Copyright (C) JBZoo.com,  All rights reserved.
12
+     * @link      https://github.com/JBZoo/Assets
13
+     * @author    Sergey Kalistratov <[email protected]>
14
+     */
15 15
 
16 16
 namespace JBZoo\Assets;
17 17
 
Please login to merge, or discard this patch.
src/Collection.php 2 patches
Indentation   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -1,17 +1,17 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * JBZoo Assets
4
- *
5
- * This file is part of the JBZoo CCK package.
6
- * For the full copyright and license information, please view the LICENSE
7
- * file that was distributed with this source code.
8
- *
9
- * @package   Assets
10
- * @license   MIT
11
- * @copyright Copyright (C) JBZoo.com,  All rights reserved.
12
- * @link      https://github.com/JBZoo/Assets
13
- * @author    Sergey Kalistratov <[email protected]>
14
- */
3
+     * JBZoo Assets
4
+     *
5
+     * This file is part of the JBZoo CCK package.
6
+     * For the full copyright and license information, please view the LICENSE
7
+     * file that was distributed with this source code.
8
+     *
9
+     * @package   Assets
10
+     * @license   MIT
11
+     * @copyright Copyright (C) JBZoo.com,  All rights reserved.
12
+     * @link      https://github.com/JBZoo/Assets
13
+     * @author    Sergey Kalistratov <[email protected]>
14
+     */
15 15
 
16 16
 namespace JBZoo\Assets;
17 17
 
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@
 block discarded – undo
81 81
      */
82 82
     public function remove($name)
83 83
     {
84
-        $names = (array)$name;
84
+        $names = (array) $name;
85 85
         foreach ($names as $name) {
86 86
             if (Arr::key($name, $this->_assets)) {
87 87
                 unset($this->_assets[$name]);
Please login to merge, or discard this patch.
src/Manager.php 3 patches
Indentation   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -1,17 +1,17 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * JBZoo Assets
4
- *
5
- * This file is part of the JBZoo CCK package.
6
- * For the full copyright and license information, please view the LICENSE
7
- * file that was distributed with this source code.
8
- *
9
- * @package   Assets
10
- * @license   MIT
11
- * @copyright Copyright (C) JBZoo.com,  All rights reserved.
12
- * @link      https://github.com/JBZoo/Assets
13
- * @author    Sergey Kalistratov <[email protected]>
14
- */
3
+     * JBZoo Assets
4
+     *
5
+     * This file is part of the JBZoo CCK package.
6
+     * For the full copyright and license information, please view the LICENSE
7
+     * file that was distributed with this source code.
8
+     *
9
+     * @package   Assets
10
+     * @license   MIT
11
+     * @copyright Copyright (C) JBZoo.com,  All rights reserved.
12
+     * @link      https://github.com/JBZoo/Assets
13
+     * @author    Sergey Kalistratov <[email protected]>
14
+     */
15 15
 
16 16
 namespace JBZoo\Assets;
17 17
 
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -129,7 +129,7 @@
 block discarded – undo
129 129
     /**
130 130
      * Resolves asset dependencies.
131 131
      *
132
-     * @param AssetInterface|null $asset
132
+     * @param AssetInterface $asset
133 133
      * @param AssetInterface[] $resolved
134 134
      * @param AssetInterface[] $unresolved
135 135
      * @return AssetInterface[]
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -182,7 +182,7 @@
 block discarded – undo
182 182
             $asset = $i;
183 183
             list($type, $source) = $asset->load($filters);
184 184
 
185
-            if ($source && !Arr::in($source, (array)$output[$type])) {
185
+            if ($source && !Arr::in($source, (array) $output[$type])) {
186 186
                 $output[$type][] = $source;
187 187
             }
188 188
         }
Please login to merge, or discard this patch.
src/Factory.php 2 patches
Indentation   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -1,17 +1,17 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * JBZoo Assets
4
- *
5
- * This file is part of the JBZoo CCK package.
6
- * For the full copyright and license information, please view the LICENSE
7
- * file that was distributed with this source code.
8
- *
9
- * @package   Assets
10
- * @license   MIT
11
- * @copyright Copyright (C) JBZoo.com,  All rights reserved.
12
- * @link      https://github.com/JBZoo/Assets
13
- * @author    Sergey Kalistratov <[email protected]>
14
- */
3
+     * JBZoo Assets
4
+     *
5
+     * This file is part of the JBZoo CCK package.
6
+     * For the full copyright and license information, please view the LICENSE
7
+     * file that was distributed with this source code.
8
+     *
9
+     * @package   Assets
10
+     * @license   MIT
11
+     * @copyright Copyright (C) JBZoo.com,  All rights reserved.
12
+     * @link      https://github.com/JBZoo/Assets
13
+     * @author    Sergey Kalistratov <[email protected]>
14
+     */
15 15
 
16 16
 namespace JBZoo\Assets;
17 17
 
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@
 block discarded – undo
88 88
      */
89 89
     public function create($name, $source, $dependencies = [], $options = [])
90 90
     {
91
-        $dependencies = (array)$dependencies;
91
+        $dependencies = (array) $dependencies;
92 92
         $options      = $this->_normalizeOptions($options);
93 93
         $type         = $options['type'];
94 94
 
Please login to merge, or discard this patch.
src/AssetInterface.php 1 patch
Indentation   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -1,17 +1,17 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * JBZoo Assets
4
- *
5
- * This file is part of the JBZoo CCK package.
6
- * For the full copyright and license information, please view the LICENSE
7
- * file that was distributed with this source code.
8
- *
9
- * @package   Assets
10
- * @license   MIT
11
- * @copyright Copyright (C) JBZoo.com,  All rights reserved.
12
- * @link      https://github.com/JBZoo/Assets
13
- * @author    Sergey Kalistratov <[email protected]>
14
- */
3
+     * JBZoo Assets
4
+     *
5
+     * This file is part of the JBZoo CCK package.
6
+     * For the full copyright and license information, please view the LICENSE
7
+     * file that was distributed with this source code.
8
+     *
9
+     * @package   Assets
10
+     * @license   MIT
11
+     * @copyright Copyright (C) JBZoo.com,  All rights reserved.
12
+     * @link      https://github.com/JBZoo/Assets
13
+     * @author    Sergey Kalistratov <[email protected]>
14
+     */
15 15
 
16 16
 namespace JBZoo\Assets;
17 17
 
Please login to merge, or discard this patch.
src/FileAsset.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
 
89 89
 
90 90
     /**
91
-     * @param $path
91
+     * @param string $path
92 92
      * @return null|string
93 93
      */
94 94
     public function getContent($path)
@@ -167,7 +167,7 @@  discard block
 block discarded – undo
167 167
      * Add timestamp.
168 168
      *
169 169
      * @param string $path
170
-     * @return bool|string
170
+     * @return string|false
171 171
      */
172 172
     protected function _timestamp($path)
173 173
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -159,7 +159,7 @@
 block discarded – undo
159 159
      */
160 160
     protected function _lessProcess($path)
161 161
     {
162
-        $less = new Less((array)$this->_params);
162
+        $less = new Less((array) $this->_params);
163 163
         return $less->compile($path);
164 164
     }
165 165
 
Please login to merge, or discard this patch.
src/Filter/FilterInterface.php 1 patch
Indentation   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -1,17 +1,17 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * JBZoo Assets
4
- *
5
- * This file is part of the JBZoo CCK package.
6
- * For the full copyright and license information, please view the LICENSE
7
- * file that was distributed with this source code.
8
- *
9
- * @package   Assets
10
- * @license   MIT
11
- * @copyright Copyright (C) JBZoo.com,  All rights reserved.
12
- * @link      https://github.com/JBZoo/Assets
13
- * @author    Sergey Kalistratov <[email protected]>
14
- */
3
+     * JBZoo Assets
4
+     *
5
+     * This file is part of the JBZoo CCK package.
6
+     * For the full copyright and license information, please view the LICENSE
7
+     * file that was distributed with this source code.
8
+     *
9
+     * @package   Assets
10
+     * @license   MIT
11
+     * @copyright Copyright (C) JBZoo.com,  All rights reserved.
12
+     * @link      https://github.com/JBZoo/Assets
13
+     * @author    Sergey Kalistratov <[email protected]>
14
+     */
15 15
 
16 16
 namespace JBZoo\Assets;
17 17
 
Please login to merge, or discard this patch.
src/Filter/CompressorAbstract.php 1 patch
Indentation   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -1,17 +1,17 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * JBZoo Assets
4
- *
5
- * This file is part of the JBZoo CCK package.
6
- * For the full copyright and license information, please view the LICENSE
7
- * file that was distributed with this source code.
8
- *
9
- * @package   Assets
10
- * @license   MIT
11
- * @copyright Copyright (C) JBZoo.com,  All rights reserved.
12
- * @link      https://github.com/JBZoo/Assets
13
- * @author    Sergey Kalistratov <[email protected]>
14
- */
3
+     * JBZoo Assets
4
+     *
5
+     * This file is part of the JBZoo CCK package.
6
+     * For the full copyright and license information, please view the LICENSE
7
+     * file that was distributed with this source code.
8
+     *
9
+     * @package   Assets
10
+     * @license   MIT
11
+     * @copyright Copyright (C) JBZoo.com,  All rights reserved.
12
+     * @link      https://github.com/JBZoo/Assets
13
+     * @author    Sergey Kalistratov <[email protected]>
14
+     */
15 15
 
16 16
 namespace JBZoo\Assets;
17 17
 
Please login to merge, or discard this patch.
src/Filter/FilterAbstract.php 1 patch
Indentation   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -1,17 +1,17 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * JBZoo Assets
4
- *
5
- * This file is part of the JBZoo CCK package.
6
- * For the full copyright and license information, please view the LICENSE
7
- * file that was distributed with this source code.
8
- *
9
- * @package   Assets
10
- * @license   MIT
11
- * @copyright Copyright (C) JBZoo.com,  All rights reserved.
12
- * @link      https://github.com/JBZoo/Assets
13
- * @author    Sergey Kalistratov <[email protected]>
14
- */
3
+     * JBZoo Assets
4
+     *
5
+     * This file is part of the JBZoo CCK package.
6
+     * For the full copyright and license information, please view the LICENSE
7
+     * file that was distributed with this source code.
8
+     *
9
+     * @package   Assets
10
+     * @license   MIT
11
+     * @copyright Copyright (C) JBZoo.com,  All rights reserved.
12
+     * @link      https://github.com/JBZoo/Assets
13
+     * @author    Sergey Kalistratov <[email protected]>
14
+     */
15 15
 
16 16
 namespace JBZoo\Assets;
17 17
 
Please login to merge, or discard this patch.