Showing 482 of 487 total issues
Consider simplifying this complex logical expression. Open
Open
if ($H >= 0 && $H <= 24
&& $i >= 0 && $i <= 60
&& $s >= 0 && $s <= 60
) {
return true;
Method generateLink
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
private static function generateLink($base_url, $page = 1, $order_by = false, $order = false, $filters = false)
Method registerChange
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public function registerChange($user_id, $password_encoded, $hashing_salt, $hashing_algorithm, $hasing_iterations)
Method executeSshCommand
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public static function executeSshCommand($host, $port, $login = false, $password = false, $command = false)
Method addFilter
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public function addFilter($label, $field = false, $filter_type = self::FILTER_BASIC, $filter_values = false, $filter_condition = false)
Method generatePagination
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
private function generatePagination($no_of_pages, $order_by, $order, $applied_filter_values, $page)
Method setMessage
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public function setMessage($label_name, $param1 = null, $param2 = null, $param3 = null, $param4 = null)
Method computeReadOnlyComponentHtml
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
private function computeReadOnlyComponentHtml($field, $valueEscaped, $object,
\PiotrPolak\PepisCMS\Formbuilder\Component\ComponentInterface $component, $formatting_function_for_uneditable)
Method render
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public function render($controller, $method, $language_code = '', $pull_submenu_from_controller = false, $current_module = false)
Method computeCacheVariableName
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
private function computeCacheVariableName($controller, $method, $language_code, $pull_submenu_from_controller, $current_module)
Method button_generic
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function button_generic($label, $url, $icon_path, $extra_classes = '', $id = false)
Method renderInput
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
private function renderInput($field, $value, &$object,
\PiotrPolak\PepisCMS\Formbuilder\Component\ComponentInterface $component, $readOnly)
Method buildMenuItem
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
private function buildMenuItem($language_code, $pull_submenu_from_controller, $current_module, array $menu_map_item_template, $item)
Method renderComponent
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public function renderComponent($field, $value, $valueEscaped, &$object, $extra_css_classes)
Method renderComponent
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public function renderComponent($field, $value, $valueEscaped, &$object, $extra_css_classes)
Method renderComponent
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public function renderComponent($field, $value, $valueEscaped, &$object, $extra_css_classes)
Method renderComponent
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public function renderComponent($field, $value, $valueEscaped, &$object, $extra_css_classes)
Method load
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public function load($langfile, $idiom = '', $return = false, $add_suffix = true, $alt_path = '')
Method generateOrRegenerateModel
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
private function generateOrRegenerateModel($directory, $module_name_lower_case, $module_name_singular, $template_base_path, array $data)
Method renderComponent
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public function renderComponent($field, $value, $valueEscaped, &$object, $extra_css_classes)