Showing 4,293 of 4,293 total issues
The variable $View 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 $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 $post_id is not named in camelCase. Open
function renderSideAreas($postId, $areaSettings = array(), $moduleSettings = array())
{
global $post;
$post_id = (null === $postId) ? $post->ID : $postId;
$areas = get_post_meta($post_id, 'active_sidebar_areas', 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 $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 $file_attr is not named in camelCase. Open
public static function handleUpload()
{
header( 'Content-Type: text/html; charset=UTF-8' );
if (!defined( 'DOING_AJAX' )) {
- 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
private function normalizeConfiguration( $post_id )
{
$collection = array();
$layout = get_post_meta( $post_id, 'kb_kontentblocks', 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 $Form is not named in camelCase. Open
private function settingsForm($data)
{
$templateData = array(
'strings' => I18n::getPackages('Areas', 'Common'),
'editMode' => (!empty($data)),
- 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
public function addRowClass($classes, $class, $post_id)
{
$screen = get_current_screen();
if (isset($screen->post_type) && $screen->post_type === 'kb-dyar' && $screen->base === 'edit') {
- 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 $left_revision is not named in camelCase. Open
public function revisionFields($return)
{
//globals
global $post, $pagenow;
- 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 $setup_data is not named in camelCase. Open
public function observeQuery()
{
$input = filter_input_array(
INPUT_GET,
array(
- 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
public static function handleUpload()
{
header( 'Content-Type: text/html; charset=UTF-8' );
if (!defined( 'DOING_AJAX' )) {
- 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 $setup_data is not named in camelCase. Open
public function observeQuery()
{
$input = filter_input_array(
INPUT_GET,
array(
- 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 $Storage is not named in camelCase. Open
private function prepareFromConfiguration( $index, $post_id )
{
$i = 1;
$collection = array();
$Storage = new ModuleStorage( $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 $post_id is not named in camelCase. Open
private function saveConfiguration( $config, $name, $post_id )
{
$configurations = get_option( 'kb_layout_configurations' );
$id = sanitize_title( $name );
- 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
private function prepareFromConfiguration( $index, $post_id )
{
$i = 1;
$collection = array();
$Storage = new ModuleStorage( $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 $right_revision is not named in camelCase. Open
public function revisionFields($return)
{
//globals
global $post, $pagenow;
- 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
public static function enqueueScripts()
{
global $post;
$post_id = ( !empty( $post->ID ) ) ? $post->ID : null;
- 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
public static function handleUpload()
{
header( 'Content-Type: text/html; charset=UTF-8' );
if (!defined( 'DOING_AJAX' )) {
- 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();
}
}