mirror of
https://github.com/mrclay/minify.git
synced 2025-08-09 15:46:34 +02:00
php-cs fixes
1) Minify.php (return) 2) Minify/Env.php (return) 3) Minify/JS/JShrink.php (return) 4) Minify/HTML/Helper.php (return) 5) Minify/Logger/LegacyHandler.php (unused_use) 6) Minify/Lines.php (return) 7) Minify/Controller/Files.php (unused_use) 8) Minify/ControllerInterface.php (unused_use) 9) Minify/Cache/File.php (return)
This commit is contained in:
@@ -64,6 +64,7 @@ class Minify_Cache_File implements Minify_CacheInterface {
|
||||
if ($data !== $this->fetch($id)) {
|
||||
@unlink($file);
|
||||
$this->logger->warning("Minify_Cache_File: Post-write read failed for '$file'");
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -160,6 +161,7 @@ class Minify_Cache_File implements Minify_CacheInterface {
|
||||
public static function tmp()
|
||||
{
|
||||
trigger_error(__METHOD__ . ' is deprecated in Minfy 3.0', E_USER_DEPRECATED);
|
||||
|
||||
return sys_get_temp_dir();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user