Remove this hard-coded password. Open
public static $proxyPassword = '';
- Read upRead up
- Exclude checks
Because it is easy to extract strings from a compiled application, credentials should never be hard-coded. Do so, and they're almost guaranteed to end up in the hands of an attacker. This is particularly true for applications that are distributed.
Credentials should be stored outside of the code in a strongly-protected encrypted configuration file or database.
Noncompliant Code Example
$uname = "steve"; $password = "blue"; connect($uname, $password);
Compliant Solution
$uname = getEncryptedUser(); $password = getEncryptedPass(); connect($uname, $password);
See
- MITRE, CWE-798 - Use of Hard-coded Credentials
- MITRE, CWE-259 - Use of Hard-coded Password
- SANS Top 25 - Porous Defenses
- CERT, MSC03-J. - Never hard code sensitive information
- OWASP Top Ten 2013 Category A2 - Broken Authentication and Session Management
- Derived from FindSecBugs rule Hard Coded Password
The class Security has 56 fields. Consider redesigning Security to keep the number of fields under 15. Open
class Security
{
/**
* Password encrypt algorithmic cost. Numeric values - we recommend values greater than 10.
* The greater the value, the longer it takes to encrypt the password.
- 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
The class Security has 56 public methods and attributes. Consider reducing the number of public items to less than 45. Open
class Security
{
/**
* Password encrypt algorithmic cost. Numeric values - we recommend values greater than 10.
* The greater the value, the longer it takes to encrypt the password.
- Read upRead up
- Exclude checks
ExcessivePublicCount
Since: 0.1
A large number of public methods and attributes declared in a class can indicate the class may need to be broken up as increased effort will be required to thoroughly test it.
Example
public class Foo {
public $value;
public $something;
public $var;
// [... more more public attributes ...]
public function doWork() {}
public function doMoreWork() {}
public function doWorkAgain() {}
// [... more more public methods ...]
}
Source https://phpmd.org/rules/codesize.html#excessivepubliccount
Avoid excessively long variable names like $PERMITTED_BY_SHARED_OWNERS. Keep variable name length under 20. Open
public static $PERMITTED_BY_SHARED_OWNERS = true;
- 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 $CACHE_LIFETIME_SENSIOLABS_SECURITY_CHECKER. Keep variable name length under 20. Open
public static $CACHE_LIFETIME_SENSIOLABS_SECURITY_CHECKER = 3600;
- 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 $permittedModulesByCreatorField. Keep variable name length under 20. Open
public static $permittedModulesByCreatorField = [];
- 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 $EMAIL_FIELD_RESTRICTED_DOMAINS_EXCLUDED. Keep variable name length under 20. Open
public static $EMAIL_FIELD_RESTRICTED_DOMAINS_EXCLUDED = ['OSSEmployees', '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 $PERMITTED_BY_RECORD_HIERARCHY. Keep variable name length under 20. Open
public static $PERMITTED_BY_RECORD_HIERARCHY = true;
- 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 $PERMITTED_BY_ADVANCED_PERMISSION. Keep variable name length under 20. Open
public static $PERMITTED_BY_ADVANCED_PERMISSION = true;
- 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 $fieldsReferencesDependent. Keep variable name length under 20. Open
public static $fieldsReferencesDependent = 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 $CHANGE_LOGIN_PASSWORD. Keep variable name length under 20. Open
public static $CHANGE_LOGIN_PASSWORD = true;
- 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 $allowedDomainsLoadInFrame. Keep variable name length under 20. Open
public static $allowedDomainsLoadInFrame = [];
- 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 $generallyAllowedDomains. Keep variable name length under 20. Open
public static $generallyAllowedDomains = [];
- 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 $askSuperUserAboutVisitPurpose. Keep variable name length under 20. Open
public static $askSuperUserAboutVisitPurpose = true;
- 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 $askAdminAboutVisitPurpose. Keep variable name length under 20. Open
public static $askAdminAboutVisitPurpose = true;
- 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 $permittedWriteAccessByCreatorField. Keep variable name length under 20. Open
public static $permittedWriteAccessByCreatorField = 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 $USER_ENCRYPT_PASSWORD_COST. Keep variable name length under 20. Open
public static $USER_ENCRYPT_PASSWORD_COST = 10;
- 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 $loginSessionRegenerate. Keep variable name length under 20. Open
public static $loginSessionRegenerate = true;
- 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 $apiLifetimeSessionUpdate. Keep variable name length under 20. Open
public static $apiLifetimeSessionUpdate = 240;
- 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 $purifierAllowedDomains. Keep variable name length under 20. Open
public static $purifierAllowedDomains = [];
- 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 $maxLifetimeSessionCookie. Keep variable name length under 20. Open
public static $maxLifetimeSessionCookie = 0;
- 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 $forceHttpsRedirection. Keep variable name length under 20. Open
public static $forceHttpsRedirection = 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 $EMAIL_FIELD_RESTRICTED_DOMAINS_ALLOWED. Keep variable name length under 20. Open
public static $EMAIL_FIELD_RESTRICTED_DOMAINS_ALLOWED = [];
- 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 $apiLifetimeSessionCreate. Keep variable name length under 20. Open
public static $apiLifetimeSessionCreate = 1440;
- 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 $askAdminAboutVisitSwitchUsers. Keep variable name length under 20. Open
public static $askAdminAboutVisitSwitchUsers = true;
- 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 $LOGIN_PAGE_REMEMBER_CREDENTIALS. Keep variable name length under 20. Open
public static $LOGIN_PAGE_REMEMBER_CREDENTIALS = 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 $PERMITTED_BY_PRIVATE_FIELD. Keep variable name length under 20. Open
public static $PERMITTED_BY_PRIVATE_FIELD = true;
- 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 $allowedConnectDomains. Keep variable name length under 20. Open
public static $allowedConnectDomains = [];
- 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 $CACHING_PERMISSION_TO_RECORD. Keep variable name length under 20. Open
public static $CACHING_PERMISSION_TO_RECORD = 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 $EMAIL_FIELD_RESTRICTED_DOMAINS_VALUES. Keep variable name length under 20. Open
public static $EMAIL_FIELD_RESTRICTED_DOMAINS_VALUES = [];
- 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 $EMAIL_FIELD_RESTRICTED_DOMAINS_ACTIVE. Keep variable name length under 20. Open
public static $EMAIL_FIELD_RESTRICTED_DOMAINS_ACTIVE = 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 $csrfFrameBreakerWindow. Keep variable name length under 20. Open
public static $csrfFrameBreakerWindow = 'top';
- 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 $SHOW_MY_PREFERENCES is not named in camelCase. Open
class Security
{
/**
* Password encrypt algorithmic cost. Numeric values - we recommend values greater than 10.
* The greater the value, the longer it takes to encrypt the password.
- 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 $CHANGE_LOGIN_PASSWORD is not named in camelCase. Open
class Security
{
/**
* Password encrypt algorithmic cost. Numeric values - we recommend values greater than 10.
* The greater the value, the longer it takes to encrypt the password.
- 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 $RESET_LOGIN_PASSWORD is not named in camelCase. Open
class Security
{
/**
* Password encrypt algorithmic cost. Numeric values - we recommend values greater than 10.
* The greater the value, the longer it takes to encrypt the password.
- 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 $EMAIL_FIELD_RESTRICTED_DOMAINS_ACTIVE is not named in camelCase. Open
class Security
{
/**
* Password encrypt algorithmic cost. Numeric values - we recommend values greater than 10.
* The greater the value, the longer it takes to encrypt the password.
- 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 $EMAIL_FIELD_RESTRICTED_DOMAINS_ALLOWED is not named in camelCase. Open
class Security
{
/**
* Password encrypt algorithmic cost. Numeric values - we recommend values greater than 10.
* The greater the value, the longer it takes to encrypt the password.
- 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 $USER_AUTHY_MODE is not named in camelCase. Open
class Security
{
/**
* Password encrypt algorithmic cost. Numeric values - we recommend values greater than 10.
* The greater the value, the longer it takes to encrypt the password.
- 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 $PERMITTED_BY_PRIVATE_FIELD is not named in camelCase. Open
class Security
{
/**
* Password encrypt algorithmic cost. Numeric values - we recommend values greater than 10.
* The greater the value, the longer it takes to encrypt the password.
- 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 $PERMITTED_BY_RECORD_HIERARCHY is not named in camelCase. Open
class Security
{
/**
* Password encrypt algorithmic cost. Numeric values - we recommend values greater than 10.
* The greater the value, the longer it takes to encrypt the password.
- 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 $USER_ENCRYPT_PASSWORD_COST is not named in camelCase. Open
class Security
{
/**
* Password encrypt algorithmic cost. Numeric values - we recommend values greater than 10.
* The greater the value, the longer it takes to encrypt the password.
- 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 $CACHE_LIFETIME_SENSIOLABS_SECURITY_CHECKER is not named in camelCase. Open
class Security
{
/**
* Password encrypt algorithmic cost. Numeric values - we recommend values greater than 10.
* The greater the value, the longer it takes to encrypt the password.
- 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 $PERMITTED_BY_SHARED_OWNERS is not named in camelCase. Open
class Security
{
/**
* Password encrypt algorithmic cost. Numeric values - we recommend values greater than 10.
* The greater the value, the longer it takes to encrypt the password.
- 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 $CACHING_PERMISSION_TO_RECORD is not named in camelCase. Open
class Security
{
/**
* Password encrypt algorithmic cost. Numeric values - we recommend values greater than 10.
* The greater the value, the longer it takes to encrypt the password.
- 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 $PERMITTED_BY_SHARING is not named in camelCase. Open
class Security
{
/**
* Password encrypt algorithmic cost. Numeric values - we recommend values greater than 10.
* The greater the value, the longer it takes to encrypt the password.
- 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 $PERMITTED_BY_ADVANCED_PERMISSION is not named in camelCase. Open
class Security
{
/**
* Password encrypt algorithmic cost. Numeric values - we recommend values greater than 10.
* The greater the value, the longer it takes to encrypt the password.
- 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 $EMAIL_FIELD_RESTRICTED_DOMAINS_EXCLUDED is not named in camelCase. Open
class Security
{
/**
* Password encrypt algorithmic cost. Numeric values - we recommend values greater than 10.
* The greater the value, the longer it takes to encrypt the password.
- 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 $LOGIN_PAGE_REMEMBER_CREDENTIALS is not named in camelCase. Open
class Security
{
/**
* Password encrypt algorithmic cost. Numeric values - we recommend values greater than 10.
* The greater the value, the longer it takes to encrypt the password.
- 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 $EMAIL_FIELD_RESTRICTED_DOMAINS_VALUES is not named in camelCase. Open
class Security
{
/**
* Password encrypt algorithmic cost. Numeric values - we recommend values greater than 10.
* The greater the value, the longer it takes to encrypt the password.
- 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 $PERMITTED_BY_ROLES is not named in camelCase. Open
class Security
{
/**
* Password encrypt algorithmic cost. Numeric values - we recommend values greater than 10.
* The greater the value, the longer it takes to encrypt the password.
- 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 for alignment; tabs are not allowed Open
* We do not recommend using this option in production environments.
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
* We do not recommend using this option in production environments.
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
* Permissions are not verified in real time. They are updated via cron.
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
*/
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
*/
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
/** Restricted domains */
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
/** Maximum session lifetime since the last modification (in minutes) */
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
* HTTP Public-Key-Pins (HPKP) pin-sha256 For HPKP to work properly at least 2 keys are needed.
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
*/
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
public static $LOGIN_PAGE_REMEMBER_CREDENTIALS = false;
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
/** Update the current session id with a newly generated one after login and logout */
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
/**
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
* Force the use of https only for cookie.
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
public static $apiLifetimeSessionCreate = 1440;
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
*/
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
public static $forceUrlRedirection = true;
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
public static $verifyRefererHeader = true;
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
/** Allowed domains for loading images, used in CSP. */
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
/** Proxy host */
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
public static $fieldsReferencesDependent = false;
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
* Same-site cookie attribute allows a web application to advise the browser that cookies should only be sent if the request originates from the website the cookie came from.
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
/** Verify referer header */
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
public static $csrfFrameBreakerWindow = 'top';
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
* CSP: frame-ancestors.
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
/** Allowed domains which can be used as the target of a form submissions from a given context, used in CSP. */
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
public static $proxyProtocol = '';
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
/** Remember user credentials */
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
public static $maxLifetimeSession = 900;
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
* How much time can someone be logged in to the browser. Defaults to 0.
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
/**
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
/**
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
*
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
* TOTP_OFF - 2FA TOTP is checking off
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
public static $csrfActive = true;
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
public static $csrfLifetimeToken = 28800;
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
/** Which window should be verified? It is used to check if the system is loaded in the frame, used in CSRF. */
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
*/
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
/** @var bool Ask admin about visit purpose */
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
* false - Permissions based on adding tables with permissions to query (old mechanism).
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
* User authentication mode.
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
public static $forceHttpsRedirection = false;
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
/** HTTP Content Security Policy response header allows website administrators to control resources the user agent is allowed to load for a given page */
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
*/
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
/** List of allowed domains for fields with HTML support */
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
/** Proxy port */
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
public static $EMAIL_FIELD_RESTRICTED_DOMAINS_ALLOWED = [];
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
*/
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
public static $cookieForceHttpOnly = true;
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
public static $whitelistIp2fa = [];
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
public static $proxyConnection = false;
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
public static $EMAIL_FIELD_RESTRICTED_DOMAINS_EXCLUDED = ['OSSEmployees', 'Users'];
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
* @see \Users_Totp_Authmethod::ALLOWED_USER_AUTHY_MODE
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
* TOTP_OPTIONAL - It is defined by the user
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
*/
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
* Specifies valid parents that may embed a page using <frame>, <iframe>, <object>, <embed> or <applet> and validate referer.
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
public static $allowedConnectDomains = [];
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
public static $purifierAllowedDomains = [];
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
/** Interdependent reference fields */
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
public static $apiLifetimeSessionUpdate = 240;
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
* Allow access without 2FA.
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
/** Redirect to proper url when wrong url is entered. */
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
/** Enable CSRF protection */
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
public static $allowedFrameDomains = [];
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
public static $allowedScriptDomains = [];
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
* Specifies valid sources for nested browsing contexts loading using elements such as <frame> and <iframe>.
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
public static $allowedDomainsLoadInFrame = [];
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
public static $proxyLogin = '';
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
public static $CACHING_PERMISSION_TO_RECORD = false;
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
* Values: true, false, null
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
/** Enable verified frame protection, used in CSRF */
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
public static $cspHeaderActive = true;
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
/** Allowed domains which can be loaded using script interfaces. */
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
/** Generally allowed domains, used in CSP. */
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
public static $generallyAllowedDomains = [];
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
public static $proxyHost = '';
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
/** Proxy login */
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
public static $askAdminAboutVisitPurpose = true;
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
public static $askAdminAboutVisitSwitchUsers = true;
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
/** @var bool Ask super user about visit purpose, only for the settings part */
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
public static $EMAIL_FIELD_RESTRICTED_DOMAINS_ACTIVE = false;
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
public static $maxLifetimeSessionCookie = 0;
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
*/
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
/** Force site access to always occur under SSL (https) for selected areas. You will not be able to access selected areas under non-ssl. Note, you must have SSL enabled on your server to utilise this option. */
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
* https://scotthelme.co.uk/hpkp-http-public-key-pinning/, https://sekurak.pl/mechanizm-http-public-key-pinning/.
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
/** Allowed domains for loading script, used in CSP. */
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
/** @var bool Ask admin about switch users purpose */
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
* Restricted domains allow you to block saving an email address from a given domain in the system.
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
* Specifies the lifetime of the cookie in seconds which is sent to the browser. The value 0 means 'until the browser is closed.'
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
* IP address whitelisting.
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
/** HTTP Content Security Policy time interval for generating a new nonce token */
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
/**
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
public static $proxyPassword = '';
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
/** List of modules excluded from restricted domains validation. */
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
/** Lifetime session (in seconds) */
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
* Available values:
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
/**
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
/** Do you want all connections to be made using a proxy? */
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
/** Proxy protocol: http, https, tcp */
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
/** Proxy password */
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
/**
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
* Values: None, Lax, Strict
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
public static $allowedImageDomains = ['*.tile.openstreetmap.org'];
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
/**
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
public static $askSuperUserAboutVisitPurpose = true;
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
/**
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
*/
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
* TOTP_OBLIGATORY - It is obligatory.
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
/** Cache lifetime for SensioLabs security checker. */
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
public static $CACHE_LIFETIME_SENSIOLABS_SECURITY_CHECKER = 3600;
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
public static $hpkpKeysHeader = [];
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
public static $csrfFrameBreaker = true;
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
* CSP: frame-src.
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
* Restricted domains work only for email address type fields.
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
public static $EMAIL_FIELD_RESTRICTED_DOMAINS_VALUES = [];
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
public static $loginSessionRegenerate = true;
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
public static $cookieSameSite = 'Strict';
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
public static $USER_AUTHY_MODE = 'TOTP_OPTIONAL';
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
/** Default expire time of CSRF token in seconds */
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
public static $cspHeaderTokenTime = '5 minutes';
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
/** List of modules where restricted domains are enabled, if empty it will be enabled everywhere. */
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
/** Maximum session lifetime from the time it was created (in minutes) */
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
/**
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
public static $allowedFormDomains = ['https://www.paypal.com'];
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
public static $proxyPort = 0;
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
/** Permitted by advanced permission. */
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
public static $permittedWriteAccessByCreatorField = 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
/** Permitted by record hierarchy. */
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
/** Changing the settings by the user is possible true/false */
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
* true - Permissions based on the users column in vtiger_crmentity.
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
public static $SHOW_MY_PREFERENCES = true;
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
/** Possible to reset the password while logging in (true/false) */
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
/** Permitted by private field. */
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
public static $permittedModulesByCreatorField = [];
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
public static $RESET_LOGIN_PASSWORD = false;
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
/** Permitted by shared owners. */
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
public static $PERMITTED_BY_SHARED_OWNERS = true;
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
public static $PERMITTED_BY_RECORD_HIERARCHY = true;
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
* Configuration of the permission mechanism on records list.
- 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
/** Show my preferences */
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
public static $CHANGE_LOGIN_PASSWORD = true;
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
public static $PERMITTED_BY_PRIVATE_FIELD = true;
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
/** Permission level access based on the record creation */
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
public static $USER_ENCRYPT_PASSWORD_COST = 10;
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
/** List of modules to which access is based on the record creation. */
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
public static $PERMITTED_BY_SHARING = true;
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
* The greater the value, the longer it takes to encrypt the password.
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
/** Permitted by roles. */
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
public static $PERMITTED_BY_ROLES = true;
- 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
* Permissions are not verified in real time. They are updated via cron.
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
* Password encrypt algorithmic cost. Numeric values - we recommend values greater than 10.
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
/** Permitted by sharing. */
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
public static $PERMITTED_BY_ADVANCED_PERMISSION = true;
- Exclude checks
Line exceeds 120 characters; contains 133 characters Open
* Specifies the lifetime of the cookie in seconds which is sent to the browser. The value 0 means 'until the browser is closed.'
- Exclude checks
Line exceeds 120 characters; contains 129 characters Open
* Specifies valid parents that may embed a page using <frame>, <iframe>, <object>, <embed> or <applet> and validate referer.
- Exclude checks
Line exceeds 120 characters; contains 157 characters Open
/** HTTP Content Security Policy response header allows website administrators to control resources the user agent is allowed to load for a given page */
- Exclude checks
Line exceeds 120 characters; contains 178 characters Open
* Same-site cookie attribute allows a web application to advise the browser that cookies should only be sent if the request originates from the website the cookie came from.
- Exclude checks
Line exceeds 120 characters; contains 214 characters Open
/** Force site access to always occur under SSL (https) for selected areas. You will not be able to access selected areas under non-ssl. Note, you must have SSL enabled on your server to utilise this option. */
- Exclude checks