Showing 20,971 of 20,976 total issues
The method XYZ_RGB is not named in camelCase. Open
public function XYZ_RGB($o)
{
$M = $this->_XYZ_RGB;
$z = [];
- 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 xyY_XYZ is not named in camelCase. Open
public function xyY_XYZ($o)
{
return [
'X' => ($o['x'] * $o['Y']) / $o['y'],
'Y' => $o['Y'],
- 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 _needsCdata is not named in camelCase. Open
protected function _needsCdata($str)
{
return $this->_isXhtml && preg_match('/(?:[<&]|\\-\\-|\\]\\]>)/', $str);
}
- 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 _removePreCB is not named in camelCase. Open
protected function _removePreCB($m)
{
return $this->_reservePlace("<pre{$m[1]}");
}
- 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 _mimetypes is not named in camelCase. Open
private static function _mimetypes()
{
return include 'mimetypes.php';
}
- 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 _isWhitelisted is not named in camelCase. Open
private static function _isWhitelisted()
{
$route = issetor($_GET['_route'], false);
foreach (config('security.csrf.postWhitelistRoutes') as $whitelist) {
if (stripos($route, $whitelist) === 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 _ is not named in camelCase. Open
public static function _($ident, $module = null)
{
return self::getInstance()->get($ident, $module);
}
- 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 _commentCB is not named in camelCase. Open
protected function _commentCB($m)
{
return (0 === strpos($m[1], '[') || false !== strpos($m[1], '<!['))
? $m[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 _getTokenDictionary is not named in camelCase. Open
private static function _getTokenDictionary(&$session = null)
{
if (!isset($session)) {
$session = new Ajde_Session('AC.Form');
}
- 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 not named in camelCase. Open
abstract public static function _(
$message,
$channel = self::CHANNEL_INFO,
$level = self::LEVEL_INFORMATIONAL,
$description = '',
- 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 not named in camelCase. Open
public static function _(
$message,
$channel = Ajde_Log::CHANNEL_INFO,
$level = Ajde_Log::LEVEL_INFORMATIONAL,
$description = '',
- 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 not named in camelCase. Open
public static function _(
$message,
$channel = Ajde_Log::CHANNEL_INFO,
$level = Ajde_Log::LEVEL_INFORMATIONAL,
$description = '',
- 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 _getSoundcloudUrl is not named in camelCase. Open
private function _getSoundcloudUrl()
{
if (substr($this->_code, 0, 7) == 'http://' || substr($this->_code, 0, 8) == 'https://') {
$apiUrl = 'http://api.soundcloud.com/resolve.json?url='.urlencode($this->_code).'&client_id='.$this->_key();
$hash = json_decode(Ajde_Http_Curl::get($apiUrl));
- 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 _removeStyleCB is not named in camelCase. Open
protected function _removeStyleCB($m)
{
$openStyle = "<style{$m[1]}";
$css = $m[2];
// remove HTML comments
- 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 _getYoutubeId is not named in camelCase. Open
private function _getYoutubeId()
{
if (substr($this->_code, 0, 15) == 'http://youtu.be') {
return substr($this->_code, 16, 11);
} else {
- 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 not named in camelCase. Open
public static function _(
$message,
$channel = Ajde_Log::CHANNEL_INFO,
$level = Ajde_Log::LEVEL_INFORMATIONAL,
$description = '',
- 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 _tokenHash is not named in camelCase. Open
private static function _tokenHash($token)
{
return md5($token.$_SERVER['REMOTE_ADDR'].$_SERVER['HTTP_USER_AGENT'].config('security.secret'));
}
- 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 _getHashFromSession is not named in camelCase. Open
private static function _getHashFromSession($token)
{
$tokenDictionary = self::_getTokenDictionary();
return issetor($tokenDictionary[$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 _load is not named in camelCase. Open
protected function _load($sql, $values, $populate = true)
{
$return = parent::_load($sql, $values, $populate);
if (Ajde_Lang::getInstance()->autoTranslateModels() && $return) {
// get translation
- 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 _loadTranslationData is not named in camelCase. Open
public function _loadTranslationData($filename, $locale, array $options = [])
{
$this->_data = [];
$this->_bigEndian = false;
$this->_file = @fopen($filename, 'rb');
- 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() {
}
}