YetiForceCompany/YetiForceCRM

View on GitHub
config/Debug.php

Summary

Maintainability
A
0 mins
Test Coverage
F
0%

The class Debug has 40 fields. Consider redesigning Debug to keep the number of fields under 15.
Open

class Debug
{
    /** Enable saving logs to file. Values: false/true */
    public static $LOG_TO_FILE = false;

Severity: Minor
Found in config/Debug.php by phpmd

TooManyFields

Since: 0.1

Classes that have too many fields could be redesigned to have fewer fields, possibly through some nested object grouping of some of the information. For example, a class with city/state/zip fields could instead have one Address field.

Example

class Person {
   protected $one;
   private $two;
   private $three;
   [... many more fields ...]
}

Source https://phpmd.org/rules/codesize.html#toomanyfields

Avoid excessively long variable names like $apiShowExceptionBacktrace. Keep variable name length under 20.
Open

    public static $apiShowExceptionBacktrace = false;
Severity: Minor
Found in config/Debug.php by phpmd

LongVariable

Since: 0.2

Detects when a field, formal or local variable is declared with a long name.

Example

class Something {
    protected $reallyLongIntName = -3; // VIOLATION - Field
    public static function main( array $interestingArgumentsList[] ) { // VIOLATION - Formal
        $otherReallyLongName = -5; // VIOLATION - Local
        for ($interestingIntIndex = 0; // VIOLATION - For
             $interestingIntIndex < 10;
             $interestingIntIndex++ ) {
        }
    }
}

Source https://phpmd.org/rules/naming.html#longvariable

Avoid excessively long variable names like $ROUNDCUBE_PER_USER_LOGGING. Keep variable name length under 20.
Open

    public static $ROUNDCUBE_PER_USER_LOGGING = false;
Severity: Minor
Found in config/Debug.php by phpmd

LongVariable

Since: 0.2

Detects when a field, formal or local variable is declared with a long name.

Example

class Something {
    protected $reallyLongIntName = -3; // VIOLATION - Field
    public static function main( array $interestingArgumentsList[] ) { // VIOLATION - Formal
        $otherReallyLongName = -5; // VIOLATION - Local
        for ($interestingIntIndex = 0; // VIOLATION - For
             $interestingIntIndex < 10;
             $interestingIntIndex++ ) {
        }
    }
}

Source https://phpmd.org/rules/naming.html#longvariable

Avoid excessively long variable names like $DEBUG_CONSOLE_ALLOWED_USERS. Keep variable name length under 20.
Open

    public static $DEBUG_CONSOLE_ALLOWED_USERS = [];
Severity: Minor
Found in config/Debug.php by phpmd

LongVariable

Since: 0.2

Detects when a field, formal or local variable is declared with a long name.

Example

class Something {
    protected $reallyLongIntName = -3; // VIOLATION - Field
    public static function main( array $interestingArgumentsList[] ) { // VIOLATION - Formal
        $otherReallyLongName = -5; // VIOLATION - Local
        for ($interestingIntIndex = 0; // VIOLATION - For
             $interestingIntIndex < 10;
             $interestingIntIndex++ ) {
        }
    }
}

Source https://phpmd.org/rules/naming.html#longvariable

Avoid excessively long variable names like $DEBUG_CONSOLE_ALLOWED_IPS. Keep variable name length under 20.
Open

    public static $DEBUG_CONSOLE_ALLOWED_IPS = false;
Severity: Minor
Found in config/Debug.php by phpmd

LongVariable

Since: 0.2

Detects when a field, formal or local variable is declared with a long name.

Example

class Something {
    protected $reallyLongIntName = -3; // VIOLATION - Field
    public static function main( array $interestingArgumentsList[] ) { // VIOLATION - Formal
        $otherReallyLongName = -5; // VIOLATION - Local
        for ($interestingIntIndex = 0; // VIOLATION - For
             $interestingIntIndex < 10;
             $interestingIntIndex++ ) {
        }
    }
}

Source https://phpmd.org/rules/naming.html#longvariable

Avoid excessively long variable names like $EXCEPTION_ERROR_LEVEL. Keep variable name length under 20.
Open

    public static $EXCEPTION_ERROR_LEVEL = E_ALL & ~E_NOTICE;
Severity: Minor
Found in config/Debug.php by phpmd

LongVariable

Since: 0.2

Detects when a field, formal or local variable is declared with a long name.

Example

class Something {
    protected $reallyLongIntName = -3; // VIOLATION - Field
    public static function main( array $interestingArgumentsList[] ) { // VIOLATION - Formal
        $otherReallyLongName = -5; // VIOLATION - Local
        for ($interestingIntIndex = 0; // VIOLATION - For
             $interestingIntIndex < 10;
             $interestingIntIndex++ ) {
        }
    }
}

Source https://phpmd.org/rules/naming.html#longvariable

Avoid excessively long variable names like $apiShowExceptionMessages. Keep variable name length under 20.
Open

