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