Completed
Push — develop ( 7e8dc0...09c52f )
by Axel
10:44
created
Entity/Feedback.php 1 patch
Indentation   +40 added lines, -40 removed lines patch added patch discarded remove patch
@@ -14,44 +14,44 @@
 block discarded – undo
14 14
  * @ORM\HasLifecycleCallbacks()
15 15
  */
16 16
 class Feedback extends Job {
17
-      /** @var UserInterface */
18
-      protected $author;
19
-
20
-      const STATUS_OPEN = 0;
21
-      const STATUS_TO_DO = 1;
22
-      const STATUS_IN_PROGRESS = 2;
23
-      const STATUS_TO_VALIDATE = 3;
24
-      const STATUS_DONE = 4;
25
-      const STATUS_CLOSED = 5;
26
-
27
-      /**
28
-       * Set author
29
-       *
30
-       * @param UserInterface $author
31
-       *
32
-       * @return FeedbackModel
33
-       */
34
-      public function setAuthor(UserInterface $author)
35
-      {
36
-          $this->author = $author;
37
-
38
-          return $this;
39
-      }
40
-
41
-      /**
42
-       * Get author
43
-       *
44
-       * @return UserInterface
45
-       */
46
-      public function getAuthor()
47
-      {
48
-          return $this->author;
49
-      }
50
-
51
-      /**
52
-       * @return string
53
-       */
54
-      public function getType() {
55
-          return self::TYPE_FEEDBACK;
56
-      }
17
+        /** @var UserInterface */
18
+        protected $author;
19
+
20
+        const STATUS_OPEN = 0;
21
+        const STATUS_TO_DO = 1;
22
+        const STATUS_IN_PROGRESS = 2;
23
+        const STATUS_TO_VALIDATE = 3;
24
+        const STATUS_DONE = 4;
25
+        const STATUS_CLOSED = 5;
26
+
27
+        /**
28
+         * Set author
29
+         *
30
+         * @param UserInterface $author
31
+         *
32
+         * @return FeedbackModel
33
+         */
34
+        public function setAuthor(UserInterface $author)
35
+        {
36
+            $this->author = $author;
37
+
38
+            return $this;
39
+        }
40
+
41
+        /**
42
+         * Get author
43
+         *
44
+         * @return UserInterface
45
+         */
46
+        public function getAuthor()
47
+        {
48
+            return $this->author;
49
+        }
50
+
51
+        /**
52
+         * @return string
53
+         */
54
+        public function getType() {
55
+            return self::TYPE_FEEDBACK;
56
+        }
57 57
 }
Please login to merge, or discard this patch.
EventSubscriber/DynamicRelationSubscriber.php 2 patches
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
     }
53 53
 
54 54
     /**
55
-     * @param CLassMetadata $metadata
55
+     * @param ClassMetadata $metadata
56 56
      */
57 57
     public function mapProject(ClassMetadata $metadata) {
58 58
         $metadata->mapManyToOne(array(
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
     }
70 70
 
71 71
     /**
72
-     * @param CLassMetadata $metadata
72
+     * @param ClassMetadata $metadata
73 73
      */
74 74
     public function mapFeature(ClassMetadata $metadata) {
75 75
         $metadata->mapManyToOne(array(
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
     }
87 87
 
88 88
     /**
89
-     * @param CLassMetadata $metadata
89
+     * @param ClassMetadata $metadata
90 90
      */
91 91
     public function mapFeedback(ClassMetadata $metadata) {
92 92
         $metadata->mapManyToOne(array(
@@ -114,7 +114,7 @@  discard block
 block discarded – undo
114 114
     }
115 115
 
116 116
     /**
117
-     * @param CLassMetadata $metadata
117
+     * @param ClassMetadata $metadata
118 118
      */
119 119
     public function mapBetaTester(ClassMetadata $metadata) {
120 120
         $metadata->mapOnetoOne([
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
         // the $metadata is the whole mapping info for this class
43 43
         $metadata = $eventArgs->getClassMetadata();
44 44
 
45
-        switch($metadata->getName()) {
45
+        switch ($metadata->getName()) {
46 46
             case self::MODEL_PROJECT: return $this->mapProject($metadata);
47 47
             case self::MODEL_FEATURE: return $this->mapFeature($metadata);
48 48
             case self::MODEL_FEEDBACK: return $this->mapFeedback($metadata);
Please login to merge, or discard this patch.
Entity/Project.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace Developtech\AgilityBundle\Entity;
4 4
 
5 5
 use Doctrine\ORM\Mapping as ORM;
6
-
7 6
 use Developtech\AgilityBundle\Model\ProjectModel;
8 7
 
9 8
 /**
Please login to merge, or discard this patch.
Manager/BetaTestManager.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace Developtech\AgilityBundle\Manager;
4 4
 
5 5
 use Doctrine\ORM\EntityManager;
6
-
7 6
 use Developtech\AgilityBundle\Entity\Project;
8 7
 use Developtech\AgilityBundle\Entity\BetaTest;
9 8
 
Please login to merge, or discard this patch.
Model/ProjectModel.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -2,8 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace Developtech\AgilityBundle\Model;
4 4
 
5
-use Doctrine\ORM\Mapping as ORM;
6
-
7 5
 use Doctrine\Common\Collections\ArrayCollection;
8 6
 use Symfony\Component\Security\Core\User\UserInterface;
9 7
 
Please login to merge, or discard this patch.