src/Task/File/Concat.php 1 location
|
@@ 75-77 (lines=3) @@
|
72 |
|
return Result::error($this, 'Source files are missing!'); |
73 |
|
} |
74 |
|
|
75 |
|
if (file_exists($this->dst) && !is_writable($this->dst)) { |
76 |
|
return Result::error($this, 'Destination already exists and cannot be overwritten.'); |
77 |
|
} |
78 |
|
|
79 |
|
$dump = ''; |
80 |
|
|
src/Task/Assets/Minify.php 1 location
|
@@ 253-255 (lines=3) @@
|
250 |
|
return Result::error($this, 'Unknown file destination.'); |
251 |
|
} |
252 |
|
|
253 |
|
if (file_exists($this->dst) && !is_writable($this->dst)) { |
254 |
|
return Result::error($this, 'Destination already exists and cannot be overwritten.'); |
255 |
|
} |
256 |
|
|
257 |
|
$size_before = strlen($this->text); |
258 |
|
$minified = $this->getMinifiedText(); |