autowp/autowp

View on GitHub

Showing 1,718 of 1,718 total issues

Parameter $requestedName is never used
Open

        $requestedName,

Parameter $requestedName is never used
Open

    public function __invoke(containerinterface $container, $requestedName, ?array $options = null): EventManager

syntax error, unexpected 'Item' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST)
Open

    private Item $item;

syntax error, unexpected 'CommentsService' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST)
Open

    private CommentsService $service;
Severity: Critical
Found in module/Application/src/Comments.php by phan

Parameter $data is never used
Open

    public function hydrate(array $data, $object): object

syntax error, unexpected 'CarOfDay' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST)
Open

    private CarOfDay $carOfDay;

syntax error, unexpected 'int' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST)
Open

    protected int $userId = 0;

Possibly zero references to use statement for classlike/namespace EscapeHtmlAttr (\Laminas\View\Helper\EscapeHtmlAttr)
Open

use Laminas\View\Helper\EscapeHtmlAttr;

Parameter $requestedName is never used
Open

        $requestedName,

syntax error, unexpected 'array' (T_ARRAY), expecting function (T_FUNCTION) or const (T_CONST)
Open

    private array $collectionValues = [];

Parameter $requestedName is never used
Open

    public function __invoke(containerinterface $container, $requestedName, ?array $options = null): AttributeId

Parameter $options is never used
Open

        ?array $options = null

syntax error, unexpected 'string' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST)
Open

    private string $defaultLanguage = 'en';
Severity: Critical
Found in module/Application/src/Language.php by phan

Parameter $priority is never used
Open

    public function attach(EventManagerInterface $events, $priority = 1): void
Severity: Minor
Found in module/Application/src/Maintenance.php by phan

syntax error, unexpected 'string' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST)
Open

    protected string $applicationConfigPath = __DIR__ . '/../../../config/application.config.php';
Severity: Critical
Found in module/Application/test/AclTest.php by phan

syntax error, unexpected 'AbstractRestHydrator' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST)
Open

    private AbstractRestHydrator $hydrator;

syntax error, unexpected 'TableGateway' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST)
Open

    private TableGateway $itemTable;

Possibly zero references to class \ApplicationTest\Other\AutoloadingTest
Open

class AutoloadingTest extends TestCase

Parameter $options is never used
Open

    public function __invoke(containerinterface $container, $requestedName, ?array $options = null): Plugin

Possibly zero references to public class constant \Application\Model\Page::MAX_CLASS
Open

    public const MAX_CLASS       = 30;
Severity: Minor
Found in module/Application/src/Model/Page.php by phan
Severity
Category
Status
Source
Language