ImpressCMS/impresscms

View on GitHub

Showing 47,251 of 47,256 total issues

Space found after opening bracket of FOREACH loop
Open

    foreach ( $keys as $k) {

Visibility must be declared on method "execute"
Open

    function execute() {

Visibility must be declared on method "execute"
Open

    function execute() {

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

        <div class="dbconn_line"><?php echo xoFormField( 'DB_HOST',    $vars['DB_HOST'],        DB_HOST_LABEL, DB_HOST_HELP ); ?>

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

                $ret[] = icms_core_Message::error("Failed to move protector preload - your site is not protected.", "", FALSE);

Visibility must be declared on method "eventStartCoreBoot"
Open

    function eventStartCoreBoot() {

Each PHP statement must be on a line by itself
Open

                            $msgs[] = '&nbsp;&nbsp;ERROR: Could not create '.$blocks[$i]['name'];echo $sql;

Blank line found at end of control structure
Open


Blank line found at end of control structure
Open


Expected 0 spaces before closing bracket; 1 found
Open

if (extension_loaded( 'xml' ) )        $ext[] = 'XML';

Space found after opening bracket of FOREACH loop
Open

        foreach ( $paths as $path) {

Space found after opening bracket of FOREACH loop
Open

<?php foreach ( $results as $upd => $res) { ?>
Severity: Minor
Found in upgrade/check_version.php by phpcodesniffer

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

    var $_dblayertrap_doubtful_needles = array('information_schema', 'select', "'", '"');

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

    var $_done_intval = false;

Visibility must be declared on property "$_done_isocom"
Open

    var $_done_isocom = false;

Visibility must be declared on property "$_safe_isocom"
Open

    var $_safe_isocom = true;

Method name "Protector::_initial_recursive" is not in camel caps format
Open

    function _initial_recursive($val, $key) {

Visibility must be declared on method "getInstance"
Open

    static function &getInstance() {

Visibility must be declared on method "write_file_badips"
Open

    function write_file_badips($bad_ips) {

Method name "Protector::get_filepath4badips" is not in camel caps format
Open

    function get_filepath4badips() {
Severity
Category
Status
Source
Language