TikiWiki/tiki-manager

View on GitHub

Showing 2,085 of 2,085 total issues

Call with 3 arg(s) to \TikiManager\Application\Version::recordFile() which only takes 2 arg(s) defined at /code/src/Application/Version.php:162
Open

                        $version->recordFile($new[$file], $file, $app);
Severity: Info
Found in src/Libs/Helpers/Checksum.php by phan

Default value for string $values can't be array{}
Open

function promptUser($prompt, $default = false, $values = [])
Severity: Minor
Found in src/Libs/Helpers/functions.php by phan

Call with 2 arg(s) to \TikiManager\Libs\Host\SSHSeclibAdapter::setEnv() which only takes 1 arg(s) defined at /code/src/Libs/Host/SSHSeclibAdapter.php:164
Open

        $this->setenv('HTTP_ACCEPT_ENCODING', '');
Severity: Info
Found in src/Libs/Host/SSHSeclibAdapter.php by phan

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

use TikiManager\Config\App;

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

     * @param  integer Number of different password
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

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

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

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

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('drs', $input[0]) === false) {
Severity: Minor
Found in src/Libs/Helpers/Checksum.php by phan

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

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

Suspicious array access to float|int
Open

            if (in_array($this->formatLevelMap[$level], [self::ERROR, self::WARNING])) {
Severity: Minor
Found in src/Logger/ConsoleLogger.php by phan

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

use TikiManager\Application\Instance;
Severity: Minor
Found in src/Command/UpgradeInstanceCommand.php by phan

Suspicious array access to nullable ?array
Open

        if (strtoupper($_ENV['DEFAULT_VCS']) === 'SRC') {
Severity: Minor
Found in src/Config/Environment.php by phan

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

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

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

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

Possibly zero references to use statement for classlike/namespace RemoteSourceNotFoundException (\TikiManager\Manager\Update\RemoteSourceNotFoundException)
Open

use TikiManager\Manager\Update\RemoteSourceNotFoundException;
Severity: Minor
Found in src/Command/ManagerUpdateCommand.php by phan

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

use TikiManager\Application\Tiki\Versions\TikiRequirementsHelper;
Severity: Minor
Found in src/Command/Traits/InstanceUpgrade.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/Traits/InstanceUpgrade.php by phan
Severity
Category
Status
Source
Language