Showing 20,971 of 20,976 total issues
The method _curl_exec_follow is not named in camelCase. Open
private static function _curl_exec_follow(&$ch, $redirects = 20, $curlopt_header = false)
{
if ((!ini_get('open_basedir') && !ini_get('safe_mode')) || $redirects < 1) {
curl_setopt($ch, CURLOPT_HEADER, $curlopt_header);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, $redirects > 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 _getFilename is not named in camelCase. Open
private static function _getFilename()
{
return LOG_DIR.date('Ymd').'.log';
}
- 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 = 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 LCHab_Lab is not named in camelCase. Open
public function LCHab_Lab($o)
{
$rad = $o['H'] * (PI / 180);
return ['L' => $o['L'], 'a' => cos($rad) * $o['C'], 'b' => sin($rad) * $o['C']];
- 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 _removeTextareaCB is not named in camelCase. Open
protected function _removeTextareaCB($m)
{
return $this->_reservePlace("<textarea{$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 _reservePlace is not named in camelCase. Open
protected function _reservePlace($content)
{
$placeholder = '%'.$this->_replacementHash.count($this->_placeholders).'%';
$this->_placeholders[$placeholder] = $content;
- 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 _removeCdata is not named in camelCase. Open
protected function _removeCdata($str)
{
return (false !== strpos($str, '<![CDATA['))
? str_replace(['<![CDATA[', ']]>'], '', $str)
: $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 _getVimeoId is not named in camelCase. Open
private function _getVimeoId()
{
if (substr($this->_code, 0, 7) == 'http://' || substr($this->_code, 0, 8) == 'https://') {
return str_replace('/', '', parse_url($this->_code, PHP_URL_PATH));
} 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 _removeScriptCB is not named in camelCase. Open
protected function _removeScriptCB($m)
{
$openScript = "<script{$m[2]}";
$js = $m[3];
- 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 _setHeight is not named in camelCase. Open
protected function _setHeight()
{
$ptn = "/height=(\'|\")([0-9]+)(\'|\")/";
$rpltxt = "height='".$this->_height."'";
$this->_code = preg_replace($ptn, $rpltxt, $this->_code);
- 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 _getMixcloudUrl is not named in camelCase. Open
private function _getMixcloudUrl()
{
if (substr($this->_code, 0, 7) == 'http://' || substr($this->_code, 0, 8) == 'https://') {
return $this->_code;
} 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 Luv_LCHuv is not named in camelCase. Open
public function Luv_LCHuv($o)
{
$H = atan2($o['v'], $o['u']) * (180 / PI);
if ($H < 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 __bootstrap is not named in camelCase. Open
public static function __bootstrap()
{
// making xdebug.overload_var_dump = 1 work
if (config('app.debug')) {
ini_set('html_errors', 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 _getCurl is not named in camelCase. Open
private static function _getCurl($url)
{
$output = false;
try {
$ch = curl_init();
- 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 LCHuv_Luv is not named in camelCase. Open
public function LCHuv_Luv($o)
{
$rad = $o['H'] * (PI / 180);
return ['L' => $o['L'], 'u' => cos($rad) * $o['C'], 'v' => sin($rad) * $o['C']];
- 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 _key is not named in camelCase. Open
private function _key()
{
return config('services.soundcloud.key');
}
- 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 _setWidth is not named in camelCase. Open
protected function _setWidth()
{
$ptn = "/width=(\'|\")([0-9]+)(\'|\")/";
$rpltxt = "width='".$this->_width."'";
$this->_code = preg_replace($ptn, $rpltxt, $this->_code);
- 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 _readMOData is not named in camelCase. Open
private function _readMOData($bytes)
{
if ($this->_bigEndian === false) {
return unpack('V'.$bytes, fread($this->_file, 4 * $bytes));
} 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 DKIM_HeaderC is not named in camelCase. Open
public function DKIM_HeaderC($s)
{
$s = preg_replace("/\r\n\s+/", ' ', $s);
$lines = explode("\r\n", $s);
foreach ($lines as $key => $line) {
- 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 _initValidators is not named in camelCase. Open
private function _initValidators($fieldOptions)
{
foreach ($fieldOptions as $fieldName => $fieldProperties) {
switch (issetor($fieldProperties['type'])) {
case Ajde_Db::FIELD_TYPE_DATE:
- 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() {
}
}