Showing 20,971 of 20,976 total issues
The variable $payment_status is not named in camelCase. Open
public function updatePayment()
{
// PHP 4.1
// read the post from PayPal system and add 'cmd'
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $cookie_value is not named in camelCase. Open
protected function initSharedSession()
{
$cookie_name = $this->getSharedSessionCookieName();
if (isset($_COOKIE[$cookie_name])) {
$data = $this->parseSignedRequest($_COOKIE[$cookie_name]);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $session_var_name is not named in camelCase. Open
protected function getPersistentData($key, $default = false)
{
if (!in_array($key, self::$kSupportedKeys)) {
self::errorLog('Unsupported key passed to getPersistentData.');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $request_headers is not named in camelCase. Open
public function performHttpCall($http_method, $api_method, $http_body = null)
{
if (empty($this->api_key)) {
throw new Mollie_API_Exception('You have not set an api key. Please use setApiKey() to set the API key.');
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $data_result 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
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $api_result is not named in camelCase. Open
private function copy($api_result, $object)
{
foreach ($api_result as $property => $value) {
if (property_exists(get_class($object), $property)) {
$object->$property = $value;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $order_id is not named in camelCase. Open
public function getRedirectUrl($description = null)
{
$transaction = $this->getTransaction();
$mollie = new Mollie_API_Client();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $order_id is not named in camelCase. Open
public function updatePayment()
{
$payment = false;
$mollie = new Mollie_API_Client();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $payment_details is not named in camelCase. Open
public function updatePayment()
{
$payment = false;
$mollie = new Mollie_API_Client();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $payment_details is not named in camelCase. Open
public function updatePayment()
{
$payment = false;
$mollie = new Mollie_API_Client();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $txn_id is not named in camelCase. Open
public function updatePayment()
{
$txn_id = $_GET['txn'];
$transaction = new TransactionModel();
$transaction->loadByPK($txn_id);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $txn_id is not named in camelCase. Open
public function updatePayment()
{
$txn_id = $_GET['txn'];
$transaction = new TransactionModel();
$transaction->loadByPK($txn_id);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $base_domain is not named in camelCase. Open
protected function initSharedSession()
{
$cookie_name = $this->getSharedSessionCookieName();
if (isset($_COOKIE[$cookie_name])) {
$data = $this->parseSignedRequest($_COOKIE[$cookie_name]);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $cookie_name is not named in camelCase. Open
protected function deleteSharedSessionCookie()
{
$cookie_name = $this->getSharedSessionCookieName();
unset($_COOKIE[$cookie_name]);
$base_domain = $this->getBaseDomain();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $api_key is not named in camelCase. Open
public function setApiKey($api_key)
{
if (!preg_match('!^(?:live|test)_\\w+$!', $api_key)) {
throw new Mollie_API_Exception("Invalid api key: \"{$api_key}\". An API key must start with \"test_\" or \"live_\".");
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $request_headers is not named in camelCase. Open
public function performHttpCall($http_method, $api_method, $http_body = null)
{
if (empty($this->api_key)) {
throw new Mollie_API_Exception('You have not set an api key. Please use setApiKey() to set the API key.');
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $http_method is not named in camelCase. Open
public function performHttpCall($http_method, $api_method, $http_body = null)
{
if (empty($this->api_key)) {
throw new Mollie_API_Exception('You have not set an api key. Please use setApiKey() to set the API key.');
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $rest_resource 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
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $session_var_name is not named in camelCase. Open
protected function setPersistentData($key, $value)
{
if (!in_array($key, self::$kSupportedKeys)) {
self::errorLog('Unsupported key passed to setPersistentData.');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $session_var_name is not named in camelCase. Open
protected function clearPersistentData($key)
{
if (!in_array($key, self::$kSupportedKeys)) {
self::errorLog('Unsupported key passed to clearPersistentData.');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}