update php-cs-fixer

This commit is contained in:
Emmanuel ROY 2020-12-09 10:26:26 +01:00
commit 46f300f890
140 changed files with 1703 additions and 1251 deletions

View file

@ -4,12 +4,13 @@ namespace MVC\Command;
class Cache
{
static public function help(){
public static function help()
{
print "explaination of the command\n\n";
}
static public function clear(){
public static function clear()
{
$git_cache_rm = system('rm -f '.VIEW_PATH.'/cache/*', $git_cache_rm_retval);
print $git_cache_rm_retval;
$git_logs_rm = system('rm -f '.LOG_PATH.'/*', $git_logs_rm_retval);
@ -18,10 +19,10 @@ class Cache
print "logs && cache cleared ! \n\n";
}
static public function stabilize(){
public static function stabilize()
{
$git_cache_rm = system('rm -f '.VIEW_PATH.'/cache/*', $git_cache_rm_retval);
print $git_cache_rm_retval;
print "cache stabilized ! \n\n";
}
}
}