TikiWiki/tiki-manager

View on GitHub

Showing 2,235 of 2,235 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

When fetching an array index from a value of type array<string>|array<string>,</string></string> found an array index of type 1, but expected the index to be of type string
Open

            $next = $_GET[1];
Severity: Minor
Found in src/Libs/Audit/Checksum.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

Function free defined at /code/scripts/tiki/mysqldump.php:129 was previously defined at /code/scripts/tiki/mysqldump.php:75
Open

    function free($result)
Severity: Minor
Found in scripts/tiki/mysqldump.php by phan

Argument 1 (path) is ?string but \pathinfo() takes string
Open

                        $info = pathinfo($target);
Severity: Minor
Found in src/Application/Restore.php by phan

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

        $dest = implode(\DIRECTORY_SEPARATOR, [Environment::get('TEMP_FOLDER'),  md5(time()), $this->instance->name]);
Severity: Minor
Found in src/Application/Restore.php by phan

Returning type void but installComposerDependencies() is declared to return null
Open

            return;
Severity: Minor
Found in src/Application/Tiki.php by phan

Suspicious array access to null
Open

                $versionsInfo[] = [
Severity: Minor
Found in src/Command/Helper/CommandHelper.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/RevertInstanceCommand.php by phan

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

use TikiManager\Config\Environment;
Severity: Minor
Found in src/Application/Discovery.php by phan

Suspicious array access to nullable ?array
Open

            if (! is_writable(dirname($_ENV['SSH_KEY']))) {
Severity: Minor
Found in src/Config/Environment.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/AccessInstanceCommand.php by phan

Suspicious array access to nullable ?array
Open

        if (! file_exists($_ENV['DB_FILE'])) {
Severity: Minor
Found in src/Config/Environment.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/CopySshKeyCommand.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 an @param annotation for config, but the param list of function setupConnection() : \TikiManager\Libs\Database\Database|null|static is empty
Open

     * @param Database|array $config
Severity: Info
Found in src/Libs/Database/Database.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/DeleteInstanceCommand.php by phan

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

use TikiManager\Config\App;

Assigning 21 to property but \TikiManager\Access\FTP->port is string
Open

        $this->port = 21;
Severity: Minor
Found in src/Access/FTP.php by phan

Possibly zero references to use statement for classlike/namespace Svn (\TikiManager\Libs\VersionControl\Svn)
Open

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