Showing 157 of 1,620 total issues
UserSubscriber
has 25 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class UserSubscriber implements EventSubscriberInterface
{
private $notificationManager;
private $userManager;
private $adminUserManager;
User
has 25 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class User
{
public const DEFAULT_ID = 999999999999;
public const GENDER_FEMALE = 1;
Editorial
has 24 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class Editorial
{
const STATUS_ACTIVE = 1;
const STATUS_INACTIVE = 0;
/**
MangoPayProvider
has 24 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class MangoPayProvider implements PaymentProviderInterface
{
public const SERVER_URL_SANDBOX = 'https://api.sandbox.mangopay.com/';
public const SERVER_URL = 'https://api.mangopay.com/';
public const LANDING_AFTER_PAYMENT = 'paiements/paye';
UserImport
has 24 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class UserImport
{
public const DEFAULT_ID = 999999999999;
public const STATUS_IMPORTED = 0; // the external user has been imported, no treatment has been made yet
GratuityCampaign
has 24 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class GratuityCampaign
{
public const DEFAULT_ID = 999999999999;
/**
Car
has 24 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class Car
{
/**
* @var int $id The id of this car.
*
Article
has 23 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class Article
{
const STATUS_PENDING = 0;
const STATUS_PUBLISHED = 1;
const NB_EXTERNAL_ARTICLES_DEFAULT = 3;
PTStep
has 23 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class PTStep
{
/**
* @var int The id of this step.
*/
PublicProfile
has 23 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class PublicProfile implements ResourceInterface, \JsonSerializable
{
public const SMOKE_NO = 0;
public const SMOKE_NOT_IN_CAR = 1;
public const SMOKE = 2;
MapsAd
has 23 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class MapsAd
{
/**
* @var Address
*
Article
has 23 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class Article implements ResourceInterface, \JsonSerializable
{
const STATUS_PENDING = 0;
const STATUS_PUBLISHED = 1;
const NB_EXTERNAL_ARTICLES_DEFAULT = 3;
CarpoolExport
has 23 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class CarpoolExport
{
public const DEFAULT_ID = 999999999999;
public const ROLE_DRIVER = 1;
CarpoolSubscriber
has 23 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class CarpoolSubscriber implements EventSubscriberInterface
{
use TranslatorTrait;
private $notificationManager;
SolidaryMatching
has 23 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class SolidaryMatching
{
const DEFAULT_ID = 999999999999;
/**
SsoConnection
has 23 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class SsoConnection
{
public const DEFAULT_ID = 999999999999;
public const RETURN_URL = 'user/sso/login';
Hydra
has 22 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class Hydra
{
/**
* @var string $context The context of the collection.
Subject
has 22 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class Subject
{
/**
* @var int The id of this subject.
Waypoint
has 22 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class Waypoint
{
/**
* @var float Waypoint's longitude
Search
has 22 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class Search implements \JsonSerializable
{
public const DEFAULT_SEATS_PASSENGER = 1;
public const DEFAULT_SEATS_DRIVER = 3;