mambax7/songlist

View on GitHub
header.php

Summary

Maintainability
A
0 mins
Test Coverage

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 23 and the first side effect is on line 20.
Open

<?php declare(strict_types=1);
Severity: Minor
Found in header.php by phpcodesniffer

Line exceeds 120 characters; contains 127 characters
Open

$GLOBALS['cid']   = ((($_POST['cid'] ?? isset($_GET['cid'])) ? $_GET['cid'] : isset($_SESSION['cid'])) ? $_SESSION['cid'] : 0);
Severity: Minor
Found in header.php by phpcodesniffer

Line exceeds 120 characters; contains 124 characters
Open

//require_once XOOPS_ROOT_PATH . '/modules/' . $GLOBALS['songlistModule']->getVar('dirname') . '/include/songlist.form.php';
Severity: Minor
Found in header.php by phpcodesniffer

Line exceeds 120 characters; contains 126 characters
Open

$GLOBALS['limit'] = $_REQUEST['limit'] ?? $GLOBALS['songlistModuleConfig']['cols'] * $GLOBALS['songlistModuleConfig']['rows'];
Severity: Minor
Found in header.php by phpcodesniffer

Line exceeds 120 characters; contains 124 characters
Open

require_once XOOPS_ROOT_PATH . '/modules/' . $GLOBALS['songlistModule']->getVar('dirname') . '/include/songlist.object.php';
Severity: Minor
Found in header.php by phpcodesniffer

There are no issues that match your filters.

Category
Status