fix PSR12 CS
This commit is contained in:
parent
66a0caa6c1
commit
57722643b8
11 changed files with 35 additions and 35 deletions
|
@ -52,4 +52,4 @@ class packmanBehaviors
|
|||
&& isset($params['p'])
|
||||
&& $params['p'] == 'pacKman';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -119,4 +119,4 @@ __('Remove comments from files') . '</label></p>
|
|||
form::checkbox('packman_pack_fixnewline', 1, $packman_pack_fixnewline) . ' ' .
|
||||
__('Fix newline style from files content') . '</label></p>
|
||||
|
||||
</div>';
|
||||
</div>';
|
||||
|
|
|
@ -27,4 +27,4 @@ $this->registerModule(
|
|||
'details' => 'https://plugins.dotaddict.org/dc2/details/pacKman',
|
||||
'repository' => 'https://raw.githubusercontent.com/JcDenis/pacKman/master/dcstore.xml'
|
||||
]
|
||||
);
|
||||
);
|
||||
|
|
|
@ -110,4 +110,4 @@ try {
|
|||
$core->error->add($e->getMessage());
|
||||
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -18,4 +18,4 @@ $d = dirname(__FILE__) . '/inc/';
|
|||
|
||||
$__autoload['dcPackman'] = $d . 'class.dc.packman.php';
|
||||
$__autoload['libPackman'] = $d . 'lib.packman.php';
|
||||
$__autoload['packmanFileZip'] = $d . 'lib.packman.filezip.php';
|
||||
$__autoload['packmanFileZip'] = $d . 'lib.packman.filezip.php';
|
||||
|
|
|
@ -17,67 +17,67 @@ if (!defined('DC_CONTEXT_ADMIN')) {
|
|||
$mod_id = 'pacKman';
|
||||
|
||||
$this->addUserAction(
|
||||
/* type */
|
||||
/* type */
|
||||
'settings',
|
||||
/* action */
|
||||
/* action */
|
||||
'delete_all',
|
||||
/* ns */
|
||||
/* ns */
|
||||
$mod_id,
|
||||
/* desc */
|
||||
/* desc */
|
||||
__('delete all settings')
|
||||
);
|
||||
|
||||
$this->addUserAction(
|
||||
/* type */
|
||||
/* type */
|
||||
'plugins',
|
||||
/* action */
|
||||
/* action */
|
||||
'delete',
|
||||
/* ns */
|
||||
/* ns */
|
||||
$mod_id,
|
||||
/* desc */
|
||||
/* desc */
|
||||
__('delete plugin files')
|
||||
);
|
||||
|
||||
$this->addUserAction(
|
||||
/* type */
|
||||
/* type */
|
||||
'versions',
|
||||
/* action */
|
||||
/* action */
|
||||
'delete',
|
||||
/* ns */
|
||||
/* ns */
|
||||
$mod_id,
|
||||
/* desc */
|
||||
/* desc */
|
||||
__('delete the version number')
|
||||
);
|
||||
|
||||
$this->addDirectAction(
|
||||
/* type */
|
||||
/* type */
|
||||
'settings',
|
||||
/* action */
|
||||
/* action */
|
||||
'delete_all',
|
||||
/* ns */
|
||||
/* ns */
|
||||
$mod_id,
|
||||
/* desc */
|
||||
/* desc */
|
||||
sprintf(__('delete all %s settings'), $mod_id)
|
||||
);
|
||||
|
||||
$this->addDirectAction(
|
||||
/* type */
|
||||
/* type */
|
||||
'plugins',
|
||||
/* action */
|
||||
/* action */
|
||||
'delete',
|
||||
/* ns */
|
||||
/* ns */
|
||||
$mod_id,
|
||||
/* desc */
|
||||
/* desc */
|
||||
sprintf(__('delete %s plugin files'), $mod_id)
|
||||
);
|
||||
|
||||
$this->addDirectAction(
|
||||
/* type */
|
||||
/* type */
|
||||
'versions',
|
||||
/* action */
|
||||
/* action */
|
||||
'delete',
|
||||
/* ns */
|
||||
/* ns */
|
||||
$mod_id,
|
||||
/* desc */
|
||||
/* desc */
|
||||
sprintf(__('delete %s version number'), $mod_id)
|
||||
);
|
||||
);
|
||||
|
|
|
@ -231,4 +231,4 @@ class dcPackman
|
|||
|
||||
return $c;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -124,4 +124,4 @@ class packmanFileZip extends fileZip
|
|||
{
|
||||
return str_replace("\r\n", "\n", $content);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -214,4 +214,4 @@ class libPackman
|
|||
|
||||
return $modules;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -331,4 +331,4 @@ $core->callBehavior('packmanAdminTabs', $core);
|
|||
dcPage::helpBlock('pacKman');
|
||||
|
||||
echo
|
||||
'</body></html>';
|
||||
'</body></html>';
|
||||
|
|
|
@ -16,4 +16,4 @@ if (!defined('DC_RC_PATH')) {
|
|||
|
||||
if (!isset($__resources['help']['pacKman'])) {
|
||||
$__resources['help']['pacKman'] = dirname(__FILE__) . '/help/help.html';
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue