PM-1123 Podar features enterprise de la version 3.0 para sacar el beta 3.0
Marcas para la deshabilitar code Scan
This commit is contained in:
@@ -52,8 +52,10 @@ pake_task('new-plugin', 'project_exists');
|
||||
pake_desc("Update the plugin attributes in all workspaces\n args: <plugin-name>");
|
||||
pake_task("update-plugin-attributes", "project_exists");
|
||||
|
||||
/*----------------------------------********---------------------------------*/
|
||||
pake_desc("Check disabled code in plugins\n args: [enterprise-plugin|custom-plugin|all|<plugin-name>]");
|
||||
pake_task("check-plugin-disabled-code", "project_exists");
|
||||
/*----------------------------------********---------------------------------*/
|
||||
|
||||
pake_desc("pack plugin in .tar file \n args: <plugin>");
|
||||
pake_task('pack-plugin', 'project_exists');
|
||||
@@ -2573,8 +2575,8 @@ function checkFileStandardCode ( $file ) {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
function checkFolderStandardCode ( $folder, $bSubFolders ) {
|
||||
/*----------------------------------********---------------------------------*/
|
||||
/*function checkFolderStandardCode ( $folder, $bSubFolders ) {
|
||||
global $aFiles;
|
||||
$rootFolder = str_replace ( PATH_TRUNK, '', $folder );
|
||||
//printf("%s \n", pakeColor::colorize($rootFolder, 'INFO'));
|
||||
@@ -2591,8 +2593,10 @@ function checkFolderStandardCode ( $folder, $bSubFolders ) {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}*/
|
||||
/*----------------------------------********---------------------------------*/
|
||||
|
||||
/*----------------------------------********---------------------------------*/
|
||||
function run_check_standard_code ( $task, $options) {
|
||||
global $aFiles;
|
||||
$aFiles = array();
|
||||
@@ -2619,7 +2623,7 @@ function run_check_standard_code ( $task, $options) {
|
||||
pakeColor::colorize($val['dos'] ? 'dos' : ' ', 'INFO'), $val['file'] );
|
||||
}
|
||||
}
|
||||
|
||||
/*----------------------------------********---------------------------------*/
|
||||
function run_update_plugin_attributes($task, $args)
|
||||
{
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user