language/english/modinfo.php
File modinfo.php
has 477 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
<?php declare(strict_types=1);
define('_MI_PUBLISHER_ADMENU1', 'Summary');
define('_MI_PUBLISHER_ADMENU2', 'Categories');
define('_MI_PUBLISHER_ADMENU3', 'Articles');
A file should declare new symbols (classes, functions, constants, etc.) and cause no other side effects, or it should execute logic with side effects, but should not do both. The first symbol is defined on line 3 and the first side effect is on line 470. Open
Open
<?php declare(strict_types=1);
- Exclude checks