Showing 597 of 597 total issues
The method _getExistingData is not named in camelCase. Open
protected function _getExistingData($data)
{
// try primary key first
/** @var string $requestId */
if ($requestId = $this->_getExistingPrimaryKey($data, 'request_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 _getFields is not named in camelCase. Open
protected function _getFields()
{
return [
ThreemaGateway_Model_Messages::DB_TABLE_MESSAGES => [
'message_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 _getUpdateCondition is not named in camelCase. Open
protected function _getUpdateCondition($tableName)
{
return 'message_id = ' . $this->_db->quote($this->getExisting('message_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 _getFields is not named in camelCase. Open
protected function _getFields()
{
return [
ThreemaGateway_Model_ActionThrottle::DB_TABLE => [
'action_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 _getMessagesModel is not named in camelCase. Open
protected function _getMessagesModel()
{
return $this->getModelFromCache('ThreemaGateway_Model_Messages');
}
- 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 _getExistingData is not named in camelCase. Open
protected function _getExistingData($data)
{
return [];
}
- 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 _preDelete is not named in camelCase. Open
protected function _preDelete()
{
// we may need to store the message ID to prevent replay attacks
if (ThreemaGateway_Helper_Message::isAtRiskOfReplayAttack($this->_existingData[ThreemaGateway_Model_Messages::DB_TABLE_MESSAGES])) {
// remove main table from deletion as it is handled in _postDelete().
- 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 _getActionThrottleModel is not named in camelCase. Open
protected function _getActionThrottleModel()
{
return $this->getModelFromCache('ThreemaGateway_Model_ActionThrottle');
}
- 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 _getUpdateCondition is not named in camelCase. Open
protected function _getUpdateCondition($tableName)
{
return '';
}
- 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 _getUpdateCondition is not named in camelCase. Open
protected function _getUpdateCondition($tableName)
{
return 'request_id = ' . $this->_db->quote($this->getExisting('request_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 _getExistingData is not named in camelCase. Open
protected function _getExistingData($data)
{
return [];
}
- 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 _getFields is not named in camelCase. Open
protected function _getFields()
{
return [
ThreemaGateway_Model_TfaPendingMessagesConfirmation::DB_TABLE => [
'request_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 _getFields is not named in camelCase. Open
protected function _getFields()
{
return [
ThreemaGateway_Model_Keystore::DB_TABLE => [
'threema_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 _getExistingData is not named in camelCase. Open
protected function _getExistingData($data)
{
/** @var string $messageId */
if (!$messageId = $this->_getExistingPrimaryKey($data, 'message_id')) {
return false;
- 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 _getPendingConfirmMsgModel is not named in camelCase. Open
protected function _getPendingConfirmMsgModel()
{
return $this->getModelFromCache('ThreemaGateway_Model_TfaPendingMessagesConfirmation');
}
- 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 _getTfaModel is not named in camelCase. Open
protected function _getTfaModel()
{
return $this->getModelFromCache('XenForo_Model_Tfa');
}
- 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 _getTfaModel is not named in camelCase. Open
protected function _getTfaModel()
{
return $this->getModelFromCache('XenForo_Model_Tfa');
}
- 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() {
}
}