classes/Gems/Agenda/Filter/AndModelDependency.php
Method getTextSettings
has 42 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function getTextSettings()
{
$messages = array(
'gaf_id' => $this->_('Sub filter may not be the same as this filter.'),
$this->_('Filters may be chosen only once.')
Avoid unused parameters such as '$value'. Open
Open
protected function calcultateNameOutput($value, $isNew, $name, $context)
- Read upRead up
- Exclude checks
UnusedFormalParameter
Since: 0.2
Avoid passing parameters to methods or constructors and then not using those parameters.
Example
class Foo
{
private function bar($howdy)
{
// $howdy is not used
}
}
Source https://phpmd.org/rules/unusedcode.html#unusedformalparameter
Avoid unused parameters such as '$name'. Open
Open
protected function calcultateNameOutput($value, $isNew, $name, $context)
- Read upRead up
- Exclude checks
UnusedFormalParameter
Since: 0.2
Avoid passing parameters to methods or constructors and then not using those parameters.
Example
class Foo
{
private function bar($howdy)
{
// $howdy is not used
}
}
Source https://phpmd.org/rules/unusedcode.html#unusedformalparameter
Avoid unused parameters such as '$isNew'. Open
Open
protected function calcultateNameOutput($value, $isNew, $name, $context)
- Read upRead up
- Exclude checks
UnusedFormalParameter
Since: 0.2
Avoid passing parameters to methods or constructors and then not using those parameters.
Example
class Foo
{
private function bar($howdy)
{
// $howdy is not used
}
}
Source https://phpmd.org/rules/unusedcode.html#unusedformalparameter
Avoid unused parameters such as '$value'. Open
Open
public function displayFilterLink($value, $raw)
- Read upRead up
- Exclude checks
UnusedFormalParameter
Since: 0.2
Avoid passing parameters to methods or constructors and then not using those parameters.
Example
class Foo
{
private function bar($howdy)
{
// $howdy is not used
}
}