Covivo/mobicoop

View on GitHub

Showing 158 of 1,621 total issues

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

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

    class Hydra
    {
        
        /**
         * @var string $context The context of the collection.
    Severity: Minor
    Found in client/src/MobicoopBundle/JsonLD/Entity/Hydra.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

        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

          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

            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

              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

                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

                  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

                    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

                      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

                            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

                              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

                                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

                                  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

                                    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

                                      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
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language