TikiWiki/tiki-manager

View on GitHub

Showing 2,235 of 2,235 total issues

syntax error, unexpected 'array' (T_ARRAY), expecting function (T_FUNCTION) or const (T_CONST)
Open

    protected array $defaultDangerousDirectives = [

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

use Symfony\Component\Console\Helper\Table;
Severity: Minor
Found in src/Command/ApplyPatchCommand.php by phan

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

use TikiManager\Config\App;
Severity: Minor
Found in src/Command/EditInstanceCommand.php by phan

Suspicious array access to nullable ?array
Open

            @chmod($_ENV['SSH_KEY'], 0600);
Severity: Minor
Found in src/Config/Environment.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

Call to deprecated function \appendFlush() defined at /code/src/Libs/Helpers/functions.php:118
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:28
Open

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

Argument 1 (str) is int but \md5() takes string
Open

        $name = md5(time()) . '.tar';
Severity: Minor
Found in src/Access/FTP.php by phan

Argument 1 (str) is int but \trim() takes string
Open

        if (strlen(trim($commit_id))>0) {
Severity: Minor
Found in src/Application/Tiki.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

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

            return false;

Suspicious array access to nullable ?array|null
Open

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

Suspicious array access to nullable ?array
Open

            if (! is_writable(dirname($_ENV['DB_FILE']))) {
Severity: Minor
Found in src/Config/Environment.php by phan

Suspicious array access to nullable ?array
Open

                chmod($_ENV['DB_FILE'], 0666);
Severity: Minor
Found in src/Config/Environment.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 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
Severity
Category
Status
Source
Language