Showing 157 of 1,620 total issues
User
has 186 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class User extends GamificationEntity implements ResourceInterface, UserInterface, EquatableInterface, \JsonSerializable
{
public const MAX_DEVIATION_TIME = 600;
public const MAX_DEVIATION_DISTANCE = 10000;
Solidary
has 168 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class Solidary
{
public const DEFAULT_ID = 999999999999;
// status for a solidary record
Ad
has 134 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class Ad
{
public const DEFAULT_ID = 999999999999;
public const ROLE_DRIVER = 1;
Structure
has 123 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class Structure
{
/**
* @var int the id of this structure
*
Ad
has 118 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class Ad extends GamificationEntity implements ResourceInterface, \JsonSerializable
{
public const ROLE_DRIVER = 1;
public const ROLE_PASSENGER = 2;
public const ROLE_DRIVER_OR_PASSENGER = 3;
Image
has 118 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class Image
{
/**
* @var int the id of this image
*
Result
has 115 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class Result
{
public const DEFAULT_ID = 999999999999;
public const RDEX_PROVIDER = 1;
public const STANDARD_RDEX_PROVIDER = 2;
ResultItem
has 114 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class ResultItem
{
public const DEFAULT_ID = 999999999999;
/**
SolidaryVolunteer
has 105 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class SolidaryVolunteer
{
const DEFAULT_ID = 999999999999;
const TYPE = "volunteer";
const AUTHORIZED_GENERIC_FILTERS = ['familyName','givenName','email'];
UserExport
has 105 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class UserExport
{
public const TRUE = 'Oui';
public const FALSE = 'Non';
SolidaryUser
has 86 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class SolidaryUser
{
public const DEFAULT_MAX_DISTANCE = 20000; // meters
public const AUTHORIZED_GENERIC_FILTERS = ['q'];
Mass
has 85 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class Mass
{
public const STATUS_INCOMING = 0;
public const STATUS_VALID = 1;
public const STATUS_INVALID = 2;
Address
has 83 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class Address implements \JsonSerializable
{
public const DEFAULT_ID = 999999999999;
public const HOME_ADDRESS = 'homeAddress';
Community
has 77 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class Community
{
public const AUTO_VALIDATION = 0;
public const MANUAL_VALIDATION = 1;
public const DOMAIN_VALIDATION = 2;
Deserializer
has 74 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class Deserializer
{
public const DATETIME_FORMAT = \DateTime::ISO8601;
public const SETTER_PREFIX = 'set';
SsoUser
has 74 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class SsoUser
{
public const GENDER_MALE = 'male';
public const GENDER_FEMALE = 'female';
UserController
has 72 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class UserController extends AbstractController
{
use HydraControllerTrait;
private const ALLOWED_TAB_TYPE = ['carpool', 'direct', 'solidary'];
RelayPoint
has 71 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class RelayPoint
{
public const STATUS_PENDING = 0;
public const STATUS_ACTIVE = 1;
public const STATUS_INACTIVE = 2;
Image
has 70 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class Image extends GamificationEntity implements ResourceInterface, \JsonSerializable
{
/**
* @var int The id of this image.
*
UserManager
has 69 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class UserManager
{
private $entityManager;
private $imageManager;
private $authItemRepository;