    public static $apiShowExceptionMessages = false;
Severity: Minor
Found in config/Debug.php by phpmd

LongVariable

Since: 0.2

Detects when a field, formal or local variable is declared with a long name.

Example

class Something {
    protected $reallyLongIntName = -3; // VIOLATION - Field
    public static function main( array $interestingArgumentsList[] ) { // VIOLATION - Formal
        $otherReallyLongName = -5; // VIOLATION - Local
        for ($interestingIntIndex = 0; // VIOLATION - For
             $interestingIntIndex < 10;
             $interestingIntIndex++ ) {
        }
    }
}

Source https://phpmd.org/rules/naming.html#longvariable

Avoid excessively long variable names like $EXCEPTION_ERROR_TO_SHOW. Keep variable name length under 20.
Open

    public static $EXCEPTION_ERROR_TO_SHOW = false;
Severity: Minor
Found in config/Debug.php by phpmd

LongVariable

Since: 0.2

Detects when a field, formal or local variable is declared with a long name.

Example

class Something {
    protected $reallyLongIntName = -3; // VIOLATION - Field
    public static function main( array $interestingArgumentsList[] ) { // VIOLATION - Formal
        $otherReallyLongName = -5; // VIOLATION - Local
        for ($interestingIntIndex = 0; // VIOLATION - For
             $interestingIntIndex < 10;
             $interestingIntIndex++ ) {
        }
    }
}

Source https://phpmd.org/rules/naming.html#longvariable

Avoid excessively long variable names like $LOG_PROFILE_CATEGORIES. Keep variable name length under 20.
Open

    public static $LOG_PROFILE_CATEGORIES = [];
Severity: Minor
Found in config/Debug.php by phpmd

LongVariable

Since: 0.2

Detects when a field, formal or local variable is declared with a long name.

Example

class Something {
    protected $reallyLongIntName = -3; // VIOLATION - Field
    public static function main( array $interestingArgumentsList[] ) { // VIOLATION - Formal
        $otherReallyLongName = -5; // VIOLATION - Local
        for ($interestingIntIndex = 0; // VIOLATION - For
             $interestingIntIndex < 10;
             $interestingIntIndex++ ) {
        }
    }
}

Source https://phpmd.org/rules/naming.html#longvariable

Avoid excessively long variable names like $ROUNDCUBE_LOG_SESSION. Keep variable name length under 20.
Open

    public static $ROUNDCUBE_LOG_SESSION = false;
Severity: Minor
Found in config/Debug.php by phpmd

LongVariable

Since: 0.2

Detects when a field, formal or local variable is declared with a long name.

Example

class Something {
    protected $reallyLongIntName = -3; // VIOLATION - Field
    public static function main( array $interestingArgumentsList[] ) { // VIOLATION - Formal
        $otherReallyLongName = -5; // VIOLATION - Local
        for ($interestingIntIndex = 0; // VIOLATION - For
             $interestingIntIndex < 10;
             $interestingIntIndex++ ) {
        }
    }
}

Source https://phpmd.org/rules/naming.html#longvariable

Avoid excessively long variable names like $EXCEPTION_ERROR_TO_FILE. Keep variable name length under 20.
Open

    public static $EXCEPTION_ERROR_TO_FILE = false;
Severity: Minor
Found in config/Debug.php by phpmd

LongVariable

Since: 0.2

Detects when a field, formal or local variable is declared with a long name.

Example

class Something {
    protected $reallyLongIntName = -3; // VIOLATION - Field
    public static function main( array $interestingArgumentsList[] ) { // VIOLATION - Formal
        $otherReallyLongName = -5; // VIOLATION - Local
        for ($interestingIntIndex = 0; // VIOLATION - For
             $interestingIntIndex < 10;
             $interestingIntIndex++ ) {
        }
    }
}

Source https://phpmd.org/rules/naming.html#longvariable

Avoid excessively long variable names like $DISPLAY_DEBUG_CONSOLE. Keep variable name length under 20.
Open

    public static $DISPLAY_DEBUG_CONSOLE = false;
Severity: Minor
Found in config/Debug.php by phpmd

LongVariable

Since: 0.2

Detects when a field, formal or local variable is declared with a long name.

Example

class Something {
    protected $reallyLongIntName = -3; // VIOLATION - Field
    public static function main( array $interestingArgumentsList[] ) { // VIOLATION - Formal
        $otherReallyLongName = -5; // VIOLATION - Local
        for ($interestingIntIndex = 0; // VIOLATION - For
             $interestingIntIndex < 10;
             $interestingIntIndex++ ) {
        }
    }
}

Source https://phpmd.org/rules/naming.html#longvariable

Avoid excessively long variable names like $DISPLAY_LOGS_IN_CONSOLE. Keep variable name length under 20.
Open

    public static $DISPLAY_LOGS_IN_CONSOLE = false;
Severity: Minor
Found in config/Debug.php by phpmd

LongVariable

Since: 0.2

Detects when a field, formal or local variable is declared with a long name.

Example

class Something {
    protected $reallyLongIntName = -3; // VIOLATION - Field
    public static function main( array $interestingArgumentsList[] ) { // VIOLATION - Formal
        $otherReallyLongName = -5; // VIOLATION - Local
        for ($interestingIntIndex = 0; // VIOLATION - For
             $interestingIntIndex < 10;
             $interestingIntIndex++ ) {
        }
    }
}

Source https://phpmd.org/rules/naming.html#longvariable

Avoid excessively long variable names like $ROUNDCUBE_DEBUG_LEVEL. Keep variable name length under 20.
Open

