TikiWiki/tiki-manager

View on GitHub

Showing 2,235 of 2,235 total issues

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 App (\TikiManager\Config\App)
Open

use TikiManager\Config\App;
Severity: Minor
Found in src/Command/ConsoleInstanceCommand.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:437
Open

        $result = CommandHelper::clearFolderContents($dirs, $logger);
Severity: Minor
Found in src/Command/ResetManagerCommand.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

Call with 1 arg(s) to \TikiManager\Hooks\TikiCommandHook::registerPreHookVars() which only takes 0 arg(s) defined at /code/src/Hooks/TikiCommandHook.php:139
Open

        parent::registerPreHookVars($vars);

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

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

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

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

Assigning false to property but \TikiManager\Access\Local->changeLocation is string
Open

                    $this->changeLocation = false;
Severity: Minor
Found in src/Access/Local.php by phan

Assigning false to property but \TikiManager\Access\SSH->changeLocation is string
Open

                $this->changeLocation = false;
Severity: Minor
Found in src/Access/SSH.php by phan

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

        $this->vcs_instance->update($this->instance->webroot, $version->branch, $lag, $revision);
Severity: Info
Found in src/Application/Tiki.php by phan

Suspicious array access to null
Open

            $instancesInfo[] = array_merge($instance_initial_infos, $extra);
Severity: Minor
Found in src/Command/Helper/CommandHelper.php by phan

Suspicious array access to nullable ?array
Open

            $db = new PDOWrapper('sqlite:' . $_ENV['DB_FILE']);
Severity: Minor
Found in src/Config/Environment.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

Saw possibly unextractable annotation for a fragment of comment '* @param string Character which could be use in the': after string, did not see an element name (will guess based on comment order)
Open

     * @param  string  Character which could be use in the
Severity: Info
Found in src/Ext/Password.php by phan

Saw possibly unextractable annotation for a fragment of comment '* @param array Login': after array, did not see an element name (will guess based on comment order)
Open

     * @param  array   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 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

Function readline defined at /code/src/Libs/Helpers/functions.php:16 was previously defined internally
Open

    function readline($prompt)
Severity: Minor
Found in src/Libs/Helpers/functions.php by phan

Saw an @param annotation for options, but it was not found in the param list of function __construct(\TikiManager\Application\Instance $instance, array $vcsOptions = null, ?\Psr\Log\LoggerInterface $logger = null)
Open

     * @param array $options An array with settings on how the VCS should behaviour

Invalid operator: left operand is array and right is not
Open

        $this->formatLevelMap = $formatLevelMap + $this->formatLevelMap;
Severity: Minor
Found in src/Logger/ConsoleLogger.php by phan
Severity
Category
Status
Source
Language