Showing 2,235 of 2,235 total issues
Argument 1 (str)
is ?'app'|?'data'|?string
but \substr()
takes string
Open
Open
if (substr($type, 0, 5) === 'conf_') {
- Exclude checks
Argument 2 (version)
is \TikiManager\Application\Version|string
but \TikiManager\Application\Application::performUpdate()
takes null
defined at /code/src/Application/Application.php:110
Open
Open
$filesToResolve = $app->performUpdate($instance, $target, $options);
- Exclude checks
Argument 1 (str)
is ?string
but \rtrim()
takes string
Open
Open
$src = rtrim($src, '/\\');
- Exclude checks
Call with 2 arg(s) to \TikiManager\Style\TikiManagerStyle::__construct()
which only takes 0 arg(s) defined at /code/src/Style/TikiManagerStyle.php:12
Open
Open
$container->set('io', new TikiManagerStyle($input, $output));
- Exclude checks
Argument 1 (str)
is null
but \strtolower()
takes string
Open
Open
$v->type = strtolower($type);
- Exclude checks
Argument 2 (logger)
is \Symfony\Component\Console\Logger\ConsoleLogger
but \TikiManager\Command\Helper\CommandHelper::clearFolderContents()
takes \Psr\Log\LoggerInterface
defined at /code/src/Command/Helper/CommandHelper.php:437
Open
Open
$result = CommandHelper::clearFolderContents($logsPath, $logger);
- Exclude checks
Suspicious array access to nullable ?array
Open
Open
if (! file_exists($_ENV['SSH_KEY']) || ! file_exists($_ENV['SSH_PUBLIC_KEY'])) {
- Exclude checks
Assigning string
to property but \TikiManager\Application\Instance->vcs_type
is null
Open
Open
$instance->vcs_type = $vcsType;
- Exclude checks
Saw possibly unextractable annotation for a fragment of comment '* @param integer Number of different password':
after integer,
did not see an element name (will guess based on comment order) Open
Open
* @param integer Number of different password
- 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:471
Open
Open
$result = CommandHelper::removeFiles($databaseFile, $logger);
- Exclude checks
Possibly zero references to use statement for classlike/namespace SymfonyStyle
(\Symfony\Component\Console\Style\SymfonyStyle)
Open
Open
use Symfony\Component\Console\Style\SymfonyStyle;
- Exclude checks
Call with 1 arg(s) to \TikiManager\Application\Application::getCompatibleVersions()
which only takes 0 arg(s) defined at /code/src/Application/Application.php:57
Open
Open
$versions = $app->getCompatibleVersions(false);
- Exclude checks
Possibly zero references to use statement for classlike/namespace Tiki
(\TikiManager\Application\Tiki)
Open
Open
use TikiManager\Application\Tiki;
- Exclude checks
Possibly zero references to use statement for classlike/namespace Instance
(\TikiManager\Application\Instance)
Open
Open
use TikiManager\Application\Instance;
- Exclude checks
Saw possibly unextractable annotation for a fragment of comment '* @param string Type of password (pronounceable, unpronounceable)':
after string,
did not see an element name (will guess based on comment order) Open
Open
* @param string Type of password (pronounceable, unpronounceable)
- 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
Doc-block of $fetchMode
in query
is phpdoc param type int
which is not a permitted replacement of the nullable param type ?int
declared in the signature ('?T' should be documented as 'T|null' or '?T') Open
Open
* @param int $fetchMode
- Exclude checks
Argument 3 (files)
is null
but \TikiManager\Libs\Host\Local::windowsSync()
takes array
defined at /code/src/Libs/Host/Local.php:235
Open
Open
null,
- Exclude checks
Argument 1 (str)
is int
but \md5()
takes string
Open
Open
[Environment::get('TEMP_FOLDER'), md5(time()), basename($this->instance->webroot)]
- Exclude checks
Argument 1 (string)
is ?string
but \strlen()
takes string
Open
Open
$target = substr($target, 0, strlen($target)-strlen($info['extension'])-1)
- Exclude checks