TikiWiki/tiki-manager

View on GitHub

Showing 2,085 of 2,085 total issues

Function fetch_field defined at /code/scripts/tiki/mysqldump.php:144 was previously defined at /code/scripts/tiki/mysqldump.php:93
Open

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

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 Table (\Symfony\Component\Console\Helper\Table)
Open

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

FIXME found
Open

    // FIXME: Expect all remote to be Unix-like machines
Severity: Minor
Found in src/Access/SSH.php by fixme

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

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/CloneInstanceCommand.php by phan

TODO found
Open

        // TODO: There several calls to this function, each one with different
Severity: Minor
Found in src/Libs/Host/Local.php by fixme

Argument 2 (logger) is \Symfony\Component\Console\Logger\ConsoleLogger but \TikiManager\Command\Helper\CommandHelper::removeFiles() takes \Psr\Log\LoggerInterface defined at /code/src/Command/Helper/CommandHelper.php:404
Open

        $result = CommandHelper::removeFiles($databaseFile, $logger);
Severity: Minor
Found in src/Command/DeleteDatabaseCommand.php by phan

Invalid offset 0 of array type array{}
Open

                        switch ($field_type[$i]) {
Severity: Minor
Found in scripts/tiki/mysqldump.php by phan

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

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

Argument 1 (str) is ?string but \rtrim() takes string
Open

        $src = rtrim($src, '/\\');
Severity: Minor
Found in src/Application/Restore.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($cachePath, $logger);
Severity: Minor
Found in src/Command/ClearCacheCommand.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($logsPath, $logger);
Severity: Minor
Found in src/Command/ClearLogsCommand.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

Argument 2 (default) is string but \TikiManager\Command\Helper\CommandHelper::getQuestion() takes null defined at /code/src/Command/Helper/CommandHelper.php:170
Open

                    $question = CommandHelper::getQuestion('Backup file permissions', decoct($backup_perm));
Severity: Minor
Found in src/Command/EditInstanceCommand.php by phan

FIXME found
Open

        // FIXME: Not FTP compatible
Severity: Minor
Found in src/Application/Tiki.php by fixme

TODO found
Open

        // TODO: Add intelligence as more access types get added
Severity: Minor
Found in src/Application/Instance.php by fixme

Invalid offset 2 of array type array{0:string,1:string}
Open

            $args .=  " --site=" . $match[2];
Severity: Minor
Found in scripts/tiki/sqlupgrade.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

            $args .=  " --site=" . $match[2];
Severity: Minor
Found in scripts/tiki/sqlupgrade.php by phan
Severity
Category
Status
Source
Language