Covivo/mobicoop

View on GitHub

Showing 157 of 1,619 total issues

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

class TimestampTokenManager extends MobConnectManager
{
    public const TIMESTAMP_TOKEN_TYPE_INCENTIVE = 1;
    public const TIMESTAMP_TOKEN_TYPE_COMMITMENT = 2;
    public const TIMESTAMP_TOKEN_TYPE_HONOR_CERTIFICATE = 3;
Severity: Minor
Found in api/src/Incentive/Service/Manager/TimestampTokenManager.php - About 2 hrs to fix

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

    class Search implements \JsonSerializable
    {
        public const DEFAULT_SEATS_PASSENGER = 1;
        public const DEFAULT_SEATS_DRIVER = 3;
    
    
    Severity: Minor
    Found in api/src/Carpool/Entity/MobicoopMatcher/Search.php - About 2 hrs to fix

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

      class Waypoint
      {
          
          /**
           * @var float Waypoint's longitude
      Severity: Minor
      Found in api/src/RdexPlus/Entity/Waypoint.php - About 2 hrs to fix

        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

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

          class SubscriptionManager extends MobConnectManager
          {
              public const VERIFICATION_STATUS_PENDING = 0;
              public const VERIFICATION_STATUS_ENDED = 1;
          
          
          Severity: Minor
          Found in api/src/Incentive/Service/Manager/SubscriptionManager.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

              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

                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

                  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

                    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

                      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

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

                        class CarpoolExport
                        {
                            public const DEFAULT_ID = 999999999999;
                        
                            public const ROLE_DRIVER = 1;
                        Severity: Minor
                        Found in api/src/Carpool/Entity/CarpoolExport.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

                            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

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

                              class ValidationDocument
                              {
                                  public const DEFAULT_ID = '999999999999';
                                  public const OUT_OF_DATE = 1;
                                  public const UNDERAGE_PERSON = 2;
                              Severity: Minor
                              Found in api/src/Payment/Ressource/ValidationDocument.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

                                  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

                                    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

                                      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

                                        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