Showing 589 of 589 total issues
The variable $mid_pattern is not named in camelCase. Open
public static function cleanMultiLang($text)
{
global $xoopsConfig;
global $xlanguage_langs;
$patterns = [];
- 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 $in_charset is not named in camelCase. Open
public static function encodeCharSet($output)
{
global $xlanguage;
$output = static::cleanMultiLang($output);
// escape XML doc
- 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_image is not named in camelCase. Open
function languageList(LanguageHandler $languageHandler)
{
// global $languageHandler, $xoopsModule;
global $pathIcon16;
- 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 $mid_pattern is not named in camelCase. Open
public static function cleanMultiLang($text)
{
global $xoopsConfig;
global $xlanguage_langs;
$patterns = [];
- 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 static function cleanMultiLang($text)
{
global $xoopsConfig;
global $xlanguage_langs;
$patterns = [];
- 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_base is not named in camelCase. Open
function languageList(LanguageHandler $languageHandler)
{
// global $languageHandler, $xoopsModule;
global $pathIcon16;
- 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 $xlanguage_langs is not named in camelCase. Open
public static function cleanMultiLang($text)
{
global $xoopsConfig;
global $xlanguage_langs;
$patterns = [];
- 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 $old_directories is not named in camelCase. Open
function xoops_module_uninstall_xlanguage(\XoopsModule $module)
{
// return true;
$moduleDirName = \basename(\dirname(__DIR__));
- 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 $old_dir is not named in camelCase. Open
function xoops_module_uninstall_xlanguage(\XoopsModule $module)
{
// return true;
$moduleDirName = \basename(\dirname(__DIR__));
- 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 $old_dir is not named in camelCase. Open
function xoops_module_uninstall_xlanguage(\XoopsModule $module)
{
// return true;
$moduleDirName = \basename(\dirname(__DIR__));
- 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_name is not named in camelCase. Open
function b_xlanguage_select_show($options)
{
global $xlanguage;
$block = [];
- 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 $QUERY is not named in camelCase. Open
function b_xlanguage_select_show($options)
{
global $xlanguage;
$block = [];
- 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 $tag_matchings is not named in camelCase. Open
public static function truncateHtml($text, $length = 100, $ending = '...', $exact = false, $considerHtml = true)
{
$open_tags = [];
if ($considerHtml) {
// if the plain text is shorter than the maximum length, return the whole text
- 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 $line_matchings is not named in camelCase. Open
public static function truncateHtml($text, $length = 100, $ending = '...', $exact = false, $considerHtml = true)
{
$open_tags = [];
if ($considerHtml) {
// if the plain text is shorter than the maximum length, return the whole text
- 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 $line_matchings is not named in camelCase. Open
public static function truncateHtml($text, $length = 100, $ending = '...', $exact = false, $considerHtml = true)
{
$open_tags = [];
if ($considerHtml) {
// if the plain text is shorter than the maximum length, return the whole text
- 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 $id_field is not named in camelCase. Open
public static function cloneRecord($tableName, $id_field, $id)
{
$new_id = false;
$table = $GLOBALS['xoopsDB']->prefix($tableName);
// copy content of the record you wish to clone
- 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 $var_array is not named in camelCase. Open
public function insert($lang)
{
$val_array = [];
if (!$lang->isDirty()) {
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 $file_content is not named in camelCase. Open
public function createConfig()
{
$file_config = \XLANGUAGE_CONFIG_FILE;
if (\is_file($file_config)) {
\unlink($file_config);
- 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 $file_content is not named in camelCase. Open
public function createConfig()
{
$file_config = \XLANGUAGE_CONFIG_FILE;
if (\is_file($file_config)) {
\unlink($file_config);
- 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 $file_content is not named in camelCase. Open
public function createConfig()
{
$file_config = \XLANGUAGE_CONFIG_FILE;
if (\is_file($file_config)) {
\unlink($file_config);
- 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();
}
}