module/Application/src/Form/Moder/ItemParent.php
Method __construct
has 40 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function __construct(?string $name = null, array $options = [])
{
parent::__construct($name, $options);
$this->setWrapElements(true);
Method getInputFilterSpecification
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function getInputFilterSpecification(): array // @phpstan-ignore-line
{
return [
'catname' => [
'required' => false,
syntax error, unexpected 'array' (T_ARRAY), expecting function (T_FUNCTION) or const (T_CONST)
Open
Open
private array $languages = [];
- Exclude checks