TikiWiki/tiki-manager

View on GitHub

Showing 2,085 of 2,085 total issues

Call to deprecated function \warning() defined at /code/src/Libs/Helpers/functions.php:136
Open

                    warning(sprintf('%s [%d]', $cmd, $exitCode));
Severity: Minor
Found in src/Libs/Host/Local.php by phan

Argument 1 (arg) is int but \escapeshellarg() takes string
Open

            $port = escapeshellarg($this->port);
Severity: Minor
Found in src/Libs/Host/SSH.php by phan

Suspicious array access to float|int
Open

        if ($output->getVerbosity() >= $this->verbosityLevelMap[$level]) {
Severity: Minor
Found in src/Logger/ConsoleLogger.php by phan

Call to deprecated function \error() defined at /code/src/Libs/Helpers/functions.php:145
Open

            error("Trying to upgrade '{$this->repository}' to different repository: {$root}");
Severity: Minor
Found in src/Repository/SVN.php by phan

Call to deprecated function \info() defined at /code/src/Libs/Helpers/functions.php:127
Open

            info("Upgrading to '{$branch}'");
Severity: Minor
Found in src/Repository/SVN.php by phan

Possibly zero references to use statement for classlike/namespace App (\TikiManager\Config\App)
Open

use TikiManager\Config\App;

Suspicious array access to nullable ?array
Open

        if (! file_exists($_ENV['SSH_KEY']) || ! file_exists($_ENV['SSH_PUBLIC_KEY'])) {
Severity: Minor
Found in src/Config/Environment.php by phan

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

     * @param  integer Length of the password.
Severity: Info
Found in src/Ext/Password.php by phan

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

     * @param  string  Character which could be use in the
Severity: Info
Found in src/Ext/Password.php by phan

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

     * @param  string  Type
Severity: Info
Found in src/Ext/Password.php by phan

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

     * @param  integer Key
Severity: Info
Found in src/Ext/Password.php by phan

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

     * @param  string  Login
Severity: Info
Found in src/Ext/Password.php by phan

Argument #2 of this call to \stripos is typically a literal or constant but isn't, but argument #1 (which is typically a variable) is a literal or constant. The arguments may be in the wrong order.
Open

            while (stripos('pvcerus', $input[0]) === false) {
Severity: Minor
Found in src/Libs/Helpers/Checksum.php by phan

Call to deprecated function \appendFlush() defined at /code/src/Libs/Helpers/functions.php:117
Open

    echo color("$text\n", 'cyan') . appendFlush();
Severity: Minor
Found in src/Libs/Helpers/functions.php by phan

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

     * @param resource|string    the command stdin
Severity: Info
Found in src/Libs/Host/Command.php by phan

Assigning \TikiManager\Libs\Host\SSH to property but \TikiManager\Libs\Host\Command->host is \TikiManager\Libs\Host\Local
Open

        return $this->host = $host;
Severity: Minor
Found in src/Libs/Host/Command.php by phan

Call to deprecated function \info() defined at /code/src/Libs/Helpers/functions.php:127
Open

            info("Updating '{$branch}'");
Severity: Minor
Found in src/Repository/SVN.php by phan

Argument 1 (logger) is \Monolog\Logger but \TikiManager\Manager\Update\Git::setLogger() takes \Psr\Log\LoggerInterface defined at /code/src/Manager/Update/Git.php:172
Open

        $updater->setLogger($this->logger);
Severity: Minor
Found in src/Command/ManagerUpdateCommand.php by phan

Call to method getBestAccess on non-class type ?mixed
Open

            $toInstance->getBestAccess('scripting')->uploadFile($tmpFile, $targetFile);
Severity: Critical
Found in src/Command/StatsInstanceCommand.php by phan

Possibly zero references to use statement for classlike/namespace Tiki (\TikiManager\Application\Tiki)
Open

use TikiManager\Application\Tiki;
Severity
Category
Status
Source
Language