Showing 434 of 434 total issues
Expected 1 space after closing parenthesis; found 0 Open
if (isset($this->tree[$childkey]['obj'])):
- Exclude checks
No space found after comma in function call Open
$text = strip_tags($myts->undoHtmlSpecialChars($myts->displayTarea($v['page_text'], 1,1,1,1,1)));
- Exclude checks
No space found after comma in function call Open
$text = strip_tags($myts->undoHtmlSpecialChars($myts->displayTarea($v['page_text'], 1,1,1,1,1)));
- Exclude checks
No space found after comma in function call Open
$page['page_text'] = $myts->undoHtmlSpecialChars($myts->displayTarea($page['page_text'], 1,1,1,1,1));
- Exclude checks
No space found after comma in function call Open
$text = strip_tags($myts->undoHtmlSpecialChars($myts->displayTarea($v['page_text'], 1,1,1,1,1)));
- Exclude checks
No space found after comma in function call Open
$text = strip_tags($myts->undoHtmlSpecialChars($myts->displayTarea($v['page_text'], 1,1,1,1,1)));
- Exclude checks
No space found after comma in function call Open
$page_text = $myts->displayTarea(trim($v['page_text']), 1,1,1,1,1);
- Exclude checks
No space found after comma in function call Open
$page['page_text'] = $myts->undoHtmlSpecialChars($myts->displayTarea($page['page_text'], 1,1,1,1,1));
- Exclude checks
Line indented incorrectly; expected 4 spaces, found 8 Open
if (0 !== strncmp($prefix, $class, $len)) {
- Exclude checks
No space found after comma in function call Open
$page['page_text'] = $myts->undoHtmlSpecialChars($myts->displayTarea($page['page_text'], 1,1,1,1,1));
- Exclude checks
The variable $old_directories is not named in camelCase. Open
function xoops_module_uninstall_about(\XoopsModule $module)
{
// return true;
require_once dirname(__DIR__) . '/preloads/autoloader.php';
- 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 $menu_criteria is not named in camelCase. Open
function about_block_menu_show()
{
$moduleDirName = basename(dirname(__DIR__));
$helper = Helper::getInstance();
- 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 $page_select is not named in camelCase. Open
function about_block_page_edit($options)
{
$moduleDirName = basename(dirname(__DIR__));
$helper = Helper::getInstance();
$options_page = [];
- 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 $new_id 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 $old_directories is not named in camelCase. Open
function xoops_module_uninstall_about(\XoopsModule $module)
{
$moduleDirName = $module->dirname();
$helper = Helper::getInstance();
$utility = new Utility();
- 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 $page_text is not named in camelCase. Open
function about_block_page_show($options)
{
if (empty($options[0])) {
return false;
}
- 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 $page_title is not named in camelCase. Open
function about_block_page_edit($options)
{
$moduleDirName = basename(dirname(__DIR__));
$helper = Helper::getInstance();
$options_page = [];
- 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_about(\XoopsModule $module)
{
// return true;
require_once dirname(__DIR__) . '/preloads/autoloader.php';
- 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 $page_menu is not named in camelCase. Open
function about_block_menu_show()
{
$moduleDirName = basename(dirname(__DIR__));
$helper = Helper::getInstance();
- 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 $page_menu is not named in camelCase. Open
function about_block_menu_show()
{
$moduleDirName = basename(dirname(__DIR__));
$helper = Helper::getInstance();
- 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();
}
}