ImpressCMS/impresscms

View on GitHub

Showing 47,251 of 47,256 total issues

Space found after opening bracket of FOREACH loop
Open

            foreach ( $colorarray as $color3) {

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

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

Space found before comma in function call
Open

                , "define('".$key."', ".$val.")"

Visibility must be declared on method "__construct"
Open

    function __construct($post=false) {

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

    function __construct($post=false) {

Visibility must be declared on method "readPost"
Open

    function readPost() {

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

            "<table width='100%' class='outer' cellspacing='5'>

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

    {

Visibility must be declared on method "makeTboxData4Show"
Open

    function makeTboxData4Show($text, $smiley = 0) {

Visibility must be declared on method "makeTareaData4Show"
Open

    function &makeTareaData4Show(&$text, $html = 1, $smiley = 1, $xcode = 1) {

Visibility must be declared on method "makeTareaData4PreviewInForm"
Open

    function makeTareaData4PreviewInForm($text) {

Visibility must be declared on method "oopsHtmlSpecialChars"
Open

    function &oopsHtmlSpecialChars($text) {

PHP keywords must be lowercase; expected "array" but found "Array"
Open

    $pdf->setFooterFont(Array(PDF_FONT_NAME_DATA, '', PDF_FONT_SIZE_DATA));
Severity: Minor
Found in htdocs/include/pdf.php by phpcodesniffer

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

    icms_loadLanguageFile("system", "customtag", TRUE);

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

    var $error = false;

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

    var $dbhost;

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

$allowed = FALSE;

Incorrect spacing between argument "$suffix" and equals sign; 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 ( $error as $err) {

Space found after opening bracket of FOREACH loop
Open

        foreach ( $colorarray as $color2) {
Severity
Category
Status
Source
Language