Showing 157 of 1,620 total issues
CarpoolController
has 27 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class CarpoolController extends AbstractController
{
use HydraControllerTrait;
private $midPrice;
CommunityManager
has 27 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class CommunityManager
{
private $entityManager;
private $logger;
private $securityPath;
BankAccount
has 27 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class BankAccount
{
public const STATUS_INACTIVE = 0;
public const STATUS_ACTIVE = 1;
ProposalRepository
has 27 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class ProposalRepository
{
private $bearing_range; // if used, only accept proposal where the bearing direction (cape) is not at the opposite, more or less the range degrees
// for example, if the bearing is 0 (s->n), the proposals where the bearing is between 170 and 190 (~ n->s) are excluded
private $passenger_proportion; // minimum passenger distance relative to the driver distance, eg passenger distance should be at least 30% of the driver distance
RetroactivelyRewardService
has 27 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class RetroactivelyRewardService
{
public const GAMIFICATION_ACTION_DONE = [
1 => 'hasEmailValidated',
2 => 'hasPhoneValidated',
PTJourney
has 27 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class PTJourney
{
public const DEFAULT_ID = 999999999999;
/**
RelayPointMap
has 26 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class RelayPointMap implements ResourceInterface, \JsonSerializable
{
/**
* @var int The id of this relay point map
*/
SolidaryUserStructure
has 26 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class SolidaryUserStructure
{
const STATUS_PENDING = 0;
const STATUS_ACCEPTED = 1;
const STATUS_REFUSED = 2;
CommunityUser
has 26 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class CommunityUser extends GamificationEntity implements ResourceInterface, \JsonSerializable
{
const STATUS_PENDING = 0;
const STATUS_ACCEPTED_AS_MEMBER = 1;
const STATUS_ACCEPTED_AS_MODERATOR = 2;
Tools
has 26 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class Tools
{
public const POSITION_ORIGIN = 'origin';
public const POSITION_DESTINATION = 'destination';
PaymentManager
has 26 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class PaymentManager
{
public const MIN_WEEK = 1;
public const MAX_WEEK = 52;
public const MIN_YEAR = 1970;
Notification
has 26 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class Notification
{
public const USER_REGISTERED_DELEGATE_PASSWORD_SEND_SMS = 65;
public const PERMISSIVES = [
self::USER_REGISTERED_DELEGATE_PASSWORD_SEND_SMS,
SolidaryAsk
has 25 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class SolidaryAsk
{
const STATUS_ASKED = 0;
const STATUS_REFUSED = 1;
const STATUS_PENDING = 2;
SolidaryAnimation
has 25 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class SolidaryAnimation
{
const DEFAULT_ID = 999999999999;
/**
RelayPointMap
has 25 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class RelayPointMap
{
public const DEFAULT_ID = 999999999999;
public const IMAGE_PATH = 'relaypoints/images/versions';
public const IMAGE_VERSION = 100;
BankTransfer
has 25 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class BankTransfer
{
public const DEFAULT_ID = '999999999999';
public const STATUS_INVALID = 0;
MobConnectAuth
has 25 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class MobConnectAuth
{
/**
* @var int The user subscription ID
*
Action
has 25 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class Action
{
public const TYPE_AUTO = 0;
public const TYPE_TAKING_ACCOUNT_ASK = 1;
public const TYPE_SOLUTION_FINDING = 2;
PTJourney
has 25 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class PTJourney
{
/**
* @var int the id of this journey
*/
MassPTJourney
has 25 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class MassPTJourney
{
/**
* @var int The id of this journey.
* @ORM\Id