ImpressCMS/impresscms

View on GitHub

Showing 47,251 of 47,256 total issues

Blank line found at start of control structure
Open

        foreach ($this->_doubtful_requests as $key => $val) {

Visibility must be declared on method "execute"
Open

    function execute() {

Visibility must be declared on method "purify_recursive"
Open

    function purify_recursive($data) {

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

                                      // Under some configs, IIS makes SCRIPT_NAME point to php.exe :-(

Expected 0 spaces before closing bracket; 1 found
Open

<?php if (!empty( $error ) ) echo '<div class="x2-note error">' . $error . "</div>\n"; ?>

Space found after opening bracket of FOREACH loop
Open

foreach ( $languages as $lang) {

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

    $requirement['mysql']['result']=in_array("mysql",PDO::getAvailableDrivers(),TRUE) ? SUCCESS : FAILED;

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

    </thead>

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

    var $_done_dotdot = false;

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

    var $_done_isocom = false;

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

    var $_should_be_banned = false;

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

    function write_file_badips($bad_ips) {

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

    function register_bad_ips($jailed_time = 0, $ip = null) {

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

    function _bigumbrella_check_recursive($val) {

Visibility must be declared on method "get_ref_from_base64index"
Open

    function &get_ref_from_base64index(&$current, $indexes) {

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

    function check_brute_force() {

Visibility must be declared on method "execute"
Open

    function execute() {

Blank line found at start of control structure
Open

if (!defined($constpref . '_LOADED')) {

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

    <thead>

Visibility must be declared on method "errorHandler4FindOutput"
Open

        function errorHandler4FindOutput($errNo, $errStr, $errFile, $errLine) {
Severity
Category
Status
Source
Language