Showing 157 of 1,620 total issues
Direction
has 65 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class Direction
{
public const DEFAULT_ID = 999999999999;
/**
Ask
has 64 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class Ask
{
public const STATUS_INITIATED = 1;
public const STATUS_PENDING_AS_DRIVER = 2;
public const STATUS_PENDING_AS_PASSENGER = 3;
Event
has 63 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class Event
{
public const STATUS_PENDING = 0;
public const STATUS_ACTIVE = 1;
public const STATUS_INACTIVE = 2;
Mass
has 61 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class Mass implements ResourceInterface
{
const TYPE_ANONYMOUS = 0;
const TYPE_QUALIFIED = 1;
Community
has 61 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class Community implements ResourceInterface, \JsonSerializable
{
public const AUTO_VALIDATION = 0;
public const MANUAL_VALIDATION = 1;
public const DOMAIN_VALIDATION = 2;
LongDistanceSubscription
has 61 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class LongDistanceSubscription extends Subscription
{
public const INITIAL_COMMITMENT_PROOF_PATH = '/api/public/upload/eec-incentives/initial-commitment-proof';
public const HONOUR_CERTIFICATE_PATH = '/api/public/upload/eec-incentives/long-distance-subscription/honour-certificate/';
MassPerson
has 61 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class MassPerson
{
/**
* @var int the id of this person
*
CarpoolProof
has 60 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class CarpoolProof
{
public const STATUS_INITIATED = 0; // not ready to be sent, proof still under construction
public const STATUS_PENDING = 1; // ready to be sent
public const STATUS_SENT = 2; // sent
CarpoolItem
has 60 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class CarpoolItem
{
public const STATUS_INITIALIZED = 0; // carpool supposed to be done
public const STATUS_REALIZED = 1; // carpool confirmed
public const STATUS_NOT_REALIZED = 2; // carpool invalidated (no carpool for this day)
Address
has 60 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class Address implements ResourceInterface, \JsonSerializable
{
/**
* @var int the id of this address
* @Groups({"post","put"})
MyAd
has 59 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class MyAd extends GamificationEntity implements ResourceInterface, \JsonSerializable
{
public const RESOURCE_NAME = 'my_carpools';
public const PAYMENT_STATUS_NULL = -1; // no payment for this ad
Campaign
has 58 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class Campaign
{
public const STATUS_PENDING = 0; // when the campaign has not been tested yet
public const STATUS_CREATED = 1; // when the campaign has been successfully tested
public const STATUS_SENT = 2; // when the campaign was sent
MyAd
has 58 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class MyAd
{
public const DEFAULT_ID = 999999999999;
public const PAYMENT_STATUS_NULL = -1; // no payment for this ad
ShortDistanceSubscription
has 57 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class ShortDistanceSubscription extends Subscription
{
public const INITIAL_COMMITMENT_PROOF_PATH = '/api/public/upload/eec-incentives/initial-commitment-proof';
public const HONOUR_CERTIFICATE_PATH = '/api/public/upload/eec-incentives/short-distance-subscription/honour-certificate/';
ArticleController
has 54 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class ArticleController extends AbstractController
{
use HydraControllerTrait;
public const CGU = 1;
Proposal
has 53 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class Proposal extends GamificationEntity implements ResourceInterface, \JsonSerializable
{
const TYPE_ONE_WAY = 1;
const TYPE_OUTWARD = 2;
const TYPE_RETURN = 3;
RelayPoint
has 51 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class RelayPoint implements ResourceInterface, \JsonSerializable
{
const STATUS_PENDING = 0;
const STATUS_ACTIVE = 1;
const STATUS_INACTIVE = 2;
Journey
has 49 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class Journey implements ResourceInterface, \JsonSerializable
{
const FREQUENCY_PUNCTUAL = 1;
const FREQUENCY_REGULAR = 2;
const ROLE_DRIVER = 1;
UserManager
has 48 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class UserManager
{
private $dataProvider;
private $encoder;
private $tokenStorage;
SolidaryBeneficiary
has 47 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class SolidaryBeneficiary
{
const DEFAULT_ID = 999999999999;
const TYPE = "beneficiary";
const AUTHORIZED_GENERIC_FILTERS = ['familyName','givenName','email'];