Showing 2,085 of 2,085 total issues
Argument 1 (path)
is ?string
but \dirname()
takes string
Open
Open
$rootPath = ($isPhar ? realpath(dirname($pharPath)) : $this->homeDirectory);
- Exclude checks
Suspicious array access to nullable ?array
Open
Open
$key = $_ENV['SSH_KEY'];
- Exclude checks
Suspicious array access to nullable ?array
Open
Open
@chmod($_ENV['SSH_KEY'], 0600);
- Exclude checks
Saw possibly unextractable annotation for a fragment of comment '* @param integer Length of the password':
after integer,
did not see an element name (will guess based on comment order) Open
Open
* @param integer Length of the password
- Exclude checks
Returning type null
but getStdout()
is declared to return resource
Open
Open
return $this->stdout ?: null;
- Exclude checks
Suspicious array access to null
Open
Open
$instancesInfo[] = [
- Exclude checks
Possibly zero references to use statement for classlike/namespace App
(\TikiManager\Config\App)
Open
Open
use TikiManager\Config\App;
- Exclude checks
Call with 1 arg(s) to \TikiManager\Logger\ArrayHandler::__construct()
which only takes 0 arg(s) defined at /code/src/Logger/ArrayHandler.php:7
Open
Open
$arrHandler = new ArrayHandler(Logger::ERROR);
- Exclude checks
Suspicious array access to nullable ?array|null
Open
Open
if (file_exists($_ENV['TRIM_DATA'] . "/id_dsa") &&
- 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
Possibly zero references to use statement for classlike/namespace Version
(\TikiManager\Application\Version)
Open
Open
use TikiManager\Application\Version;
- Exclude checks
Argument 2 (port)
is string
but \ftp_connect()
takes int
Open
Open
$conn = ftp_connect($this->host, $this->port, 15);
- Exclude checks
Argument 2 (log)
is \Monolog\Logger
but \TikiManager\Command\ImportInstanceCommand::isMissingPHPRequirements()
takes \Psr\Log\LoggerInterface
defined at /code/src/Command/Traits/InstanceConfigure.php:626
Open
Open
if (! $skipPhpCheck && $this->isMissingPHPRequirements($instance, $this->logger)) {
- Exclude checks
Returning type false
but execute()
is declared to return int
Open
Open
return false;
- Exclude checks
Argument 2 (logger)
is \Symfony\Component\Console\Logger\ConsoleLogger
but \TikiManager\Command\Helper\CommandHelper::removeFiles()
takes \Psr\Log\LoggerInterface
defined at /code/src/Command/Helper/CommandHelper.php:404
Open
Open
$result = CommandHelper::removeFiles($databaseFile, $logger);
- Exclude checks
Possibly zero references to use statement for classlike/namespace App
(\TikiManager\Config\App)
Open
Open
use TikiManager\Config\App;
- Exclude checks
Call to method getBestAccess
on non-class type ?mixed
Open
Open
if (!$toInstance->getBestAccess('scripting')->fileExists($targetFile)) {
- Exclude checks
Suspicious array access to nullable ?array
Open
Open
if (! is_writable(dirname($_ENV['SSH_KEY']))) {
- Exclude checks
Suspicious array access to nullable ?array
Open
Open
if (! file_exists($_ENV['DB_FILE'])) {
- 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