    public static $ROUNDCUBE_DEBUG_LEVEL = 1;
Severity: Minor
Found in config/Debug.php by phpmd

LongVariable

Since: 0.2

Detects when a field, formal or local variable is declared with a long name.

Example

class Something {
    protected $reallyLongIntName = -3; // VIOLATION - Field
    public static function main( array $interestingArgumentsList[] ) { // VIOLATION - Formal
        $otherReallyLongName = -5; // VIOLATION - Local
        for ($interestingIntIndex = 0; // VIOLATION - For
             $interestingIntIndex < 10;
             $interestingIntIndex++ ) {
        }
    }
}

Source https://phpmd.org/rules/naming.html#longvariable

Avoid excessively long variable names like $EXCEPTION_ERROR_HANDLER. Keep variable name length under 20.
Open

    public static $EXCEPTION_ERROR_HANDLER = false;
Severity: Minor
Found in config/Debug.php by phpmd

LongVariable

Since: 0.2

Detects when a field, formal or local variable is declared with a long name.

Example

class Something {
    protected $reallyLongIntName = -3; // VIOLATION - Field
    public static function main( array $interestingArgumentsList[] ) { // VIOLATION - Formal
        $otherReallyLongName = -5; // VIOLATION - Local
        for ($interestingIntIndex = 0; // VIOLATION - For
             $interestingIntIndex < 10;
             $interestingIntIndex++ ) {
        }
    }
}

Source https://phpmd.org/rules/naming.html#longvariable

Avoid excessively long variable names like $DISPLAY_EXCEPTION_BACKTRACE. Keep variable name length under 20.
Open

    public static $DISPLAY_EXCEPTION_BACKTRACE = false;
Severity: Minor
Found in config/Debug.php by phpmd

LongVariable

Since: 0.2

Detects when a field, formal or local variable is declared with a long name.

Example

class Something {
    protected $reallyLongIntName = -3; // VIOLATION - Field
    public static function main( array $interestingArgumentsList[] ) { // VIOLATION - Formal
        $otherReallyLongName = -5; // VIOLATION - Local
        for ($interestingIntIndex = 0; // VIOLATION - For
             $interestingIntIndex < 10;
             $interestingIntIndex++ ) {
        }
    }
}

Source https://phpmd.org/rules/naming.html#longvariable

Avoid excessively long variable names like $apiShowExceptionReasonPhrase. Keep variable name length under 20.
Open

    public static $apiShowExceptionReasonPhrase = false;
Severity: Minor
Found in config/Debug.php by phpmd

LongVariable

Since: 0.2

Detects when a field, formal or local variable is declared with a long name.

Example

class Something {
    protected $reallyLongIntName = -3; // VIOLATION - Field
    public static function main( array $interestingArgumentsList[] ) { // VIOLATION - Formal
        $otherReallyLongName = -5; // VIOLATION - Local
        for ($interestingIntIndex = 0; // VIOLATION - For
             $interestingIntIndex < 10;
             $interestingIntIndex++ ) {
        }
    }
}

Source https://phpmd.org/rules/naming.html#longvariable

Avoid excessively long variable names like $SMARTY_ERROR_REPORTING. Keep variable name length under 20.
Open

    public static $SMARTY_ERROR_REPORTING = E_ALL & ~E_NOTICE;
Severity: Minor
Found in config/Debug.php by phpmd

LongVariable

Since: 0.2

Detects when a field, formal or local variable is declared with a long name.

Example

class Something {
    protected $reallyLongIntName = -3; // VIOLATION - Field
    public static function main( array $interestingArgumentsList[] ) { // VIOLATION - Formal
        $otherReallyLongName = -5; // VIOLATION - Local
        for ($interestingIntIndex = 0; // VIOLATION - For
             $interestingIntIndex < 10;
             $interestingIntIndex++ ) {
        }
    }
}

Source https://phpmd.org/rules/naming.html#longvariable

Avoid excessively long variable names like $DISPLAY_EXCEPTION_LOGS. Keep variable name length under 20.
Open

    public static $DISPLAY_EXCEPTION_LOGS = false;
Severity: Minor
Found in config/Debug.php by phpmd

LongVariable

Since: 0.2

Detects when a field, formal or local variable is declared with a long name.

Example

class Something {
    protected $reallyLongIntName = -3; // VIOLATION - Field
    public static function main( array $interestingArgumentsList[] ) { // VIOLATION - Formal
        $otherReallyLongName = -5; // VIOLATION - Local
        for ($interestingIntIndex = 0; // VIOLATION - For
             $interestingIntIndex < 10;
             $interestingIntIndex++ ) {
        }
    }
}

Source https://phpmd.org/rules/naming.html#longvariable

Avoid excessively long variable names like $DISPLAY_CONFIG_IN_CONSOLE. Keep variable name length under 20.
Open

