Showing 20,971 of 20,976 total issues
The method _format is not named in camelCase. Open
protected function _format($value)
{
if (function_exists('money_format')) {
return money_format('%!i', $value);
} 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 _urlEncode is not named in camelCase. Open
public static function _urlEncode($string)
{
return base64_encode($string);
}
- 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 _getItemModel is not named in camelCase. Open
protected function _getItemModel()
{
$cartItemModelName = $this->_cartItemModel;
return new $cartItemModelName($this);
- 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 _getCartModel is not named in camelCase. Open
protected function _getCartModel()
{
$cartModelName = $this->_cartModel;
return new $cartModelName();
- 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()
{
// Session name
$sessionName = config('app.id').'_session';
session_name($sessionName);
- 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 _getLinkTemplateFilename is not named in camelCase. Open
protected function _getLinkTemplateFilename()
{
$format = $this->hasFormat() ? $this->getFormat() : null;
return self::getLinkTemplateFilename($this->getType(), $format);
- 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 _format is not named in camelCase. Open
protected function _format($value)
{
if (function_exists('money_format')) {
return money_format('%!i', $value);
} 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 _format is not named in camelCase. Open
protected function _format($value)
{
return money_format('%!i', $value);
}
- 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()
{
self::mergeClientToUser();
return 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 _urlDecode is not named in camelCase. Open
public static function _urlDecode($string)
{
return base64_decode($string);
}
- 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 rest_read is not named in camelCase. Open
private function rest_read($rest_resource, $id)
{
$id = $id ? urlencode($id) : 'undefined';
$result = $this->performApiCall(self::REST_READ, "{$rest_resource}/{$id}");
- 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 rest_list is not named in camelCase. Open
private function rest_list($rest_resource, $offset = 0, $limit = self::DEFAULT_LIMIT)
{
$api_path = $rest_resource.'?'.http_build_query(['offset' => $offset, 'count' => $limit]);
$result = $this->performApiCall(self::REST_LIST, $api_path);
- 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 _getShippingModel is not named in camelCase. Open
private function _getShippingModel()
{
$shippingModelName = $this->_shippingModel;
return new $shippingModelName($this);
- 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 _format is not named in camelCase. Open
protected function _format($value)
{
return money_format('%!i', $value);
}
- 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 _getProviders is not named in camelCase. Open
private static function _getProviders()
{
$return = [];
$providers = config('shop.transaction.providers');
foreach ($providers as $provider) {
- 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 rest_create is not named in camelCase. Open
private function rest_create($rest_resource, $body)
{
$result = $this->performApiCall(self::REST_CREATE, $rest_resource, $body);
return $this->copy($result, $this->getResourceObject($rest_resource));
- 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 _oauthRequest is not named in camelCase. Open
protected function _oauthRequest($url, $params)
{
if (!isset($params['access_token'])) {
$params['access_token'] = $this->getAccessToken();
}
- 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 _restserver is not named in camelCase. Open
protected function _restserver($params)
{
// generic application level parameters
$params['api_key'] = $this->getAppId();
$params['format'] = 'json-strings';
- 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 _graph is not named in camelCase. Open
protected function _graph($path, $method = 'GET', $params = [])
{
if (is_array($method) && empty($params)) {
$params = $method;
$method = 'GET';
- 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 _getLocalResource is not named in camelCase. Open
protected function _getLocalResource()
{
return $this->_getResource('Ajde_Resource_Local');
}
- 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() {
}
}