TikiWiki/tiki-manager

View on GitHub

Showing 2,085 of 2,085 total issues

TODO found
Open

                    // TODO Requires implementation
Severity: Minor
Found in src/Application/Tiki.php by fixme

Argument 2 (str) is ?string but \explode() takes string
Open

foreach (explode("\n", $out) as $line) {
Severity: Minor
Found in scripts/tiki/get_directory_list.php by phan

Argument 2 (log) is \Monolog\Logger but \TikiManager\Command\CreateInstanceCommand::isMissingPHPRequirements() takes \Psr\Log\LoggerInterface defined at /code/src/Command/Traits/InstanceConfigure.php:626
Open

            if (! $skipPhpCheck && $this->isMissingPHPRequirements($instance, $this->logger)) {
Severity: Minor
Found in src/Command/CreateInstanceCommand.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/WatchInstanceCommand.php by phan

Doc-block of getHooksFolder contains declared return type null which is incompatible with the return type string declared in the signature
Open

     * @return null|string
Severity: Minor
Found in src/Hooks/HookHandler.php by phan

Doc-block of $fetchModeArgs in query contains phpdoc param type mixed which is incompatible with the param type \TikiManager\Libs\Helpers\mixed declared in the signature
Open

     * @param mixed $fetchModeArgs
Severity: Minor
Found in src/Libs/Helpers/PDOWrapper.php by phan

Found a return statement with a value in the implementation of the magic method \TikiManager\Libs\Helpers\Wrapper::__set, expected void return type
Open

    public function __set($name, $value)
Severity: Info
Found in src/Libs/Helpers/Wrapper.php by phan

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

use Symfony\Component\Finder\Finder;
Severity: Minor
Found in src/Libs/VersionControl/Svn.php by phan

Call with 3 arg(s) to \TikiManager\Libs\VersionControl\Svn::exec() which only takes 2 arg(s) defined at /code/src/Libs/VersionControl/Svn.php:109
Open

        $allFiles = $this->exec($folder, 'status', true);
Severity: Info
Found in src/Libs/VersionControl/Svn.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/RestoreInstanceCommand.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

Call with 2 arg(s) to \TikiManager\Style\TikiManagerStyle::__construct() which only takes 0 arg(s) defined at /code/src/Style/TikiManagerStyle.php:12
Open

        $container->set('io', new TikiManagerStyle($input, $output));
Severity: Info
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

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 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

Doc-block of $fetchMode in query is phpdoc param type int which is not a permitted replacement of the nullable param type ?int declared in the signature ('?T' should be documented as 'T|null' or '?T')
Open

     * @param int $fetchMode
Severity: Minor
Found in src/Libs/Helpers/PDOWrapper.php by phan

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

    echo color("$text\n", 'yellow') . 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", 'yellow') . appendFlush();
Severity: Minor
Found in src/Libs/Helpers/functions.php by phan

Argument 2 (replace) is int but \str_replace() takes array|string
Open

            $query = str_replace($key, (int)$value, $query);
Severity: Minor
Found in src/Libs/Helpers/functions.php by phan
Severity
Category
Status
Source
Language