    public static $DISPLAY_CONFIG_IN_CONSOLE = false;
Severity: Minor
Found in config/Debug.php by phpmd

LongVariable

Since: 0.2

Detects when a field, formal or local variable is declared with a long name.

Example

class Something {
    protected $reallyLongIntName = -3; // VIOLATION - Field
    public static function main( array $interestingArgumentsList[] ) { // VIOLATION - Formal
        $otherReallyLongName = -5; // VIOLATION - Local
        for ($interestingIntIndex = 0; // VIOLATION - For
             $interestingIntIndex < 10;
             $interestingIntIndex++ ) {
        }
    }
}

Source https://phpmd.org/rules/naming.html#longvariable

The property $LOG_TRACE_LEVEL is not named in camelCase.
Open

class Debug
{
    /** Enable saving logs to file. Values: false/true */
    public static $LOG_TO_FILE = false;

Severity: Minor
Found in config/Debug.php by phpmd

CamelCasePropertyName

Since: 0.2

It is considered best practice to use the camelCase notation to name attributes.

Example

class ClassName {
    protected $property_name;
}

Source

The property $ROUNDCUBE_DEBUG_LEVEL is not named in camelCase.
Open

class Debug
{
    /** Enable saving logs to file. Values: false/true */
    public static $LOG_TO_FILE = false;

Severity: Minor
Found in config/Debug.php by phpmd

CamelCasePropertyName

Since: 0.2

It is considered best practice to use the camelCase notation to name attributes.

Example

class ClassName {
    protected $property_name;
}

Source

The property $ROUNDCUBE_SMTP_DEBUG is not named in camelCase.
Open

class Debug
{
    /** Enable saving logs to file. Values: false/true */
    public static $LOG_TO_FILE = false;

Severity: Minor
Found in config/Debug.php by phpmd

CamelCasePropertyName

Since: 0.2

It is considered best practice to use the camelCase notation to name attributes.

Example

class ClassName {
    protected $property_name;
}

Source

The property $DISPLAY_LOGS_IN_CONSOLE is not named in camelCase.
Open

class Debug
{
    /** Enable saving logs to file. Values: false/true */
    public static $LOG_TO_FILE = false;

Severity: Minor
Found in config/Debug.php by phpmd

CamelCasePropertyName

Since: 0.2

It is considered best practice to use the camelCase notation to name attributes.

Example

class ClassName {
    protected $property_name;
}

Source

The property $ROUNDCUBE_LDAP_DEBUG is not named in camelCase.
Open

class Debug
{
    /** Enable saving logs to file. Values: false/true */
    public static $LOG_TO_FILE = false;

Severity: Minor
Found in config/Debug.php by phpmd

CamelCasePropertyName

Since: 0.2

It is considered best practice to use the camelCase notation to name attributes.

Example

class ClassName {
    protected $property_name;
}

Source

The property $DISPLAY_EXCEPTION_LOGS is not named in camelCase.
Open

class Debug
{
    /** Enable saving logs to file. Values: false/true */
    public static $LOG_TO_FILE = false;

Severity: Minor
Found in config/Debug.php by phpmd

CamelCasePropertyName

Since: 0.2

It is considered best practice to use the camelCase notation to name attributes.

Example

class ClassName {
    protected $property_name;
}

Source

The property $LOG_PROFILE_CATEGORIES is not named in camelCase.
Open

class Debug
{
    /** Enable saving logs to file. Values: false/true */
    public static $LOG_TO_FILE = false;

Severity: Minor
Found in config/Debug.php by phpmd

CamelCasePropertyName

Since: 0.2

It is considered best practice to use the camelCase notation to name attributes.

Example

class ClassName {
    protected $property_name;
}

Source

The property $EXCEPTION_ERROR_LEVEL is not named in camelCase.
Open

class Debug
{
    /** Enable saving logs to file. Values: false/true */
    public static $LOG_TO_FILE = false;

Severity: Minor
Found in config/Debug.php by phpmd

CamelCasePropertyName

Since: 0.2

It is considered best practice to use the camelCase notation to name attributes.

Example

class ClassName {
    protected $property_name;
}

Source

The property $ROUNDCUBE_SMTP_LOG is not named in camelCase.
Open

class Debug
{
    /** Enable saving logs to file. Values: false/true */
    public static $LOG_TO_FILE = false;

Severity: Minor
Found in config/Debug.php by phpmd

CamelCasePropertyName

Since: 0.2

It is considered best practice to use the camelCase notation to name attributes.

Example

class ClassName {
    protected $property_name;
}

Source

The property $ROUNDCUBE_LOG_SESSION is not named in camelCase.
Open

class Debug
{
    /** Enable saving logs to file. Values: false/true */
    public static $LOG_TO_FILE = false;

Severity: Minor
Found in config/Debug.php by phpmd

CamelCasePropertyName

Since: 0.2

It is considered best practice to use the camelCase notation to name attributes.

Example

class ClassName {
    protected $property_name;
}

Source

The property $SQL_DIE_ON_ERROR is not named in camelCase.
Open

class Debug
{
    /** Enable saving logs to file. Values: false/true */
    public static $LOG_TO_FILE = false;

Severity: Minor
Found in config/Debug.php by phpmd

CamelCasePropertyName

Since: 0.2

It is considered best practice to use the camelCase notation to name attributes.

Example

class ClassName {
    protected $property_name;
}

Source

The property $EXCEPTION_ERROR_TO_SHOW is not named in camelCase.
Open

class Debug
{
    /** Enable saving logs to file. Values: false/true */
    public static $LOG_TO_FILE = false;

Severity: Minor
Found in config/Debug.php by phpmd

CamelCasePropertyName

Since: 0.2

It is considered best practice to use the camelCase notation to name attributes.

Example

class ClassName {
    protected $property_name;
}

Source

The property $DEBUG_CONSOLE_ALLOWED_USERS is not named in camelCase.
Open

class Debug
{
    /** Enable saving logs to file. Values: false/true */
    public static $LOG_TO_FILE = false;

Severity: Minor
Found in config/Debug.php by phpmd

CamelCasePropertyName

Since: 0.2

It is considered best practice to use the camelCase notation to name attributes.

Example

class ClassName {
    protected $property_name;
}

Source

The property $DEBUG_VIEWER is not named in camelCase.
Open

class Debug
{
    /** Enable saving logs to file. Values: false/true */
    public static $LOG_TO_FILE = false;

Severity: Minor
Found in config/Debug.php by phpmd

CamelCasePropertyName

Since: 0.2

It is considered best practice to use the camelCase notation to name attributes.

Example

class ClassName {
    protected $property_name;
}

Source

The property $LOG_TO_FILE is not named in camelCase.
Open

class Debug
{
    /** Enable saving logs to file. Values: false/true */
    public static $LOG_TO_FILE = false;

Severity: Minor
Found in config/Debug.php by phpmd

CamelCasePropertyName

Since: 0.2

It is considered best practice to use the camelCase notation to name attributes.

Example

class ClassName {
    protected $property_name;
}

Source

The property $DEBUG_CRON is not named in camelCase.
Open

class Debug
{
    /** Enable saving logs to file. Values: false/true */
    public static $LOG_TO_FILE = false;

Severity: Minor
Found in config/Debug.php by phpmd

CamelCasePropertyName

Since: 0.2

It is considered best practice to use the camelCase notation to name attributes.

Example

class ClassName {
    protected $property_name;
}

Source

The property $DISPLAY_DEBUG_VIEWER is not named in camelCase.
Open

class Debug
{
    /** Enable saving logs to file. Values: false/true */
    public static $LOG_TO_FILE = false;

Severity: Minor
Found in config/Debug.php by phpmd

CamelCasePropertyName

Since: 0.2

It is considered best practice to use the camelCase notation to name attributes.

Example

class ClassName {
    protected $property_name;
}

Source

The property $ROUNDCUBE_LOG_LOGINS is not named in camelCase.
Open

class Debug
{
    /** Enable saving logs to file. Values: false/true */
    public static $LOG_TO_FILE = false;

Severity: Minor
Found in config/Debug.php by phpmd

CamelCasePropertyName

Since: 0.2

It is considered best practice to use the camelCase notation to name attributes.

Example

class ClassName {
    protected $property_name;
}

Source

The property $JS_DEBUG is not named in camelCase.
Open

class Debug
{
    /** Enable saving logs to file. Values: false/true */
    public static $LOG_TO_FILE = false;

Severity: Minor
Found in config/Debug.php by phpmd

CamelCasePropertyName

Since: 0.2

It is considered best practice to use the camelCase notation to name attributes.

Example

class ClassName {
    protected $property_name;
}

Source

The property $ROUNDCUBE_DEVEL_MODE is not named in camelCase.
Open

class Debug
{
    /** Enable saving logs to file. Values: false/true */
    public static $LOG_TO_FILE = false;

Severity: Minor
Found in config/Debug.php by phpmd

CamelCasePropertyName

Since: 0.2

It is considered best practice to use the camelCase notation to name attributes.

Example

class ClassName {
    protected $property_name;
}

Source

The property $EXCEPTION_ERROR_HANDLER is not named in camelCase.
Open

class Debug
{
    /** Enable saving logs to file. Values: false/true */
    public static $LOG_TO_FILE = false;

Severity: Minor
Found in config/Debug.php by phpmd

CamelCasePropertyName

Since: 0.2

It is considered best practice to use the camelCase notation to name attributes.

Example

class ClassName {
    protected $property_name;
}

Source

The property $DEBUG_CONSOLE_ALLOWED_IPS is not named in camelCase.
Open

class Debug
{
    /** Enable saving logs to file. Values: false/true */
    public static $LOG_TO_FILE = false;

Severity: Minor
Found in config/Debug.php by phpmd

CamelCasePropertyName

Since: 0.2

It is considered best practice to use the camelCase notation to name attributes.

Example

class ClassName {
    protected $property_name;
}

Source

The property $DISPLAY_CONFIG_IN_CONSOLE is not named in camelCase.
Open

class Debug
{
    /** Enable saving logs to file. Values: false/true */
    public static $LOG_TO_FILE = false;

Severity: Minor
Found in config/Debug.php by phpmd

CamelCasePropertyName

Since: 0.2

It is considered best practice to use the camelCase notation to name attributes.

Example

class ClassName {
    protected $property_name;
}

Source

The property $SMARTY_ERROR_REPORTING is not named in camelCase.
Open

class Debug
{
    /** Enable saving logs to file. Values: false/true */
    public static $LOG_TO_FILE = false;

Severity: Minor
Found in config/Debug.php by phpmd

CamelCasePropertyName

Since: 0.2

It is considered best practice to use the camelCase notation to name attributes.

Example

class ClassName {
    protected $property_name;
}

Source

The property $DISPLAY_EXCEPTION_BACKTRACE is not named in camelCase.
Open

class Debug
{
    /** Enable saving logs to file. Values: false/true */
    public static $LOG_TO_FILE = false;

Severity: Minor
Found in config/Debug.php by phpmd

CamelCasePropertyName

Since: 0.2

It is considered best practice to use the camelCase notation to name attributes.

Example

class ClassName {
    protected $property_name;
}

Source

The property $MAILER_DEBUG is not named in camelCase.
Open

class Debug
{
    /** Enable saving logs to file. Values: false/true */
    public static $LOG_TO_FILE = false;

Severity: Minor
Found in config/Debug.php by phpmd

CamelCasePropertyName

Since: 0.2

It is considered best practice to use the camelCase notation to name attributes.

Example

class ClassName {
    protected $property_name;
}

Source

The property $ROUNDCUBE_PER_USER_LOGGING is not named in camelCase.
Open

class Debug
{
    /** Enable saving logs to file. Values: false/true */
    public static $LOG_TO_FILE = false;

Severity: Minor
Found in config/Debug.php by phpmd

CamelCasePropertyName

Since: 0.2

It is considered best practice to use the camelCase notation to name attributes.

Example

class ClassName {
    protected $property_name;
}

Source

The property $LOG_TO_PROFILE is not named in camelCase.
Open

class Debug
{
    /** Enable saving logs to file. Values: false/true */
    public static $LOG_TO_FILE = false;

Severity: Minor
Found in config/Debug.php by phpmd

CamelCasePropertyName

Since: 0.2

It is considered best practice to use the camelCase notation to name attributes.

Example

class ClassName {
    protected $property_name;
}

Source

The property $EXCEPTION_ERROR_TO_FILE is not named in camelCase.
Open

class Debug
{
    /** Enable saving logs to file. Values: false/true */
    public static $LOG_TO_FILE = false;

Severity: Minor
Found in config/Debug.php by phpmd

CamelCasePropertyName

Since: 0.2

It is considered best practice to use the camelCase notation to name attributes.

Example

class ClassName {
    protected $property_name;
}

Source

The property $DISPLAY_DEBUG_CONSOLE is not named in camelCase.
Open

class Debug
{
    /** Enable saving logs to file. Values: false/true */
    public static $LOG_TO_FILE = false;

Severity: Minor
Found in config/Debug.php by phpmd

CamelCasePropertyName

Since: 0.2

It is considered best practice to use the camelCase notation to name attributes.

Example

class ClassName {
    protected $property_name;
}

Source

The property $ROUNDCUBE_SQL_DEBUG is not named in camelCase.
Open

class Debug
{
    /** Enable saving logs to file. Values: false/true */
    public static $LOG_TO_FILE = false;

Severity: Minor
Found in config/Debug.php by phpmd

CamelCasePropertyName

Since: 0.2

It is considered best practice to use the camelCase notation to name attributes.

Example

class ClassName {
    protected $property_name;
}

Source

The property $LOG_LEVELS is not named in camelCase.
Open

class Debug
{
    /** Enable saving logs to file. Values: false/true */
    public static $LOG_TO_FILE = false;

Severity: Minor
Found in config/Debug.php by phpmd

CamelCasePropertyName

Since: 0.2

It is considered best practice to use the camelCase notation to name attributes.

Example

class ClassName {
    protected $property_name;
}

Source

The property $ROUNDCUBE_IMAP_DEBUG is not named in camelCase.
Open

class Debug
{
    /** Enable saving logs to file. Values: false/true */
    public static $LOG_TO_FILE = false;

Severity: Minor
Found in config/Debug.php by phpmd

CamelCasePropertyName

Since: 0.2

It is considered best practice to use the camelCase notation to name attributes.

Example

class ClassName {
    protected $property_name;
}

Source

Spaces must be used to indent lines; tabs are not allowed
Open

