Showing 2,085 of 2,085 total issues
Call with 1 arg(s) to \TikiManager\Hooks\TikiCommandHook::registerPreHookVars()
which only takes 0 arg(s) defined at /code/src/Hooks/TikiCommandHook.php:139
Open
Open
parent::registerPreHookVars($vars);
- Exclude checks
Possibly zero references to use statement for classlike/namespace App
(\TikiManager\Config\App)
Open
Open
use TikiManager\Config\App;
- Exclude checks
When fetching an array index from a value of type array<string>|array<string>,</string></string>
found an array index of type 1,
but expected the index to be of type string
Open
Open
$next = $_GET[1];
- Exclude checks
Saw possibly unextractable annotation for a fragment of comment '* @param string Type':
after string,
did not see an element name (will guess based on comment order) Open
Open
* @param string Type
- Exclude checks
Function query
defined at /code/src/Libs/Helpers/functions.php:246
was previously defined at /code/scripts/tiki/mysqldump.php:50
Open
Open
function query($query, $params = null)
- Exclude checks
Saw possibly unextractable annotation for a fragment of comment '* @param integer Key':
after integer,
did not see an element name (will guess based on comment order) Open
Open
* @param integer Key
- Exclude checks
Invalid operator: left operand is array and right is not Open
Open
$this->formatLevelMap = $formatLevelMap + $this->formatLevelMap;
- Exclude checks
Saw possibly unextractable annotation for a fragment of comment '* @param string Character which could be use in the':
after string,
did not see an element name (will guess based on comment order) Open
Open
* @param string Character which could be use in the
- Exclude checks
Suspicious array access to float|int
Open
Open
if (self::ERROR === $this->formatLevelMap[$level]) {
- Exclude checks
Saw an @param annotation for config,
but the param list of function setupConnection() : \TikiManager\Libs\Database\Database|null|static
is empty Open
Open
* @param Database|array $config
- Exclude checks
Default value for string
$default
can't be false
Open
Open
function promptUser($prompt, $default = false, $values = [])
- Exclude checks
Call to deprecated function \error()
defined at /code/src/Libs/Helpers/functions.php:145
Open
Open
error("Invalid response.\n");
- Exclude checks
Possibly zero references to use statement for classlike/namespace App
(\TikiManager\Config\App)
Open
Open
use TikiManager\Config\App;
- Exclude checks
Suspicious array access to nullable ?array
Open
Open
$db = new PDOWrapper('sqlite:' . $_ENV['DB_FILE']);
- Exclude checks
Saw possibly unextractable annotation for a fragment of comment '* @param string Login':
after string,
did not see an element name (will guess based on comment order) Open
Open
* @param string Login
- Exclude checks
Call to deprecated function \error()
defined at /code/src/Libs/Helpers/functions.php:145
Open
Open
error("Unsupported query parameter type: array\n");
- Exclude checks
Call with 3 arg(s) to \TikiManager\Libs\VersionControl\Svn::exec()
which only takes 2 arg(s) defined at /code/src/Libs/VersionControl/Svn.php:109
Open
Open
$allFiles = $this->exec($folder, $command, true);
- Exclude checks
Saw an @param annotation for options,
but it was not found in the param list of function __construct(\TikiManager\Application\Instance $instance, array $vcsOptions = null, ?\Psr\Log\LoggerInterface $logger = null)
Open
Open
* @param array $options An array with settings on how the VCS should behaviour
- Exclude checks
Possibly zero references to use statement for classlike/namespace Environment
(\TikiManager\Config\Environment)
Open
Open
use TikiManager\Config\Environment;
- Exclude checks
Suspicious array access to ?mixed
Open
Open
$payload[] = is_object($instance) ? $instance->id : $instance['id'];
- Exclude checks