ImpressCMS/impresscms

View on GitHub

Showing 47,251 of 47,256 total issues

Expected 1 space after comma in function call; 2 found
Open

define( "DB_HOST_HELP",  "Hostname of the database server. If you are unsure, <em>localhost</em> works in most cases"); // L67

Expected 1 space after comma in function call; 2 found
Open

define( "DB_NAME_HELP",  "The name of database on the host. The installer will attempt to create a database if one does not exist"); // L64

Expected 1 space after comma in function call; 2 found
Open

define( "DB_USER_HELP",  "Nom pour se connecter au serveur de la base de donn&eacute;es"); // L65

Expected 1 space after comma in function call; 2 found
Open

define( "DB_PREFIX_HELP",  "Ce prefixe sera ajout&eacute; &agrave; toutes tables cr&eacute;&eacute;es afin d'&eacute;viter les conflits de noms de tables dans la base de donn&eacute;es. Si vous n'&ecirc;tes pas sur, veuillez utiliser ce qui vous est propos&eacute; (pr&eacute;fix g&eacute;n&eacute;r&eacute;s al&eacute;atoirement)"); // L63

Opening brace should be on the same line as the declaration
Open

    {

Tabs must be used to indent lines; spaces are not allowed
Open

        'insert'    => ROWS_INSERTED,

Tabs must be used to indent lines; spaces are not allowed
Open

        'create'    => TABLE_NOT_CREATED,

The var keyword must not be used to declare a property
Open

    var $report = '';

Visibility must be declared on property "$root_path"
Open

    var $root_path;

Visibility must be declared on method "editform_sub"
Open

    function editform_sub($title, $desc, $name, $value) {

Visibility must be declared on method "makeTboxData4Edit"
Open

    function makeTboxData4Edit($text) {

Tabs must be used to indent lines; spaces are not allowed
Open

     're','ro','ru','rw','sa','sb','sc','sd','se','sg','sh','si','sk','sl','sm','sn','sr','st',

Expected 1 space after comma in function call; 2 found
Open

define( "DB_PCONNECT_HELP",  "Par d&eacute;faut c'est 'NON'. Choisissez 'NON' si vous n'&ecirc;tes pas s&ucirc;r."); // L69

TRUE, FALSE and NULL must be lowercase; expected "true" but found "TRUE"
Open

    $pdf->SetAutoPageBreak(TRUE, PDF_MARGIN_BOTTOM);
Severity: Minor
Found in htdocs/include/pdf.php by phpcodesniffer

Incorrect spacing between argument "$rows" and equals sign; expected 1 but found 0
Open

function xoopsCodeTarea($textarea_id, $cols=60, $rows=15, $suffix=null)

Opening brace should be on the same line as the declaration
Open

{

Tabs must be used to indent lines; spaces are not allowed
Open

        'alter'        => TABLE_ALTERED,

Visibility must be declared on property "$path"
Open

    var $path = '../mainfile.php';

The var keyword must not be used to declare a property
Open

    var $dbpass;

The var keyword must not be used to declare a property
Open

    var $prefix;
Severity
Category
Status
Source
Language