Completed
Push — master ( 889b57...1a1676 )
by Thomas
18:56 queued 14:02
created
src/validator/constraints/UniqueUsername.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,6 +8,6 @@
 block discarded – undo
8 8
 	public $message = 'Username %username% is already been taken';
9 9
 	
10 10
 	public function validatedBy() {
11
-		return get_class($this).'Validator';
11
+		return get_class($this) . 'Validator';
12 12
 	}
13 13
 }
14 14
\ No newline at end of file
Please login to merge, or discard this patch.
src/validator/constraints/UniqueEmail.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,6 +8,6 @@
 block discarded – undo
8 8
 	public $message = 'Username %username% is already been taken';
9 9
 	
10 10
 	public function validatedBy() {
11
-		return get_class($this).'Validator';
11
+		return get_class($this) . 'Validator';
12 12
 	}
13 13
 }
14 14
\ No newline at end of file
Please login to merge, or discard this patch.
src/serializer/base/UserSerializerTrait.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -99,7 +99,7 @@
 block discarded – undo
99 99
 		$attribs = isset($data['attributes']) ? $data['attributes'] : [];
100 100
 
101 101
 		$service = $this->getServiceContainer();
102
-		$model = HydrateUtils::hydrate($attribs, $model, ['id', 'user-name', 'password' => function ($value) use ($service) {
102
+		$model = HydrateUtils::hydrate($attribs, $model, ['id', 'user-name', 'password' => function($value) use ($service) {
103 103
 			if (class_exists('keeko\core\normalizer\PasswordNormalizer')) {
104 104
 				$normalizer = new keeko\core\normalizer\PasswordNormalizer();
105 105
 				$normalizer->setServiceContainer($service);
Please login to merge, or discard this patch.
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -112,9 +112,9 @@  discard block
 block discarded – undo
112 112
 	}
113 113
 
114 114
 	/**
115
-	 * @param mixed $model
115
+	 * @param \keeko\core\model\User $model
116 116
 	 * @param mixed $data
117
-	 * @return mixed The model
117
+	 * @return \keeko\core\model\User The model
118 118
 	 */
119 119
 	public function hydrate($model, $data) {
120 120
 		// attributes
@@ -165,7 +165,7 @@  discard block
 block discarded – undo
165 165
 	}
166 166
 
167 167
 	/**
168
-	 * @param mixed $relatedName
168
+	 * @param string $relatedName
169 169
 	 */
170 170
 	protected function getCollectionMethodPluralName($relatedName) {
171 171
 		if (isset($this->methodPluralNames[$relatedName])) {
Please login to merge, or discard this patch.
res/database/migrations/PropelMigration_1463151118.php 3 patches
Indentation   +43 added lines, -43 removed lines patch added patch discarded remove patch
@@ -7,37 +7,37 @@  discard block
 block discarded – undo
7 7
  */
8 8
 class PropelMigration_1463151118
9 9
 {
10
-    public $comment = '';
11
-
12
-    public function preUp($manager)
13
-    {
14
-        // add the pre-migration code here
15
-    }
16
-
17
-    public function postUp($manager)
18
-    {
19
-        // add the post-migration code here
20
-    }
21
-
22
-    public function preDown($manager)
23
-    {
24
-        // add the pre-migration code here
25
-    }
26
-
27
-    public function postDown($manager)
28
-    {
29
-        // add the post-migration code here
30
-    }
31
-
32
-    /**
33
-     * Get the SQL statements for the Up migration
34
-     *
35
-     * @return array list of the SQL strings to execute for the Up migration
36
-     *               the keys being the datasources
37
-     */
38
-    public function getUpSQL()
39
-    {
40
-        return array (
10
+	public $comment = '';
11
+
12
+	public function preUp($manager)
13
+	{
14
+		// add the pre-migration code here
15
+	}
16
+
17
+	public function postUp($manager)
18
+	{
19
+		// add the post-migration code here
20
+	}
21
+
22
+	public function preDown($manager)
23
+	{
24
+		// add the pre-migration code here
25
+	}
26
+
27
+	public function postDown($manager)
28
+	{
29
+		// add the post-migration code here
30
+	}
31
+
32
+	/**
33
+	 * Get the SQL statements for the Up migration
34
+	 *
35
+	 * @return array list of the SQL strings to execute for the Up migration
36
+	 *               the keys being the datasources
37
+	 */
38
+	public function getUpSQL()
39
+	{
40
+		return array (
41 41
   'keeko' => '
42 42
 # This is a fix for InnoDB in MySQL >= 4.1.x
43 43
 # It "suspends judgement" for fkey relationships until are tables are set.
@@ -105,17 +105,17 @@  discard block
 block discarded – undo
105 105
 SET FOREIGN_KEY_CHECKS = 1;
106 106
 ',
107 107
 );
108
-    }
109
-
110
-    /**
111
-     * Get the SQL statements for the Down migration
112
-     *
113
-     * @return array list of the SQL strings to execute for the Down migration
114
-     *               the keys being the datasources
115
-     */
116
-    public function getDownSQL()
117
-    {
118
-        return array (
108
+	}
109
+
110
+	/**
111
+	 * Get the SQL statements for the Down migration
112
+	 *
113
+	 * @return array list of the SQL strings to execute for the Down migration
114
+	 *               the keys being the datasources
115
+	 */
116
+	public function getDownSQL()
117
+	{
118
+		return array (
119 119
   'keeko' => '
120 120
 # This is a fix for InnoDB in MySQL >= 4.1.x
121 121
 # It "suspends judgement" for fkey relationships until are tables are set.
@@ -186,6 +186,6 @@  discard block
 block discarded – undo
186 186
 SET FOREIGN_KEY_CHECKS = 1;
187 187
 ',
188 188
 );
189
-    }
189
+	}
190 190
 
191 191
 }
192 192
\ No newline at end of file
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
      */
38 38
     public function getUpSQL()
39 39
     {
40
-        return array (
40
+        return array(
41 41
   'keeko' => '
42 42
 # This is a fix for InnoDB in MySQL >= 4.1.x
43 43
 # It "suspends judgement" for fkey relationships until are tables are set.
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
      */
116 116
     public function getDownSQL()
117 117
     {
118
-        return array (
118
+        return array(
119 119
   'keeko' => '
120 120
 # This is a fix for InnoDB in MySQL >= 4.1.x
121 121
 # It "suspends judgement" for fkey relationships until are tables are set.
Please login to merge, or discard this patch.
Braces   +7 added lines, -14 removed lines patch added patch discarded remove patch
@@ -5,27 +5,22 @@  discard block
 block discarded – undo
5 5
  * up to version 1463151118.
6 6
  * Generated on 2016-05-13 16:51:58 by thomas
7 7
  */
8
-class PropelMigration_1463151118
9
-{
8
+class PropelMigration_1463151118 {
10 9
     public $comment = '';
11 10
 
12
-    public function preUp($manager)
13
-    {
11
+    public function preUp($manager) {
14 12
         // add the pre-migration code here
15 13
     }
16 14
 
17
-    public function postUp($manager)
18
-    {
15
+    public function postUp($manager) {
19 16
         // add the post-migration code here
20 17
     }
21 18
 
22
-    public function preDown($manager)
23
-    {
19
+    public function preDown($manager) {
24 20
         // add the pre-migration code here
25 21
     }
26 22
 
27
-    public function postDown($manager)
28
-    {
23
+    public function postDown($manager) {
29 24
         // add the post-migration code here
30 25
     }
31 26
 
@@ -35,8 +30,7 @@  discard block
 block discarded – undo
35 30
      * @return array list of the SQL strings to execute for the Up migration
36 31
      *               the keys being the datasources
37 32
      */
38
-    public function getUpSQL()
39
-    {
33
+    public function getUpSQL() {
40 34
         return array (
41 35
   'keeko' => '
42 36
 # This is a fix for InnoDB in MySQL >= 4.1.x
@@ -113,8 +107,7 @@  discard block
 block discarded – undo
113 107
      * @return array list of the SQL strings to execute for the Down migration
114 108
      *               the keys being the datasources
115 109
      */
116
-    public function getDownSQL()
117
-    {
110
+    public function getDownSQL() {
118 111
         return array (
119 112
   'keeko' => '
120 113
 # This is a fix for InnoDB in MySQL >= 4.1.x
Please login to merge, or discard this patch.
src/serializer/base/ActionSerializerTrait.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -104,9 +104,9 @@  discard block
 block discarded – undo
104 104
 	}
105 105
 
106 106
 	/**
107
-	 * @param mixed $model
107
+	 * @param \keeko\core\model\Action $model
108 108
 	 * @param mixed $data
109
-	 * @return mixed The model
109
+	 * @return \keeko\core\model\Action The model
110 110
 	 */
111 111
 	public function hydrate($model, $data) {
112 112
 		// attributes
@@ -157,7 +157,7 @@  discard block
 block discarded – undo
157 157
 	}
158 158
 
159 159
 	/**
160
-	 * @param mixed $relatedName
160
+	 * @param string $relatedName
161 161
 	 */
162 162
 	protected function getCollectionMethodPluralName($relatedName) {
163 163
 		if (isset($this->methodPluralNames[$relatedName])) {
Please login to merge, or discard this patch.
src/serializer/base/ActivityObjectSerializerTrait.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -90,9 +90,9 @@  discard block
 block discarded – undo
90 90
 	}
91 91
 
92 92
 	/**
93
-	 * @param mixed $model
93
+	 * @param \keeko\core\model\ActivityObject $model
94 94
 	 * @param mixed $data
95
-	 * @return mixed The model
95
+	 * @return \keeko\core\model\ActivityObject The model
96 96
 	 */
97 97
 	public function hydrate($model, $data) {
98 98
 		// attributes
@@ -125,7 +125,7 @@  discard block
 block discarded – undo
125 125
 	}
126 126
 
127 127
 	/**
128
-	 * @param mixed $relatedName
128
+	 * @param string $relatedName
129 129
 	 */
130 130
 	protected function getCollectionMethodPluralName($relatedName) {
131 131
 		if (isset($this->methodPluralNames[$relatedName])) {
Please login to merge, or discard this patch.
src/serializer/base/ApplicationSerializerTrait.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -88,9 +88,9 @@  discard block
 block discarded – undo
88 88
 	}
89 89
 
90 90
 	/**
91
-	 * @param mixed $model
91
+	 * @param \keeko\core\model\Application $model
92 92
 	 * @param mixed $data
93
-	 * @return mixed The model
93
+	 * @return \keeko\core\model\Application The model
94 94
 	 */
95 95
 	public function hydrate($model, $data) {
96 96
 		// attributes
@@ -123,7 +123,7 @@  discard block
 block discarded – undo
123 123
 	}
124 124
 
125 125
 	/**
126
-	 * @param mixed $relatedName
126
+	 * @param string $relatedName
127 127
 	 */
128 128
 	protected function getCollectionMethodPluralName($relatedName) {
129 129
 		if (isset($this->methodPluralNames[$relatedName])) {
Please login to merge, or discard this patch.
src/serializer/base/GroupSerializerTrait.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -95,9 +95,9 @@  discard block
 block discarded – undo
95 95
 	}
96 96
 
97 97
 	/**
98
-	 * @param mixed $model
98
+	 * @param \keeko\core\model\Group $model
99 99
 	 * @param mixed $data
100
-	 * @return mixed The model
100
+	 * @return \keeko\core\model\Group The model
101 101
 	 */
102 102
 	public function hydrate($model, $data) {
103 103
 		// attributes
@@ -140,7 +140,7 @@  discard block
 block discarded – undo
140 140
 	}
141 141
 
142 142
 	/**
143
-	 * @param mixed $relatedName
143
+	 * @param string $relatedName
144 144
 	 */
145 145
 	protected function getCollectionMethodPluralName($relatedName) {
146 146
 		if (isset($this->methodPluralNames[$relatedName])) {
Please login to merge, or discard this patch.
src/serializer/base/LocalizationSerializerTrait.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -120,9 +120,9 @@  discard block
 block discarded – undo
120 120
 	}
121 121
 
122 122
 	/**
123
-	 * @param mixed $model
123
+	 * @param Localization $model
124 124
 	 * @param mixed $data
125
-	 * @return mixed The model
125
+	 * @return Localization The model
126 126
 	 */
127 127
 	public function hydrate($model, $data) {
128 128
 		// attributes
@@ -229,7 +229,7 @@  discard block
 block discarded – undo
229 229
 	}
230 230
 
231 231
 	/**
232
-	 * @param mixed $relatedName
232
+	 * @param string $relatedName
233 233
 	 */
234 234
 	protected function getCollectionMethodPluralName($relatedName) {
235 235
 		if (isset($this->methodPluralNames[$relatedName])) {
Please login to merge, or discard this patch.