Showing 4,293 of 4,293 total issues
The variable $upload_dir is not named in camelCase. Open
public static function uploadFilter($param)
{
$dir = filter_input(INPUT_POST, 'upload_folder', FILTER_DEFAULT, FILTER_SANITIZE_STRING);
- 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 $Module is not named in camelCase. Open
protected static function action(Request $request)
{
$module = wp_unslash($request->request->get('module'));
$view = wp_unslash($request->request->get('view', ''));
$environment = Utilities::getPostEnvironment($module['postId']);
- 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 $Module is not named in camelCase. Open
protected static function action(Request $request)
{
$module = wp_unslash($request->request->get('module'));
$view = wp_unslash($request->request->get('view', ''));
$environment = Utilities::getPostEnvironment($module['postId']);
- 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 $View is not named in camelCase. Open
protected static function action(Request $request)
{
$module = wp_unslash($request->request->get('module'));
$view = wp_unslash($request->request->get('view', ''));
$environment = Utilities::getPostEnvironment($module['postId']);
- 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 $Module is not named in camelCase. Open
protected static function action(Request $request)
{
$file = $request->request->get('viewfile');
$path = $file['rootPath'] . $file['subPath'] . $file['filename'];
$data = file_get_contents($path);
- 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 $upload_dir is not named in camelCase. Open
public static function uploadFilter($param)
{
$dir = filter_input(INPUT_POST, 'upload_folder', FILTER_DEFAULT, FILTER_SANITIZE_STRING);
- 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 $AreaRegistry is not named in camelCase. Open
function registerArea($args)
{
/** @var \Kontentblocks\Areas\AreaRegistry $AreaRegistry */
$AreaRegistry = Kontentblocks::getService('registry.areas');
return $AreaRegistry->addArea($args, 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 $post_id is not named in camelCase. Open
function getPanel($panelId = null, $post_id = null)
{
return getPostPanel($panelId, $post_id);
}
- 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 $Environment is not named in camelCase. Open
function getPostPanel($panelId = null, $postId = null)
{
if (is_null($postId)) {
$postId = get_the_ID();
}
- 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 $Module is not named in camelCase. Open
protected static function action(Request $request)
{
$view = wp_unslash($request->request->get('view', null));
$module = wp_unslash($request->request->get('module'));
$string = wp_unslash($request->request->get('tplstring', ''));
- 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 $View is not named in camelCase. Open
protected static function action(Request $request)
{
$module = wp_unslash($request->request->get('module'));
$tplName = wp_unslash($request->request->get('filename', ''));
$environment = Utilities::getPostEnvironment($module['postId']);
- 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 $View is not named in camelCase. Open
protected static function action(Request $request)
{
$module = wp_unslash($request->request->get('module'));
$tplName = wp_unslash($request->request->get('filename', ''));
$environment = Utilities::getPostEnvironment($module['postId']);
- 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 $View is not named in camelCase. Open
protected static function action(Request $request)
{
$module = wp_unslash($request->request->get('module'));
$view = wp_unslash($request->request->get('view', ''));
$environment = Utilities::getPostEnvironment($module['postId']);
- 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 $ModuleWorkshop is not named in camelCase. Open
protected static function action(Request $request)
{
$file = $request->request->get('viewfile');
$path = $file['rootPath'] . $file['subPath'] . $file['filename'];
$data = file_get_contents($path);
- 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 $post_id is not named in camelCase. Open
function has_modules( $area_id, $post_id = null )
{
return \Kontentblocks\hasModules( $area_id, $post_id );
}
- 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 $Module is not named in camelCase. Open
protected static function action(Request $request)
{
$module = wp_unslash($request->request->get('module'));
$tplName = wp_unslash($request->request->get('filename', ''));
$environment = Utilities::getPostEnvironment($module['postId']);
- 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 $ModuleWorkshop is not named in camelCase. Open
protected static function action(Request $request)
{
$view = wp_unslash($request->request->get('view', null));
$module = wp_unslash($request->request->get('module'));
$string = wp_unslash($request->request->get('tplstring', ''));
- 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 $AreaRegistry is not named in camelCase. Open
function registerArea($args)
{
/** @var \Kontentblocks\Areas\AreaRegistry $AreaRegistry */
$AreaRegistry = Kontentblocks::getService('registry.areas');
return $AreaRegistry->addArea($args, 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 $Module is not named in camelCase. Open
protected static function action(Request $request)
{
$module = wp_unslash($request->request->get('module'));
$tplName = wp_unslash($request->request->get('filename', ''));
$environment = Utilities::getPostEnvironment($module['postId']);
- 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 $ModuleWorkshop is not named in camelCase. Open
protected static function action(Request $request)
{
$module = wp_unslash($request->request->get('module'));
$view = wp_unslash($request->request->get('view', ''));
$environment = Utilities::getPostEnvironment($module['postId']);
- 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();
}
}