    /** Devel_mode this will print real PHP memory usage into logs/console and do not compress JS libraries */
Severity: Minor
Found in config/Debug.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    public static $LOG_TO_PROFILE = false;
Severity: Minor
Found in config/Debug.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    /** Level of saved/displayed logs. Values: false = All / 3 = error and warning / ["error", "warning", "info", "trace", "profile"] */
Severity: Minor
Found in config/Debug.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    public static $DISPLAY_EXCEPTION_BACKTRACE = false;
Severity: Minor
Found in config/Debug.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    public static $DEBUG_CRON = false;
Severity: Minor
Found in config/Debug.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    /** Do not show Smarty Notice in phpError.log */
Severity: Minor
Found in config/Debug.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    public static $davDebugPlugin = false;
Severity: Minor
Found in config/Debug.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    /** Mailer debug */
Severity: Minor
Found in config/Debug.php by phpcodesniffer

Line exceeds 120 characters; contains 144 characters
Open

    /** Categories to be registered in profiling, an empty value means all categories. ex. "yii\db\Command::query", "Integrations/MagentoApi" */
Severity: Minor
Found in config/Debug.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    public static $LOG_LEVELS = false;
Severity: Minor
Found in config/Debug.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    public static $DEBUG_CONSOLE_ALLOWED_USERS = [];
Severity: Minor
Found in config/Debug.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    public static $EXCEPTION_ERROR_LEVEL = E_ALL & ~E_NOTICE;
Severity: Minor
Found in config/Debug.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    /** Enable saving logs to file. Values: false/true */
Severity: Minor
Found in config/Debug.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    public static $DEBUG_VIEWER = false;
Severity: Minor
Found in config/Debug.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    /**
Severity: Minor
Found in config/Debug.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    public static $apiShowExceptionMessages = false;
Severity: Minor
Found in config/Debug.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    public static $apiShowExceptionReasonPhrase = false;
Severity: Minor
Found in config/Debug.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    /** [WebServices/API] Log to file only exception errors in the logs */
Severity: Minor
Found in config/Debug.php by phpcodesniffer

Line exceeds 120 characters; contains 130 characters
Open

