TikiWiki/tiki-manager

View on GitHub

Showing 2,085 of 2,085 total issues

The method PHPSqlite is not named in camelCase.
Open

    private static function PHPSqlite()
    {
        return in_array('sqlite', PDO::getAvailableDrivers());
    }

CamelCaseMethodName

Since: 0.2

It is considered best practice to use the camelCase notation to name methods.

Example

class ClassName {
    public function get_name() {
    }
}

Source

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

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

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

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 Instance (\TikiManager\Application\Instance)
Open

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

TODO found
Open

    // TODO: change directory using FTP
Severity: Minor
Found in src/Access/FTP.php by fixme

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

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

TODO found
Open

            // TODO: File ownership under the webroot should be configurable per instance.
Severity: Minor
Found in src/Application/Tiki.php by fixme

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($backupPath, $logger);
Severity: Minor
Found in src/Command/DeleteBackupCommand.php by phan

Function query defined at /code/scripts/tiki/mysqldump.php:109 was previously defined at /code/scripts/tiki/mysqldump.php:50
Open

    function query($sql)
Severity: Minor
Found in scripts/tiki/mysqldump.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

Saw an @param annotation for manifest_file, but it was not found in the param list of function setIniFilesToExclude($manifest)
Open

     * @param $manifest_file
Severity: Info
Found in src/Application/Restore.php by phan

Function connect defined at /code/scripts/tiki/mysqldump.php:99 was previously defined at /code/scripts/tiki/mysqldump.php:39
Open

    function connect($host, $user, $pass)
Severity: Minor
Found in scripts/tiki/mysqldump.php by phan

Function escape defined at /code/scripts/tiki/mysqldump.php:134 was previously defined at /code/scripts/tiki/mysqldump.php:81
Open

    function escape($data)
Severity: Minor
Found in scripts/tiki/mysqldump.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

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

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

FIXME found
Open

            // FIXME: Not FTP compatible ? prior to 3.0 only
Severity: Minor
Found in src/Application/Tiki.php by fixme

TODO found
Open

        // TODO MAKE IT RECURSIVE
Severity: Minor
Found in src/Libs/Host/FTP.php by fixme

TODO found
Open

        // TODO SUPPORT @hourly and other @formats?
Severity
Category
Status
Source
Language