Showing 20,971 of 20,976 total issues
The method __bootstrap is not named in camelCase. Open
public function __bootstrap()
{
if (file_exists(LOCAL_ROOT.LIB_DIR.'HTMLPurifier/HTMLPurifier.auto.php')) {
require_once LOCAL_ROOT.LIB_DIR.'HTMLPurifier/HTMLPurifier.auto.php';
// Optional components still need to be included--you'll know if you try to
- 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 _load is not named in camelCase. Open
protected function _load($sql, $values, $populate = true)
{
$return = parent::_load($sql, $values, $populate);
if ($return) {
$this->validateAccess('read');
- 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 _extractRouteParts is not named in camelCase. Open
protected function _extractRouteParts()
{
$matches = [];
$defaultRules = [
// module/controller:view
- 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'] = 'number';
$attributes['step'] = 'any';
- 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 function __bootstrap();
- 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 function __bootstrap()
{
Ajde_Event::register('Ajde_Core_Route', 'onAfterLangSet', [$this, 'setHomepage']);
Ajde_Event::register('Ajde_Core_Route', 'onAfterRouteSet', [$this, 'detectNodeSlug']);
Ajde_Event::register('Ajde_Core_Route', 'onAfterRouteSet', [$this, 'detectShopSlug']);
- 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
public function _getHtmlAttributes()
{
$attributes = [];
$attributes['class'] = 'lang';
- 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';
- 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 [
'action' => 'local',
'filename' => 'public',
- 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 _stripLinkDefinitions_callback is not named in camelCase. Open
public function _stripLinkDefinitions_callback($matches)
{
$link_id = strtolower($matches[1]);
$url = $matches[2] == '' ? $matches[3] : $matches[2];
$this->urls[$link_id] = $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 __bootstrap is not named in camelCase. Open
public function __bootstrap()
{
\Nabble\SemaltBlocker\Blocker::protect();
Ajde_Event::register('TransactionModel', 'onPaid', [$this, 'onTransactionPaid']);
- 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 = [];
if ($this->hasReadonly() && $this->getReadonly() === true) {
$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 _getHtmlAttributes is not named in camelCase. Open
public function _getHtmlAttributes()
{
$attributes = [];
if (count($this->getValues()) >= $this->_chosenTreshold) {
$attributes['class'] = 'chosen';
- 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 TextileThis is not named in camelCase. Open
public function TextileThis($text, $lite = '', $encode = '')
{
if ($lite == '' && $encode == '') {
$text = Markdown($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 _getHtmlAttributes is not named in camelCase. Open
protected function _getHtmlAttributes()
{
$attributes = [];
$attributes['type'] = 'hidden';
$attributes['value'] = $this->getValue() ? '1' : '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 _getHtmlAttributes is not named in camelCase. Open
protected function _getHtmlAttributes()
{
$attributes = [];
$attributes['type'] = 'hidden';
$attributes['value'] = $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 _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 Markdown_Parser is not named in camelCase. Open
public function Markdown_Parser()
{
//
// Constructor function. Initialize appropriate member variables.
//
- 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()
{
$value = $this->getValue();
if (!substr_count($value, ' ') && !empty($value)) {
$data = unpack('x/x/x/x/corder/Ltype/dlat/dlon', $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 ETagMatch is not named in camelCase. Open
public function ETagMatch($serverETag = null)
{
if (empty($serverETag) && isset($_SERVER['HTTP_IF_NONE_MATCH'])) {
$serverETag = $_SERVER['HTTP_IF_NONE_MATCH'];
}
- 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() {
}
}