Showing 720 of 720 total issues
The variable $_USER is not named in camelCase. Open
public static function checkAccountAccess($roles = array()) {
global $_USER;
if (self::checkLoggedIn()) {
if (empty($roles)) {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $_FIELDS is not named in camelCase. Open
public static function castFieldValue($fieldName, $type) {
global $_FIELDS;
if (isset($_FIELDS[$fieldName])) {
switch ($type) {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $_FIELDS is not named in camelCase. Open
public static function castFieldValue($fieldName, $type) {
global $_FIELDS;
if (isset($_FIELDS[$fieldName])) {
switch ($type) {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $_FIELDS is not named in camelCase. Open
public static function castFieldValue($fieldName, $type) {
global $_FIELDS;
if (isset($_FIELDS[$fieldName])) {
switch ($type) {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $_USER is not named in camelCase. Open
public static function checkLoggedIn() {
global $_USER;
if (Tools::isInstanceOf($_USER, new self)) {
return true;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $_LANG is not named in camelCase. Open
public function sendSignUpAdminNotification($user) {
global $_LANG;
return $this->sendNotification(
Config::EMAIL_ADMIN,
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $_FIELDS is not named in camelCase. Open
public static function changeFieldValue($fieldName, $fieldValue) {
global $_FIELDS;
if (isset($_FIELDS[$fieldName])) {
$_FIELDS[$fieldName] = $fieldValue;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $_FIELDS is not named in camelCase. Open
public static function castFieldValue($fieldName, $type) {
global $_FIELDS;
if (isset($_FIELDS[$fieldName])) {
switch ($type) {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $_USER is not named in camelCase. Open
public static function checkAccountAccess($roles = array()) {
global $_USER;
if (self::checkLoggedIn()) {
if (empty($roles)) {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $_FIELDS is not named in camelCase. Open
public static function castFieldValue($fieldName, $type) {
global $_FIELDS;
if (isset($_FIELDS[$fieldName])) {
switch ($type) {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $_FIELDS is not named in camelCase. Open
public static function removeFields($fieldNames) {
global $_FIELDS;
foreach ($fieldNames as $fieldName) {
Naming::unsetValueWithComplexName($_FIELDS, $fieldName);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $_FIELDS is not named in camelCase. Open
public static function castFieldValue($fieldName, $type) {
global $_FIELDS;
if (isset($_FIELDS[$fieldName])) {
switch ($type) {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $_FIELDS is not named in camelCase. Open
public static function normalizeCheckboxes($fieldNames) {
global $_FIELDS;
foreach ($fieldNames as $fieldName) {
$_FIELDS[$fieldName] = (int)(bool)self::getFieldValue($fieldName);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $_LANG is not named in camelCase. Open
public function sendSignUpAdminNotification($user) {
global $_LANG;
return $this->sendNotification(
Config::EMAIL_ADMIN,
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $_ERRORS is not named in camelCase. Open
public static function getError($fieldName) {
global $_ERRORS;
if (self::isSetErrorFor($fieldName)) {
return $_ERRORS[$fieldName];
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $_FILTER is not named in camelCase. Open
public static function getFilterValue($filterName, $defaultValue = null) {
global $_FILTER;
return isset($_FILTER[$filterName]) ? $_FILTER[$filterName] : $defaultValue;
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $_ERRORS is not named in camelCase. Open
public static function isErrorsExist() {
global $_ERRORS;
return isset($_ERRORS['_common']) && !empty($_ERRORS['_common']);
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $_tpl is not named in camelCase. Open
public function setTpl($_tpl) {
$this->_tpl = $_tpl;
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $_ERRORS is not named in camelCase. Open
public static function getErrors() {
global $_ERRORS;
return isset($_ERRORS['_common']) ? $_ERRORS['_common'] : [];
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $_ERRORS is not named in camelCase. Open
public static function getErrors() {
global $_ERRORS;
return isset($_ERRORS['_common']) ? $_ERRORS['_common'] : [];
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}