    /** API - Sabre dav - This is a flag that allows (or not) showing file, line, and code of the exception in the returned XML */
Severity: Minor
Found in config/Debug.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    public static $ROUNDCUBE_DEVEL_MODE = false;
Severity: Minor
Found in config/Debug.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    /** Log successful/failed logins to cache/logs/userlogins or to syslog */
Severity: Minor
Found in config/Debug.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    /** Turn on/off the error handler */
Severity: Minor
Found in config/Debug.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    public static $DISPLAY_DEBUG_VIEWER = false;
Severity: Minor
Found in config/Debug.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    /** API - Sabre dav - This is a flag that allows (or not) showing file, line, and code of the exception in the returned XML */
Severity: Minor
Found in config/Debug.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    public static $MAILER_DEBUG = false;
Severity: Minor
Found in config/Debug.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    public static $LOG_TO_FILE = false;
Severity: Minor
Found in config/Debug.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    /** Enable saving logs profiling. Values: false/true */
Severity: Minor
Found in config/Debug.php by phpcodesniffer

Line exceeds 120 characters; contains 132 characters
Open

    /** Displays information about the tracking code when an error occurs. Available only with the active SQL_DIE_ON_ERROR = true */
Severity: Minor
Found in config/Debug.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    /** Enable displaying logs in debug console. Values: false/true */
Severity: Minor
Found in config/Debug.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    /** Display Smarty Debug Console */
Severity: Minor
Found in config/Debug.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    public static $apiShowExceptionBacktrace = false;
Severity: Minor
Found in config/Debug.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    /** Log IMAP conversation to cache/logs/imap or to syslog */
Severity: Minor
Found in config/Debug.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    /** Level of saved/displayed tracerts. // Values: int */
Severity: Minor
Found in config/Debug.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    public static $LOG_TRACE_LEVEL = 0;
Severity: Minor
Found in config/Debug.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    /** Log sent messages to cache/logs/sendmail or to syslog */
Severity: Minor
Found in config/Debug.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    /** Enable displaying logs in debug console. Values: false/true */
Severity: Minor
Found in config/Debug.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    public static $SMARTY_ERROR_REPORTING = E_ALL & ~E_NOTICE;
Severity: Minor
Found in config/Debug.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    /** System error reporting, sum of: 1 = log; 4 = show, 8 = trace */
Severity: Minor
Found in config/Debug.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    public static $ROUNDCUBE_IMAP_DEBUG = false;
Severity: Minor
Found in config/Debug.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    /** Stop the running process of the system if there is an error in sql query */
Severity: Minor
Found in config/Debug.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    public static $DISPLAY_EXCEPTION_LOGS = false;
Severity: Minor
Found in config/Debug.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    public static $DISPLAY_DEBUG_CONSOLE = false;
Severity: Minor
Found in config/Debug.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    /** List of IP addresses allowed to display debug console. Values: false = All IPS / "192.168.1.10" / ["192.168.1.10","192.168.1.11"] */
Severity: Minor
Found in config/Debug.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     * All errors - E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED / Critical errors - E_ERROR | E_WARNING | E_CORE_ERROR | E_COMPILE_ERROR | E_USER_ERROR
Severity: Minor
Found in config/Debug.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     */
Severity: Minor
Found in config/Debug.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    /** [WebServices/API] Show exception messages in response body */
Severity: Minor
Found in config/Debug.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    /** [WebServices/API] Show exception backtrace in response body */
Severity: Minor
Found in config/Debug.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    /**
Severity: Minor
Found in config/Debug.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     * Activate this option if logs should be written to per-user directories.
Severity: Minor
Found in config/Debug.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     */
Severity: Minor
Found in config/Debug.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    public static $ROUNDCUBE_SQL_DEBUG = false;
Severity: Minor
Found in config/Debug.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    public static $ROUNDCUBE_SMTP_DEBUG = false;
Severity: Minor
Found in config/Debug.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    /** Display main debug console */
Severity: Minor
Found in config/Debug.php by phpcodesniffer

Line exceeds 120 characters; contains 140 characters
Open

