TikiWiki/tiki-manager

View on GitHub

Showing 2,085 of 2,085 total issues

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

Possibly zero references to use statement for classlike/namespace SymfonyStyle (\Symfony\Component\Console\Style\SymfonyStyle)
Open

use Symfony\Component\Console\Style\SymfonyStyle;
Severity: Minor
Found in src/Libs/Helpers/Checksum.php by phan

Invalid operator: left operand of >> is mixed (expected int)
Open

                $modes[($cur_mode >> 6) & 0b111],
Severity: Minor
Found in src/Libs/Helpers/functions.php by phan

Suspicious type null of a variable or expression used to build a string. (Expected type to be able to cast to a string)
Open

    git branch --set-upstream-to=<remote>/<branch> {$branch}

When fetching an array index from a value of type array{30:'black',31:'red',32:'green',33:'yellow',34:'blue',35:'magenta',36:'cyan',37:'white'}, found an array index of type string, but expected the index to be of type int
Open

                $out .= 'color:'.self::$availableForegroundColors[$code].';';

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

use TikiManager\Config\App;

Argument 2 (version) is \TikiManager\Application\Version|string but \TikiManager\Application\Application::performUpdate() takes null defined at /code/src/Application/Application.php:110
Open

            $filesToResolve = $app->performUpdate($instance, $target, $options);
Severity: Minor
Found in src/Command/UpdateInstanceCommand.php by phan

Suspicious array access to nullable ?array|null
Open

                    $_ENV['SSH_PUBLIC_KEY']
Severity: Minor
Found in src/Config/Environment.php by phan

Saw possibly unextractable annotation for a fragment of comment '* @param array Login': after array, did not see an element name (will guess based on comment order)
Open

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

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

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

Invalid operator: left operand of >> is mixed (expected int)
Open

    $exp_mode = (($cur_mode >> 6) << 6) | 0b111000000;
Severity: Minor
Found in src/Libs/Helpers/functions.php by phan

Returning type null but getStdin() is declared to return resource
Open

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

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:370
Open

        $result = CommandHelper::clearFolderContents($dirs, $logger);
Severity: Minor
Found in src/Command/ResetManagerCommand.php by phan

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

     * @param  string  Type of password (pronounceable, unpronounceable)
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

Possibly zero references to use statement for classlike/namespace CommandHelper (\TikiManager\Command\Helper\CommandHelper)
Open

use TikiManager\Command\Helper\CommandHelper;
Severity: Minor
Found in src/Command/ImportInstanceCommand.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

Returning type false but execute() is declared to return int
Open

            return false;

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

use TikiManager\Application\Instance;
Severity: Minor
Found in src/Hooks/HookInterface.php by phan
Severity
Category
Status
Source
Language