Showing 4,293 of 4,293 total issues
The variable $crop_w is not named in camelCase. Open
public function upscale($default, $orig_w, $orig_h, $dest_w, $dest_h, $crop)
{
if (!$crop) {
return null;
} // Let the wordpress default function handle this.
- 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 $size_ratio is not named in camelCase. Open
public function upscale($default, $orig_w, $orig_h, $dest_w, $dest_h, $crop)
{
if (!$crop) {
return null;
} // Let the wordpress default function handle this.
- 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 $crop_w is not named in camelCase. Open
public function upscale($default, $orig_w, $orig_h, $dest_w, $dest_h, $crop)
{
if (!$crop) {
return null;
} // Let the wordpress default function handle this.
- 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 $s_x is not named in camelCase. Open
public function upscale($default, $orig_w, $orig_h, $dest_w, $dest_h, $crop)
{
if (!$crop) {
return null;
} // Let the wordpress default function handle this.
- 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 $crop_h is not named in camelCase. Open
public function upscale($default, $orig_w, $orig_h, $dest_w, $dest_h, $crop)
{
if (!$crop) {
return null;
} // Let the wordpress default function handle this.
- 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_templates is not named in camelCase. Open
public static function getPageTemplates()
{
$page_templates = get_page_templates();
$page_templates['Default (page.php)'] = 'default';
- 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
public static function setupModuleData($data, $properties)
{
if (is_null($properties->parentObject)) {
return $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 method _cleanSpaces is not named in camelCase. Open
private function _cleanSpaces( $string )
{
return esc_attr( preg_replace( '/\s{2,}/', ' ', $string ) );
}
- 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 _deleteConfiguration is not named in camelCase. Open
private function _deleteConfiguration( $config, $id, $post_id )
{
$configurations = get_option( 'kb_layout_configurations' );
$bucket = ( !empty( $configurations[$config] ) ) ? $configurations[$config] : array();
- 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 _classList is not named in camelCase. Open
protected function _classList()
{
return trim( implode( ' ', $this->classes ) );
}
- 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 is not named in camelCase. Open
public function _save($new, $old = null)
{
foreach ($new as &$item) {
if (!isset($item['closed'])) {
$item['closed'] = NULL;
- 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 _renderAttributes is not named in camelCase. Open
protected function _renderAttributes()
{
$return = "class='{$this->_classList()}' ";
$return .= $this->_attributesList();
- 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 _attributesList is not named in camelCase. Open
protected function _attributesList()
{
$returnstr = '';
foreach ($this->attributes as $attr => $value) {
$esc = esc_attr( $value );
- 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 _after is not named in camelCase. Open
private function _after()
{
echo "</div>";
}
- 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 _before is not named in camelCase. Open
private function _before()
{
echo "<div class='kb_fieldtoggles'>";
}
- 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 is not named in camelCase. Open
public function _save($data, $oldData)
{
$collect = array();
/** @var Field $field */
foreach ($this->fields as $field) {
- 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 _cleanSpaces is not named in camelCase. Open
private function _cleanSpaces($string)
{
return esc_attr(preg_replace('/\s{2,}/', ' ', $string));
}
- 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 is not named in camelCase. Open
public function _save($new, $old = null)
{
$data = $this->save($new, $old);
if ($this->getCallback('save.value')) {
$data = call_user_func($this->getCallback('save.value'), $new, $old, $data);
- 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 render_content is not named in camelCase. Open
public function render_content(){
$view = new FieldView('link-control.twig', array(
'control' => $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 _classList is not named in camelCase. Open
private function _classList()
{
return trim(implode(' ', $this->classes));
}
- 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() {
}
}