Showing 20,971 of 20,976 total issues
The method DKIM_QP is not named in camelCase. Open
public function DKIM_QP($txt)
{
$line = '';
for ($i = 0; $i < strlen($txt); $i++) {
$ord = ord($txt[$i]);
- 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 _validate is not named in camelCase. Open
protected function _validate()
{
if (empty($this->_value)) {
if (!$this->getIsAutoIncrement()) {
return ['valid' => false, 'error' => trans('Required 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 _validate is not named in camelCase. Open
protected function _validate()
{
if (!empty($this->_value)) {
if ($length = $this->getLength()) {
if (strlen($this->_value) > $length) {
- 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)
{
$statement = $this->getConnection()->prepare($sql);
$statement->execute($values);
$result = $statement->fetch(PDO::FETCH_ASSOC);
- 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 mb_pathinfo is not named in camelCase. Open
public static function mb_pathinfo($path, $options = null)
{
$ret = ['dirname' => '', 'basename' => '', 'extension' => '', 'filename' => ''];
$m = [];
preg_match('%^(.*?)[\\\\/]*(([^/\\\\]*?)(\.([^\.\\\\/]+?)|))[\\\\/\.]*$%im', $path, $m);
- 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_Add is not named in camelCase. Open
public function DKIM_Add($headers_line, $subject, $body)
{
$DKIMsignatureType = 'rsa-sha1'; // Signature & hash algorithms
$DKIMcanonicalization = 'relaxed/simple'; // Canonicalization of header/body
$DKIMquery = 'dns/txt'; // Query method
- 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 get_lines is not named in camelCase. Open
protected function get_lines()
{
$data = '';
$endtime = 0;
// If the connection is bad, give up now
- 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 _validate is not named in camelCase. Open
abstract protected function _validate();
- 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($name, $value)
{
parent::_set($name, $value);
if ($this->isFieldEncrypted($name)) {
parent::_set($name, $this->encrypt($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 SendQuickMail is not named in camelCase. Open
public function SendQuickMail($to, $from, $fromName, $subject, $body, $toName = '')
{
// set class to use PHP mail function
// $this->IsMail();
- 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 _get is not named in camelCase. Open
protected function _get($name)
{
if ($this->isFieldEncrypted($name)) {
return $this->decrypt($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 _validate is not named in camelCase. Open
protected function _validate()
{
if (!empty($this->_value)) {
if (!is_numeric($this->_value)) {
return ['valid' => false, 'error' => trans('Not a 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 _mime_types is not named in camelCase. Open
public static function _mime_types($ext = '')
{
$mimes = [
'xl' => 'application/excel',
'hqx' => 'application/mac-binhex40',
- 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_Sign is not named in camelCase. Open
public function DKIM_Sign($s)
{
if (!defined('PKCS7_TEXT')) {
if ($this->exceptions) {
throw new phpmailerException($this->lang('signing').' OpenSSL extension missing.');
- 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_BodyC is not named in camelCase. Open
public function DKIM_BodyC($body)
{
if ($body == '') {
return "\r\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 _validate is not named in camelCase. Open
protected function _validate()
{
return ['valid' => 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 _validate is not named in camelCase. Open
protected function _validate()
{
$pk = $this->getModel()->getPK();
$model = $this->getModel();
- 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 _validate is not named in camelCase. Open
protected function _validate()
{
if (!empty($this->_value)) {
// return array('valid' => false, 'error' => __('This ' . $this->getValue() . ' already exists'));
- 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 client_send is not named in camelCase. Open
public function client_send($data)
{
if ($this->do_debug >= 1) {
$this->edebug("CLIENT -> SERVER: $data");
}
- 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 __getPattern is not named in camelCase. Open
public static function __getPattern()
{
return self::$__pattern;
}
- 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() {
}
}