    /** List of IP addresses allowed to display debug console. Values: false = All IPS / "192.168.1.10" / ["192.168.1.10","192.168.1.11"] */
Severity: Minor
Found in config/Debug.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     * Set the error reporting level. The parameter is either an integer representing a bit field, or named constants.
Severity: Minor
Found in config/Debug.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    /** [WebServices/API] Show exception reason phrase in response header */
Severity: Minor
Found in config/Debug.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    public static $ROUNDCUBE_LOG_LOGINS = false;
Severity: Minor
Found in config/Debug.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    /** Save logs to file (cache/logs/errors.log) */
Severity: Minor
Found in config/Debug.php by phpcodesniffer

Line exceeds 120 characters; contains 153 characters
Open

     * All errors - E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED / Critical errors - E_ERROR | E_WARNING | E_CORE_ERROR | E_COMPILE_ERROR | E_USER_ERROR
Severity: Minor
Found in config/Debug.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    /** [WebServices/API] Log to file all communications data (request + response) */
Severity: Minor
Found in config/Debug.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    /** Activate the plugin recording log in DAV */
Severity: Minor
Found in config/Debug.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    public static $ROUNDCUBE_LDAP_DEBUG = false;
Severity: Minor
Found in config/Debug.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    public static $EXCEPTION_ERROR_HANDLER = false;
Severity: Minor
Found in config/Debug.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    public static $DEBUG_CONSOLE_ALLOWED_IPS = false;
Severity: Minor
Found in config/Debug.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    public static $ROUNDCUBE_PER_USER_LOGGING = false;
Severity: Minor
Found in config/Debug.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    /** Log LDAP conversation to cache/logs/ldap or to syslog */
Severity: Minor
Found in config/Debug.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    /** Displays information about the tracking code when an error occurs. Available only with the active SQL_DIE_ON_ERROR = true */
Severity: Minor
Found in config/Debug.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    public static $EXCEPTION_ERROR_TO_FILE = false;
Severity: Minor
Found in config/Debug.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    public static $DISPLAY_CONFIG_IN_CONSOLE = false;
Severity: Minor
Found in config/Debug.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    /** Debug cron => cache/logs/cron/ */
Severity: Minor
Found in config/Debug.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    /** Display errors */
Severity: Minor
Found in config/Debug.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    /** Debug Viewer => cache/logs/viewer-debug.log */
Severity: Minor
Found in config/Debug.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    public static $JS_DEBUG = true;
Severity: Minor
Found in config/Debug.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    public static $ROUNDCUBE_DEBUG_LEVEL = 1;
Severity: Minor
Found in config/Debug.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    public static $ROUNDCUBE_SMTP_LOG = false;
Severity: Minor
Found in config/Debug.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    /** Log session authentication errors to cache/logs/session or to syslog */
Severity: Minor
Found in config/Debug.php by phpcodesniffer

Line exceeds 120 characters; contains 136 characters
Open

