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;
- Read upRead up
- Exclude checks
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;
- Read upRead up
- Exclude checks
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;
- Read upRead up
- Exclude checks
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 = [];
- Read upRead up
- Exclude checks
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;
- Read upRead up
- Exclude checks
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;
- Read upRead up
- Exclude checks
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;
- Read upRead up
- Exclude checks
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;
- Read upRead up
- Exclude checks
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 = [];
- Read upRead up
- Exclude checks
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;
- Read upRead up
- Exclude checks
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;
- Read upRead up
- Exclude checks
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;
- Read upRead up
- Exclude checks
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;
- Read upRead up
- Exclude checks
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;
- Read upRead up
- Exclude checks
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;
- Read upRead up
- Exclude checks
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;
- Read upRead up
- Exclude checks
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;
- Read upRead up
- Exclude checks
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;
- Read upRead up
- Exclude checks
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;
- Read upRead up
- Exclude checks
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;
- Read upRead up
- Exclude checks
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;
- Read upRead up
- Exclude checks
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;
- Read upRead up
- Exclude checks
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;
- Read upRead up
- Exclude checks
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;
- Read upRead up
- Exclude checks
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;
- Read upRead up
- Exclude checks
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;
- Read upRead up
- Exclude checks
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;
- Read upRead up
- Exclude checks
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;
- Read upRead up
- Exclude checks
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;
- Read upRead up
- Exclude checks
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;
- Read upRead up
- Exclude checks
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;
- Read upRead up
- Exclude checks
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;
- Read upRead up
- Exclude checks
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;
- Read upRead up
- Exclude checks
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;
- Read upRead up
- Exclude checks
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;
- Read upRead up
- Exclude checks
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;
- Read upRead up
- Exclude checks
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;
- Read upRead up
- Exclude checks
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;
- Read upRead up
- Exclude checks
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;
- Read upRead up
- Exclude checks
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;
- Read upRead up
- Exclude checks
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;
- Read upRead up
- Exclude checks
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;
- Read upRead up
- Exclude checks
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;
- Read upRead up
- Exclude checks
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;
- Read upRead up
- Exclude checks
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;
- Read upRead up
- Exclude checks
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;
- Read upRead up
- Exclude checks
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;
- Read upRead up
- Exclude checks
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;
- Read upRead up
- Exclude checks
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;
- Read upRead up
- Exclude checks
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;
- Read upRead up
- Exclude checks
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;
- Read upRead up
- Exclude checks
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;
- Read upRead up
- Exclude checks
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;
- Read upRead up
- Exclude checks
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 */
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
public static $LOG_TO_PROFILE = false;
- Exclude checks
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"] */
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
public static $DISPLAY_EXCEPTION_BACKTRACE = false;
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
public static $DEBUG_CRON = false;
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
/** Do not show Smarty Notice in phpError.log */
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
public static $davDebugPlugin = false;
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
/** Mailer debug */
- Exclude checks
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" */
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
public static $LOG_LEVELS = false;
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
public static $DEBUG_CONSOLE_ALLOWED_USERS = [];
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
public static $EXCEPTION_ERROR_LEVEL = E_ALL & ~E_NOTICE;
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
/** Enable saving logs to file. Values: false/true */
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
public static $DEBUG_VIEWER = false;
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
/**
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
public static $apiShowExceptionMessages = false;
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
public static $apiShowExceptionReasonPhrase = false;
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
/** [WebServices/API] Log to file only exception errors in the logs */
- Exclude checks
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 */
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
public static $ROUNDCUBE_DEVEL_MODE = false;
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
/** Log successful/failed logins to cache/logs/userlogins or to syslog */
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
/** Turn on/off the error handler */
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
public static $DISPLAY_DEBUG_VIEWER = false;
- Exclude checks
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 */
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
public static $MAILER_DEBUG = false;
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
public static $LOG_TO_FILE = false;
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
/** Enable saving logs profiling. Values: false/true */
- Exclude checks
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 */
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
/** Enable displaying logs in debug console. Values: false/true */
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
/** Display Smarty Debug Console */
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
public static $apiShowExceptionBacktrace = false;
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
/** Log IMAP conversation to cache/logs/imap or to syslog */
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
/** Level of saved/displayed tracerts. // Values: int */
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
public static $LOG_TRACE_LEVEL = 0;
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
/** Log sent messages to cache/logs/sendmail or to syslog */
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
/** Enable displaying logs in debug console. Values: false/true */
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
public static $SMARTY_ERROR_REPORTING = E_ALL & ~E_NOTICE;
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
/** System error reporting, sum of: 1 = log; 4 = show, 8 = trace */
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
public static $ROUNDCUBE_IMAP_DEBUG = false;
- Exclude checks
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 */
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
public static $DISPLAY_EXCEPTION_LOGS = false;
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
public static $DISPLAY_DEBUG_CONSOLE = false;
- Exclude checks
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"] */
- Exclude checks
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
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
*/
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
/** [WebServices/API] Show exception messages in response body */
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
/** [WebServices/API] Show exception backtrace in response body */
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
/**
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
* Activate this option if logs should be written to per-user directories.
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
*/
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
public static $ROUNDCUBE_SQL_DEBUG = false;
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
public static $ROUNDCUBE_SMTP_DEBUG = false;
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
/** Display main debug console */
- Exclude checks
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"] */
- Exclude checks
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.
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
/** [WebServices/API] Show exception reason phrase in response header */
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
public static $ROUNDCUBE_LOG_LOGINS = false;
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
/** Save logs to file (cache/logs/errors.log) */
- Exclude checks
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
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
/** [WebServices/API] Log to file all communications data (request + response) */
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
/** Activate the plugin recording log in DAV */
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
public static $ROUNDCUBE_LDAP_DEBUG = false;
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
public static $EXCEPTION_ERROR_HANDLER = false;
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
public static $DEBUG_CONSOLE_ALLOWED_IPS = false;
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
public static $ROUNDCUBE_PER_USER_LOGGING = false;
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
/** Log LDAP conversation to cache/logs/ldap or to syslog */
- Exclude checks
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 */
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
public static $EXCEPTION_ERROR_TO_FILE = false;
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
public static $DISPLAY_CONFIG_IN_CONSOLE = false;
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
/** Debug cron => cache/logs/cron/ */
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
/** Display errors */
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
/** Debug Viewer => cache/logs/viewer-debug.log */
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
public static $JS_DEBUG = true;
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
public static $ROUNDCUBE_DEBUG_LEVEL = 1;
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
public static $ROUNDCUBE_SMTP_LOG = false;
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
/** Log session authentication errors to cache/logs/session or to syslog */
- Exclude checks
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"] */
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
public static $SQL_DIE_ON_ERROR = false;
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
public static $DISPLAY_LOGS_IN_CONSOLE = false;
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
* https://secure.php.net/manual/en/errorfunc.configuration.php#ini.error-reporting
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
/** Turn on/off error debugging in javascript */
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
public static $apiLogException = false;
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
public static $davDebugExceptions = false;
- Exclude checks
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.
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
/** Log SQL queries to cache/logs/sql or to syslog */
- Exclude checks
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" */
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
public static $LOG_PROFILE_CATEGORIES = [];
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
public static $EXCEPTION_ERROR_TO_SHOW = false;
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
/** Display logs when error exception occurs */
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
/** List of user IDs allowed to display debug console. */
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
public static $apiLogAllRequests = false;
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
public static $ROUNDCUBE_LOG_SESSION = false;
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
/** Log SMTP conversation to cache/logs/smtp or to syslog */
- Exclude checks