Covivo/mobicoop

View on GitHub

Showing 157 of 1,620 total issues

User has 22 functions (exceeds 20 allowed). Consider refactoring.
Open

class User implements ResourceInterface, \JsonSerializable
{
    public const DEFAULT_ID = 999999999999;

    /**
Severity: Minor
Found in client/src/MobicoopBundle/CarpoolStandard/Entity/User.php - About 2 hrs to fix

    Animation has 22 functions (exceeds 20 allowed). Consider refactoring.
    Open

    class Animation implements MessagerInterface
    {
        /**
         * @var int The id of this animation.
         */
    Severity: Minor
    Found in api/src/Action/Entity/Animation.php - About 2 hrs to fix

      Candidate has 22 functions (exceeds 20 allowed). Consider refactoring.
      Open

      class Candidate
      {
          /**
           * @var int the id of this candidate
           */
      Severity: Minor
      Found in api/src/Match/Entity/Candidate.php - About 2 hrs to fix

        Section has 22 functions (exceeds 20 allowed). Consider refactoring.
        Open

        class Section
        {
            const STATUS_PENDING = 0;
            const STATUS_PUBLISHED = 1;
            
        Severity: Minor
        Found in api/src/Article/Entity/Section.php - About 2 hrs to fix

          EecEligibility has 22 functions (exceeds 20 allowed). Consider refactoring.
          Open

          class EecEligibility
          {
              public const DEFAULT_ID = '999999999999';
              public const LONG_DISTANCE_ELIGIBILITY_THRESHOLD = 0;
              public const SHORT_DISTANCE_ELIGIBILITY_THRESHOLD = 0;
          Severity: Minor
          Found in api/src/Incentive/Resource/EecEligibility.php - About 2 hrs to fix

            RelayPointType has 22 functions (exceeds 20 allowed). Consider refactoring.
            Open

            class RelayPointType
            {
                /**
                 * @var int The id of this relay point type.
                 *
            Severity: Minor
            Found in api/src/RelayPoint/Entity/RelayPointType.php - About 2 hrs to fix

              App has 22 functions (exceeds 20 allowed). Consider refactoring.
              Open

              class App implements UserInterface, EquatableInterface
              {
                  // default role
                  const DEFAULT_ROLE = 1;
                  
              Severity: Minor
              Found in api/src/App/Entity/App.php - About 2 hrs to fix

                SolidaryAsksListItem has 21 functions (exceeds 20 allowed). Consider refactoring.
                Open

                class SolidaryAsksListItem
                {
                    const DRIVER_TYPE_VOLUNTEER = 0;
                    const DRIVER_TYPE_CARPOOLER = 1;
                
                
                Severity: Minor
                Found in api/src/Solidary/Entity/SolidaryAsksListItem.php - About 2 hrs to fix

                  Recipient has 21 functions (exceeds 20 allowed). Consider refactoring.
                  Open

                  class Recipient
                  {
                      const STATUS_PENDING = 1;
                      const STATUS_READ = 2;
                  
                  
                  Severity: Minor
                  Found in api/src/Communication/Entity/Recipient.php - About 2 hrs to fix

                    ClassicProof has 21 functions (exceeds 20 allowed). Consider refactoring.
                    Open

                    class ClassicProof
                    {
                        public const DEFAULT_ID = 999999999999;
                    
                        /**
                    Severity: Minor
                    Found in api/src/Carpool/Ressource/ClassicProof.php - About 2 hrs to fix

                      SolidaryResultCarpool has 21 functions (exceeds 20 allowed). Consider refactoring.
                      Open

                      class SolidaryResultCarpool
                      {
                          const DEFAULT_ID = 999999999999;
                          
                          /**
                      Severity: Minor
                      Found in api/src/Solidary/Entity/SolidaryResult/SolidaryResultCarpool.php - About 2 hrs to fix

                        SolidaryManager has 21 functions (exceeds 20 allowed). Consider refactoring.
                        Open

                        class SolidaryManager
                        {
                            /**
                             * @var User
                             */
                        Severity: Minor
                        Found in api/src/Solidary/Admin/Service/SolidaryManager.php - About 2 hrs to fix

                          CommunityManager has 21 functions (exceeds 20 allowed). Consider refactoring.
                          Open

                          class CommunityManager
                          {
                              use HydraControllerTrait;
                          
                              private $dataProvider;
                          Severity: Minor
                          Found in client/src/MobicoopBundle/Community/Service/CommunityManager.php - About 2 hrs to fix

                            ProofManager has 21 functions (exceeds 20 allowed). Consider refactoring.
                            Open

                            class ProofManager
                            {
                                private $entityManager;
                                private $logger;
                                private $provider;
                            Severity: Minor
                            Found in api/src/Carpool/Service/ProofManager.php - About 2 hrs to fix

                              User has 21 functions (exceeds 20 allowed). Consider refactoring.
                              Open

                              class User
                              {
                                  public const DEFAULT_ID = 999999999999;
                              
                                  /**
                              Severity: Minor
                              Found in api/src/CarpoolStandard/Entity/User.php - About 2 hrs to fix

                                Delivery has 21 functions (exceeds 20 allowed). Consider refactoring.
                                Open

                                class Delivery
                                {
                                    public const STATUS_PENDING = 0;
                                    public const STATUS_SENT = 1;
                                    public const STATUS_ERROR = 2;
                                Severity: Minor
                                Found in api/src/MassCommunication/Entity/Delivery.php - About 2 hrs to fix

                                  EecProvider has 21 functions (exceeds 20 allowed). Consider refactoring.
                                  Open

                                  abstract class EecProvider implements EecProviderInterface
                                  {
                                      /**
                                       * @var null|string
                                       */
                                  Severity: Minor
                                  Found in api/src/Incentive/Resource/Provider/EecProvider.php - About 2 hrs to fix

                                    Diary has 21 functions (exceeds 20 allowed). Consider refactoring.
                                    Open

                                    class Diary
                                    {
                                        /**
                                         * @var int the id of this diary action
                                         *
                                    Severity: Minor
                                    Found in api/src/Action/Entity/Diary.php - About 2 hrs to fix

                                      Territory has 21 functions (exceeds 20 allowed). Consider refactoring.
                                      Open

                                      class Territory implements ResourceInterface, \JsonSerializable
                                      {
                                          /**
                                           * @var int
                                           */
                                      Severity: Minor
                                      Found in client/src/MobicoopBundle/Territory/Entity/Territory.php - About 2 hrs to fix

                                        PTLine has 21 functions (exceeds 20 allowed). Consider refactoring.
                                        Open

                                        class PTLine
                                        {
                                            /**
                                             * @var int The id of this line.
                                             *
                                        Severity: Minor
                                        Found in api/src/PublicTransport/Entity/PTLine.php - About 2 hrs to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language