    /** Level of saved/displayed logs. Values: false = All / 3 = error and warning / ["error", "warning", "info", "trace", "profile"] */
Severity: Minor
Found in config/Debug.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    public static $SQL_DIE_ON_ERROR = false;
Severity: Minor
Found in config/Debug.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    public static $DISPLAY_LOGS_IN_CONSOLE = false;
Severity: Minor
Found in config/Debug.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     * https://secure.php.net/manual/en/errorfunc.configuration.php#ini.error-reporting
Severity: Minor
Found in config/Debug.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    /** Turn on/off error debugging in javascript */
Severity: Minor
Found in config/Debug.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    public static $apiLogException = false;
Severity: Minor
Found in config/Debug.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    public static $davDebugExceptions = false;
Severity: Minor
Found in config/Debug.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     * Data will only be logged if a directory cache/logs/<username>/ exists and is writable.
Severity: Minor
Found in config/Debug.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    /** Log SQL queries to cache/logs/sql or to syslog */
Severity: Minor
Found in config/Debug.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    /** Categories to be registered in profiling, an empty value means all categories. ex. "yii\db\Command::query", "Integrations/MagentoApi" */
Severity: Minor
Found in config/Debug.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    public static $LOG_PROFILE_CATEGORIES = [];
Severity: Minor
Found in config/Debug.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    public static $EXCEPTION_ERROR_TO_SHOW = false;
Severity: Minor
Found in config/Debug.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    /** Display logs when error exception occurs */
Severity: Minor
Found in config/Debug.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    /** List of user IDs allowed to display debug console. */
Severity: Minor
Found in config/Debug.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    public static $apiLogAllRequests = false;
Severity: Minor
Found in config/Debug.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    public static $ROUNDCUBE_LOG_SESSION = false;
Severity: Minor
Found in config/Debug.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    /** Log SMTP conversation to cache/logs/smtp or to syslog */
Severity: Minor
Found in config/Debug.php by phpcodesniffer

There are no issues that match your filters.

Category
Status