Showing 20,971 of 20,976 total issues
The method _getCustomTemplateAction is not named in camelCase. Open
private function _getCustomTemplateAction()
{
return 'crud/'.(string) $this->getModel()->getTable().DIRECTORY_SEPARATOR.$this->getAction();
}
- 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 _hasCustomTemplate is not named in camelCase. Open
protected function _hasCustomTemplate($action)
{
$base = $this->_getCustomTemplateBase();
$action = $this->_getCustomTemplateAction($action);
- 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 is not named in camelCase. Open
protected function _set($key, $value)
{
parent::_set($key, $value);
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 _init is not named in camelCase. Open
protected function _init()
{
return [];
}
- 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 _getCustomTemplateBase is not named in camelCase. Open
private function _getCustomTemplateBase()
{
return MODULE_DIR.$this->getCustomTemplateModule().DIRECTORY_SEPARATOR;
}
- 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 _hasCustomTemplate is not named in camelCase. Open
private function _hasCustomTemplate()
{
$base = $this->_getCustomTemplateBase();
$action = $this->_getCustomTemplateAction();
- 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 _getFieldTemplate is not named in camelCase. Open
protected function _getFieldTemplate()
{
return $this->_getTemplate('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 _getCustomTemplateAction is not named in camelCase. Open
protected function _getCustomTemplateAction($action)
{
return 'crud/'.(string) $this->_crud->getModel()->getTable().'/'.$action;
}
- 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 _getTemplateActionDefault is not named in camelCase. Open
private function _getTemplateActionDefault(Ajde_Template $template)
{
$actionArray = explode('/', $template->getAction());
end($actionArray);
$actionArray[key($actionArray)] = 'default';
- 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 preg_quote is not named in camelCase. Open
public static function preg_quote($what)
{
return preg_quote($what, '/');
}
- 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 lib_isnumber is not named in camelCase. Open
protected function lib_isnumber($value)
{
return $this->toBool($value[0] == 'number');
}
- 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 lib_isstring is not named in camelCase. Open
protected function lib_isstring($value)
{
return $this->toBool($value[0] == '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 lib_iscolor is not named in camelCase. Open
protected function lib_iscolor($value)
{
return $this->toBool($this->coerceColor($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 lib_ispixel is not named in camelCase. Open
protected function lib_ispixel($value)
{
return $this->toBool($value[0] == 'number' && $value[2] == 'px');
}
- 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 lib_iskeyword is not named in camelCase. Open
protected function lib_iskeyword($value)
{
return $this->toBool($value[0] == 'keyword');
}
- 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 lib_blue is not named in camelCase. Open
public function lib_blue($color)
{
$color = $this->coerceColor($color);
if (is_null($color)) {
$this->throwError('color expected for blue()');
- 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 lib_darken is not named in camelCase. Open
protected function lib_darken($args)
{
list($color, $delta) = $this->colorArgs($args);
$hsl = $this->toHSL($color);
- 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 lib_saturate is not named in camelCase. Open
protected function lib_saturate($args)
{
list($color, $delta) = $this->colorArgs($args);
$hsl = $this->toHSL($color);
- 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 lib_fadein is not named in camelCase. Open
protected function lib_fadein($args)
{
list($color, $delta) = $this->colorArgs($args);
$color[4] = $this->clamp((isset($color[4]) ? $color[4] : 1) + $delta / 100);
- 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 op_color_number is not named in camelCase. Open
protected function op_color_number($op, $lft, $rgt)
{
if ($rgt[0] == '%') {
$rgt[1] /= 100;
}
- 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() {
}
}