Test Failed
Push — master ( 0ea38b...b999ba )
by Joe
02:53
created
src/Plugin.php 1 patch
Upper-Lower-Casing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -153,14 +153,14 @@
 block discarded – undo
153 153
 
154 154
 	public static function SetfaclPermissionsSetter($path) {
155 155
 		if (!is_dir($path))
156
-			mkdir($path, 0777, true);
156
+			mkdir($path, 0777, TRUE);
157 157
 		self::runCommand('setfacl -m u:"%httpduser%":rwX -m u:$USER:rwX %path%', $path);
158 158
 		self::runCommand('setfacl -d -m u:"%httpduser%":rwX -m u:$USER:rwX %path%', $path);
159 159
 	}
160 160
 
161 161
 	public static function ChmodPermissionsSetter($path) {
162 162
 		if (!is_dir($path))
163
-			mkdir($path, 0777, true);
163
+			mkdir($path, 0777, TRUE);
164 164
 		self::runCommand('chmod +a "%httpduser% allow delete,write,append,file_inherit,directory_inherit" %path%', $path);
165 165
 		self::runCommand('chmod +a "$USER allow delete,write,append,file_inherit,directory_inherit" %path%', $path);
166 166
 	}
Please login to merge, or discard this patch.