Showing 20,971 of 20,976 total issues
The method _doHardBreaks_callback is not named in camelCase. Open
public function _doHardBreaks_callback($matches)
{
return $this->hashPart("<br$this->empty_element_suffix\n");
}
- 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 [
'escape' => 'escape',
'clean' => 'clean',
- 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 _processGranularity is not named in camelCase. Open
private function _processGranularity($from_segment, $to_segment)
{
$delimiters = $this->granularityStack[$this->stackpointer++];
$has_next_stage = $this->stackpointer < count($this->granularityStack);
foreach (self::doFragmentDiff($from_segment, $to_segment, $delimiters) as $fragment_edit) {
- 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 _doCodeBlocks_callback is not named in camelCase. Open
public function _doCodeBlocks_callback($matches)
{
$codeblock = $matches[1];
$codeblock = $this->outdent($codeblock);
- 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 _getHtmlAttributes is not named in camelCase. Open
protected function _getHtmlAttributes()
{
$attributes = [];
$attributes['type'] = 'text';
$attributes['value'] = Ajde_Component_String::escape($this->getValue());
- 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 php_syntax_error is not named in camelCase. Open
public static function php_syntax_error($code)
{
$braces = 0;
$inString = 0;
foreach (token_get_all('<?php '.$code) as $token) {
- 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 _getInputTemplate is not named in camelCase. Open
protected function _getInputTemplate()
{
return $this->_getTemplate('field/'.$this->_type);
}
- 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 _getTemplate is not named in camelCase. Open
protected function _getTemplate($action)
{
$template = null;
if (Ajde_Template::exist(MODULE_DIR.'_core/', 'crud/'.$action) !== false) {
$template = new Ajde_Template(MODULE_DIR.'_core/', 'crud/'.$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 _doHeaders_callback_setext is not named in camelCase. Open
public function _doHeaders_callback_setext($matches)
{
// Terrible hack to check we haven't found an empty list item.
if ($matches[2] == '-' && preg_match('{^-(?: |$)}', $matches[1])) {
return $matches[0];
- 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 _doLists_callback is not named in camelCase. Open
public function _doLists_callback($matches)
{
// Re-usable patterns to match list item bullets and number markers:
$marker_ul_re = '[*+-]';
$marker_ol_re = '\d+[\.]';
- 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 [
'text' => 'html',
];
- 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 __bootstrap is not named in camelCase. Open
public static function __bootstrap()
{
if (($user = Ajde_User::getLoggedIn()) && $user->getDebug()) {
Config::set('app.debug', true);
- 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 _getHtmlAttributes is not named in camelCase. Open
protected function _getHtmlAttributes()
{
$attributes = [];
$attributes['type'] = 'hidden';
$attributes['value'] = Ajde_Component_String::escape($this->getValue());
- 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 _unhash_callback is not named in camelCase. Open
public function _unhash_callback($matches)
{
return $this->html_hashes[$matches[0]];
}
- 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 __fallback is not named in camelCase. Open
public function __fallback($method, $arguments)
{
if (Ajde_Event::has('Ajde_Controller', 'call')) {
return Ajde_Event::trigger('Ajde_Controller', 'call', [$method, $arguments]);
}
- 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 _select is not named in camelCase. Open
protected function _select($name, $key = null)
{
$key = isset($key) ? $key : $name;
// Get new active object
$className = get_class($this).'_'.ucfirst($name);
- 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 _attributeParse is not named in camelCase. Open
protected function _attributeParse()
{
foreach ($this->_parseRules as $attributeSet => $rule) {
if (array_key_exists($attributeSet, $this->attributes)) {
return $rule;
- 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 _setcookie is not named in camelCase. Open
protected function _setcookie($value, $lifetime)
{
$path = config('app.path');
$domain = config('security.cookie.domain');
$secure = config('security.cookie.secure');
- 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
protected function _getCustomTemplateBase()
{
return MODULE_DIR.$this->_crud->getCustomTemplateModule().'/';
}
- 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 _getHtmlAttributes is not named in camelCase. Open
protected function _getHtmlAttributes()
{
$attributes = [];
$attributes['type'] = 'time';
if ($this->getValue()) {
- 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() {
}
}