fix PSR12 CS

This commit is contained in:
Jean-Christian Denis 2021-11-06 14:56:29 +01:00
parent 66a0caa6c1
commit 57722643b8
Signed by: JcDenis
GPG key ID: 1B5B8C5B90B6C951
11 changed files with 35 additions and 35 deletions

View file

@ -52,4 +52,4 @@ class packmanBehaviors
&& isset($params['p'])
&& $params['p'] == 'pacKman';
}
}
}

View file

@ -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>';

View file

@ -27,4 +27,4 @@ $this->registerModule(
'details' => 'https://plugins.dotaddict.org/dc2/details/pacKman',
'repository' => 'https://raw.githubusercontent.com/JcDenis/pacKman/master/dcstore.xml'
]
);
);

View file

@ -110,4 +110,4 @@ try {
$core->error->add($e->getMessage());
return false;
}
}

View file

@ -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';

View file

@ -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)
);
);

View file

@ -231,4 +231,4 @@ class dcPackman
return $c;
}
}
}

View file

@ -124,4 +124,4 @@ class packmanFileZip extends fileZip
{
return str_replace("\r\n", "\n", $content);
}
}
}

View file

@ -214,4 +214,4 @@ class libPackman
return $modules;
}
}
}

View file

@ -331,4 +331,4 @@ $core->callBehavior('packmanAdminTabs', $core);
dcPage::helpBlock('pacKman');
echo
'</body></html>';
'</body></html>';

View file

@ -16,4 +16,4 @@ if (!defined('DC_RC_PATH')) {
if (!isset($__resources['help']['pacKman'])) {
$__resources['help']['pacKman'] = dirname(__FILE__) . '/help/help.html';
}
}