Showing 9,653 of 9,653 total issues
The variable $item_id is not named in camelCase. Open
function extgallery_tag_iteminfo(&$items)
{
if (empty($items) || !is_array($items)) {
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 $XoopsDB is not named in camelCase. Open
function extgallery_tag_synchronization($mid)
{
global $XoopsDB;
/** @var Extgallery\PublicPhotoHandler $itemHandler */
$itemHandler = Extgallery\Helper::getInstance()->getHandler('PublicPhoto');
- 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 $items_obj is not named in camelCase. Open
function extgallery_tag_iteminfo(&$items)
{
if (empty($items) || !is_array($items)) {
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 $item_obj is not named in camelCase. Open
function extgallery_tag_iteminfo(&$items)
{
if (empty($items) || !is_array($items)) {
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 $item_obj is not named in camelCase. Open
function extgallery_tag_iteminfo(&$items)
{
if (empty($items) || !is_array($items)) {
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 method parse_span_elements is not named in camelCase. Open
private function parse_span_elements($text, $markers = ['![', '&', '*', '<', '[', '_', '`', 'http', '~~'])
{
if (false === isset($text[2]) or $markers === []) {
return $text;
}
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method parse_block_elements is not named in camelCase. Open
private function parse_block_elements(array $lines, $context = '')
{
$elements = [];
$element = [
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method set_breaks_enabled is not named in camelCase. Open
public function set_breaks_enabled($breaks_enabled)
{
$this->break_marker = $breaks_enabled ? "\n" : " \n";
return $this;
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method on_page_view is not named in camelCase. Open
public function on_page_view()
{
$html = Loader::helper('html');
$bv = new BlockView();
$bv->setBlockObject($this->getBlockObject());
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method get_original_image_dimensions is not named in camelCase. Open
private function get_original_image_dimensions()
{
$size = [];
// try and get the image size from metadata
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method get_destination_file_name is not named in camelCase. Open
private function get_destination_file_name($dest_size)
{
$info = pathinfo($this->path);
$dir = $info['dirname'];
$ext = $info['extension'];
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method resize_image is not named in camelCase. Open
private function resize_image($orig_size, $dest_size, $dest_file_name)
{
// load image
$image = wp_get_image_editor($this->path);
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method get_slide is not named in camelCase. Open
public function get_slide($slide_id, $slider_id)
{
$this->set_slider($slider_id);
$this->set_slide($slide_id);
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method save_slide is not named in camelCase. Open
public function save_slide($slide_id, $slider_id, $fields)
{
$this->set_slider($slider_id);
$this->set_slide($slide_id);
$this->save($fields);
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method tag_slide_to_slider is not named in camelCase. Open
public function tag_slide_to_slider()
{
if (!term_exists($this->slider->ID, 'ml-slider')) {
// create the taxonomy term, the term is the ID of the slider itself
wp_insert_term($this->slider->ID, 'ml-slider');
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method set_slide is not named in camelCase. Open
public function set_slide($id)
{
$this->slide = get_post($id);
}
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method update_menu_order is not named in camelCase. Open
public function update_menu_order()
{
$menu_order = 0;
// get the slide with the highest menu_order so far
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method get_thumb is not named in camelCase. Open
public function get_thumb()
{
$imageHelper = new MetaSliderImageHelper($this->slide->ID, 150, 150, 'false');
return $imageHelper->get_image_url();
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method get_slide_html is not named in camelCase. Open
public function get_slide_html()
{
if (is_admin() && isset($_GET['page']) && 'metaslider-theme-editor' === $_GET['page']) {
return $this->get_public_slide();
}
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method is_valid_image is not named in camelCase. Open
public function is_valid_image()
{
$meta = wp_get_attachment_metadata($this->slide->ID);
return isset($meta['width'], $meta['height']);
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}