ImpressCMS/impresscms

View on GitHub

Showing 47,251 of 47,256 total issues

Incorrect spacing between default value and equals sign for argument "$suffix"; expected 1 but found 0
Open

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

Space found after opening bracket of FOREACH loop
Open

    foreach ( $fontarray as $font) {

Space found after opening bracket of FOREACH loop
Open

        foreach ( $commands as $cmd) {

Visibility must be declared on property "$distfile"
Open

    var $distfile = './templates/mainfile.dist.php';

Expected 1 space after FUNCTION keyword; 2 found
Open

    function  __construct() {

Visibility must be declared on method "doRewrite"
Open

    function doRewrite() {

Visibility must be declared on method "makeTareaData4InsideQuotes"
Open

    function makeTareaData4InsideQuotes($text) {

Visibility must be declared on method "oopsNl2Br"
Open

    function &oopsNl2Br($text) {

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

     'fr','ga','gd','ge','gf','gg','gh','gi','gl','gm','gn','gp','gq','gr','gs','gt','gu','gw',

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

     'eh','kp','me','rs','um','bv','gb','pm','sj','so','yt','su','tp','bu','cs','dd','zr');

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

define( "DB_SALT_HELP",  "This salt key will be appended to passwords in function icms_encryptPass(), and is used to create a totally unique secure password. Do Not change this key once your site is live, doing so will render ALL passwords invalid. If you are unsure, just keep the default"); // L97

Space found after opening bracket of FOREACH loop
Open

                foreach ( $this->s_tables[$cmd] as $key => $val) {

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

    var $rewrite = array();

Visibility must be declared on property "$database"
Open

    var $database;

Visibility must be declared on property "$prefix"
Open

    var $prefix;

Visibility must be declared on method "makeTboxData4Save"
Open

    function makeTboxData4Save($text) {

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

     'mr','ms','mt','mu','mv','mw','mx','my','mz','na','nc','ne','nf','ng','ni','nl','no','np',

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

define( "DB_COLLATION_HELP",  "A collation is a set of rules for comparing characters in a character set.");

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

    function OpenTable($width='100%')

Expected 0 spaces before closing bracket; 1 found
Open

if (preg_match( "/[#]?([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})/i", $fg, $ret ) )
Severity
Category
Status
Source
Language