ImpressCMS/impresscms

View on GitHub

Showing 47,251 of 47,256 total issues

Each PHP statement must be on a line by itself
Open

        return icms_core_Password::createSalt(5);;

Visibility must be declared on method "sanitizeForPreview"
Open

    function sanitizeForPreview($text, $allowhtml = 0, $smiley = 1, $bbcode = 1) {

Visibility must be declared on method "makeTboxData4Preview"
Open

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

Visibility must be declared on method "makeTboxData4PreviewInForm"
Open

    function makeTboxData4PreviewInForm($text) {

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

define( "DB_CHARSET_HELP",  "MySQL inclut le code ISO qui vous permet de stocker des données en utilisant une variété de code ISO et d'effectuer des comparaisons.");

Expected 1 blank line at end of file; 2 found
Open

return $search_form->render();

Incorrect spacing between default value and equals sign for argument "$rows"; 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 ( $colorarray as $color1) {

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

        'alter'        => TABLE_NOT_ALTERED,

Visibility must be declared on method "report"
Open

    function report() {

Visibility must be declared on method "checkData"
Open

    function checkData() {

Visibility must be declared on method "getDBList"
Open

    function getDBList()

Visibility must be declared on method "stripSlashesGPC"
Open

    function stripSlashesGPC($text) {

Visibility must be declared on method "sanitizeForDisplay"
Open

    function sanitizeForDisplay($text, $allowhtml = 0, $smiley = 1, $bbcode = 1) {

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

     'biz','com','edu','gov','info','int','mil','name','net','org','aero','asia','cat','coop','jobs','mobi','museum','pro','tel','travel',

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

    function OpenTable($width='100%')

Expected "function abc(...)"; found "function abc (...)"
Open

function Generate_PDF ($content, $doc_title, $doc_keywords) {
Severity: Minor
Found in htdocs/include/pdf.php by phpcodesniffer

Expected 0 spaces before opening parenthesis; 1 found
Open

function Generate_PDF ($content, $doc_title, $doc_keywords) {
Severity: Minor
Found in htdocs/include/pdf.php by phpcodesniffer

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

    $pdf->setHeaderFont(Array(PDF_FONT_NAME_MAIN, '', PDF_FONT_SIZE_MAIN));
Severity: Minor
Found in htdocs/include/pdf.php by phpcodesniffer

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

            $allowed = TRUE;
Severity
Category
Status
Source
Language