aboutsummaryrefslogtreecommitdiffhomepage
path: root/application/helper/FileUtils.php
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2020-09-22 20:25:47 +0200
committerArthurHoaro <arthur@hoa.ro>2020-11-09 10:56:24 +0100
commit53054b2bf6a919fd4ff9b44b6ad1986f21f488b6 (patch)
tree39cad52645ce00fbf863ff8e482d10dfcbe7f26c /application/helper/FileUtils.php
parente09bb93e18a333eff8e6a4156f5b58ba9c7d25cd (diff)
downloadShaarli-53054b2bf6a919fd4ff9b44b6ad1986f21f488b6.tar.gz
Shaarli-53054b2bf6a919fd4ff9b44b6ad1986f21f488b6.tar.zst
Shaarli-53054b2bf6a919fd4ff9b44b6ad1986f21f488b6.zip
Apply PHP Code Beautifier on source code for linter automatic fixes
Diffstat (limited to 'application/helper/FileUtils.php')
-rw-r--r--application/helper/FileUtils.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/application/helper/FileUtils.php b/application/helper/FileUtils.php
index 2eac0793..e8a2168c 100644
--- a/application/helper/FileUtils.php
+++ b/application/helper/FileUtils.php
@@ -105,7 +105,7 @@ class FileUtils
105 } 105 }
106 106
107 foreach (new \DirectoryIterator($path) as $file) { 107 foreach (new \DirectoryIterator($path) as $file) {
108 if($file->isDot()) { 108 if ($file->isDot()) {
109 continue; 109 continue;
110 } 110 }
111 111
@@ -116,7 +116,7 @@ class FileUtils
116 116
117 if ($file->isFile()) { 117 if ($file->isFile()) {
118 unlink($file->getPathname()); 118 unlink($file->getPathname());
119 } elseif($file->isDir()) { 119 } elseif ($file->isDir()) {
120 $skipped = static::clearFolder($file->getRealPath(), true, $exclude) || $skipped; 120 $skipped = static::clearFolder($file->getRealPath(), true, $exclude) || $skipped;
121 } 121 }
122 } 122 }