Showing 2,235 of 2,235 total issues
Suspicious array access to float|int
Open
Open
if (in_array($this->formatLevelMap[$level], [self::ERROR, self::WARNING])) {
- Exclude checks
Default value for string
$values
can't be array{}
Open
Open
function promptUser($prompt, $default = false, $values = [])
- Exclude checks
Call to deprecated function \error()
defined at /code/src/Libs/Helpers/functions.php:146
Open
Open
error("Invalid response.\n");
- Exclude checks
Argument 1 (arg)
is int
but \escapeshellarg()
takes string
Open
Open
$port = escapeshellarg($this->port);
- Exclude checks
Invalid operator: left operand is array and right is not Open
Open
$this->verbosityLevelMap = $verbosityLevelMap + $this->verbosityLevelMap;
- Exclude checks
Argument 2 (port)
is string
but \ftp_connect()
takes int
Open
Open
$conn = ftp_connect($this->host, $this->port, 15);
- 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:108
Open
Open
$allFiles = $this->exec($folder, 'status', true);
- Exclude checks
Suspicious array access to float|int
Open
Open
if (self::ERROR === $this->formatLevelMap[$level]) {
- Exclude checks
Returning type null
but getStdout()
is declared to return resource
Open
Open
return $this->stdout ?: null;
- Exclude checks
Saw possibly unextractable annotation for a fragment of comment '* @param resource|string the command stdin':
after resource|string,
did not see an element name (will guess based on comment order) Open
Open
* @param resource|string the command stdin
- Exclude checks
Suspicious array access to float|int
Open
Open
if ($output->getVerbosity() >= $this->verbosityLevelMap[$level]) {
- Exclude checks
Suspicious type null
of a variable or expression used to build a string. (Expected type to be able to cast to a string) Open
Open
git branch --set-upstream-to=<remote>/<branch> {$branch}
- Exclude checks
Call to deprecated function \error()
defined at /code/src/Libs/Helpers/functions.php:146
Open
Open
error("Trying to upgrade '{$this->repository}' to different repository: {$root}");
- Exclude checks
Argument 2 (replace)
is int
but \str_replace()
takes array|string
Open
Open
$query = str_replace($key, (int)$value, $query);
- Exclude checks
Assigning \TikiManager\Libs\Host\SSH
to property but \TikiManager\Libs\Host\Command->host
is \TikiManager\Libs\Host\Local
Open
Open
return $this->host = $host;
- Exclude checks