Passed
Pull Request — master (#6887)
by Grégoire
12:33
created
tests/Doctrine/Tests/Models/Company/CompanyOrganization.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -4,11 +4,11 @@
 block discarded – undo
4 4
 
5 5
 /** @Entity @Table(name="company_organizations") */
6 6
 class CompanyOrganization {
7
-   /**
8
-    * @Id @Column(type="integer")
9
-    * @GeneratedValue(strategy="AUTO")
10
-    */
11
-   private $id;
7
+    /**
8
+     * @Id @Column(type="integer")
9
+     * @GeneratedValue(strategy="AUTO")
10
+     */
11
+    private $id;
12 12
 
13 13
     /**
14 14
      * @OneToMany(targetEntity="CompanyEvent", mappedBy="organization", cascade={"persist"}, fetch="EXTRA_LAZY")
Please login to merge, or discard this patch.
tests/Doctrine/Tests/Models/Quote/Group.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
      */
35 35
     public $users;
36 36
 
37
-    public function __construct($name = null, Group $parent =  null)
37
+    public function __construct($name = null, Group $parent = null)
38 38
     {
39 39
         $this->name     = $name;
40 40
         $this->parent   = $parent;
Please login to merge, or discard this patch.
tests/Doctrine/Tests/Models/CMS/CmsUser.php 1 patch
Indentation   +33 added lines, -33 removed lines patch added patch discarded remove patch
@@ -273,7 +273,7 @@  discard block
 block discarded – undo
273 273
     {
274 274
         $metadata->setPrimaryTable(
275 275
             [
276
-           'name' => 'cms_users',
276
+            'name' => 'cms_users',
277 277
             ]
278 278
         );
279 279
 
@@ -332,34 +332,34 @@  discard block
 block discarded – undo
332 332
             'entities'  => [
333 333
                 [
334 334
                 'fields'=> [
335
-                  [
335
+                    [
336 336
                     'name'      => 'id',
337 337
                     'column'    => 'id',
338
-                  ],
339
-                  [
338
+                    ],
339
+                    [
340 340
                     'name'      => 'name',
341 341
                     'column'    => 'name',
342
-                  ],
343
-                  [
342
+                    ],
343
+                    [
344 344
                     'name'      => 'status',
345 345
                     'column'    => 'status',
346
-                  ],
347
-                  [
346
+                    ],
347
+                    [
348 348
                     'name'      => 'address.zip',
349 349
                     'column'    => 'zip',
350
-                  ],
351
-                  [
350
+                    ],
351
+                    [
352 352
                     'name'      => 'address.city',
353 353
                     'column'    => 'city',
354
-                  ],
355
-                  [
354
+                    ],
355
+                    [
356 356
                     'name'      => 'address.country',
357 357
                     'column'    => 'country',
358
-                  ],
359
-                  [
358
+                    ],
359
+                    [
360 360
                     'name'      => 'address.id',
361 361
                     'column'    => 'a_id',
362
-                  ],
362
+                    ],
363 363
                 ],
364 364
                 'entityClass'           => CmsUser::class,
365 365
                 'discriminatorColumn'   => null
@@ -375,22 +375,22 @@  discard block
 block discarded – undo
375 375
             'entities'  => [
376 376
                 [
377 377
                 'fields'=> [
378
-                  [
378
+                    [
379 379
                     'name'      => 'id',
380 380
                     'column'    => 'id',
381
-                  ],
382
-                  [
381
+                    ],
382
+                    [
383 383
                     'name'      => 'name',
384 384
                     'column'    => 'name',
385
-                  ],
386
-                  [
385
+                    ],
386
+                    [
387 387
                     'name'      => 'status',
388 388
                     'column'    => 'status',
389
-                  ],
390
-                  [
389
+                    ],
390
+                    [
391 391
                     'name'      => 'phonenumbers.phonenumber',
392 392
                     'column'    => 'number',
393
-                  ],
393
+                    ],
394 394
                 ],
395 395
                 'entityClass'   => CmsUser::class,
396 396
                 'discriminatorColumn'   => null
@@ -404,29 +404,29 @@  discard block
 block discarded – undo
404 404
             'name'      => 'mappingUserPhonenumberCount',
405 405
             'columns'   => [],
406 406
             'entities'  => [
407
-              [
407
+                [
408 408
                 'fields' => [
409
-                  [
409
+                    [
410 410
                     'name'      => 'id',
411 411
                     'column'    => 'id',
412
-                  ],
413
-                  [
412
+                    ],
413
+                    [
414 414
                     'name'      => 'name',
415 415
                     'column'    => 'name',
416
-                  ],
417
-                  [
416
+                    ],
417
+                    [
418 418
                     'name'      => 'status',
419 419
                     'column'    => 'status',
420
-                  ]
420
+                    ]
421 421
                 ],
422 422
                 'entityClass'   => CmsUser::class,
423 423
                 'discriminatorColumn'   => null
424
-              ]
424
+                ]
425 425
             ],
426 426
             'columns' => [
427
-                  [
427
+                    [
428 428
                     'name' => 'numphones',
429
-                  ]
429
+                    ]
430 430
             ]
431 431
             ]
432 432
         );
Please login to merge, or discard this patch.
tests/Doctrine/Tests/Models/CMS/CmsAddress.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -126,7 +126,7 @@  discard block
 block discarded – undo
126 126
     {
127 127
         $metadata->setPrimaryTable(
128 128
             [
129
-           'name' => 'company_person',
129
+            'name' => 'company_person',
130 130
             ]
131 131
         );
132 132
 
@@ -191,18 +191,18 @@  discard block
 block discarded – undo
191 191
             'entities'  => [
192 192
                 [
193 193
                 'fields' => [
194
-                  [
194
+                    [
195 195
                     'name'      => 'id',
196 196
                     'column'    => 'id',
197
-                  ],
198
-                  [
197
+                    ],
198
+                    [
199 199
                     'name'      => 'city',
200 200
                     'column'    => 'city',
201
-                  ],
202
-                  [
201
+                    ],
202
+                    [
203 203
                     'name'      => 'country',
204 204
                     'column'    => 'country',
205
-                  ],
205
+                    ],
206 206
                 ],
207 207
                 'entityClass' => CmsAddress::class,
208 208
                 ],
Please login to merge, or discard this patch.
tests/Doctrine/Tests/Models/DDC869/DDC869CreditCardPayment.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -15,8 +15,8 @@
 block discarded – undo
15 15
     {
16 16
         $metadata->mapField(
17 17
             [
18
-           'fieldName'  => 'creditCardNumber',
19
-           'type'       => 'string',
18
+            'fieldName'  => 'creditCardNumber',
19
+            'type'       => 'string',
20 20
             ]
21 21
         );
22 22
     }
Please login to merge, or discard this patch.
tests/Doctrine/Tests/Models/DDC869/DDC869Payment.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -23,16 +23,16 @@
 block discarded – undo
23 23
     {
24 24
         $metadata->mapField(
25 25
             [
26
-           'id'         => true,
27
-           'fieldName'  => 'id',
28
-           'type'       => 'integer',
29
-           'columnName' => 'id',
26
+            'id'         => true,
27
+            'fieldName'  => 'id',
28
+            'type'       => 'integer',
29
+            'columnName' => 'id',
30 30
             ]
31 31
         );
32 32
         $metadata->mapField(
33 33
             [
34
-           'fieldName'  => 'value',
35
-           'type'       => 'float',
34
+            'fieldName'  => 'value',
35
+            'type'       => 'float',
36 36
             ]
37 37
         );
38 38
         $metadata->isMappedSuperclass = true;
Please login to merge, or discard this patch.
tests/Doctrine/Tests/Models/DDC869/DDC869ChequePayment.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -15,8 +15,8 @@
 block discarded – undo
15 15
     {
16 16
         $metadata->mapField(
17 17
             [
18
-           'fieldName'  => 'serialNumber',
19
-           'type'       => 'string',
18
+            'fieldName'  => 'serialNumber',
19
+            'type'       => 'string',
20 20
             ]
21 21
         );
22 22
     }
Please login to merge, or discard this patch.
tests/Doctrine/Tests/Models/DDC1476/DDC1476EntityWithDefaultFieldType.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -46,13 +46,13 @@
 block discarded – undo
46 46
     {
47 47
         $metadata->mapField(
48 48
             [
49
-           'id'         => true,
50
-           'fieldName'  => 'id',
49
+            'id'         => true,
50
+            'fieldName'  => 'id',
51 51
             ]
52 52
         );
53 53
         $metadata->mapField(
54 54
             [
55
-           'fieldName'  => 'name',
55
+            'fieldName'  => 'name',
56 56
             ]
57 57
         );
58 58
 
Please login to merge, or discard this patch.
tests/Doctrine/Tests/Models/DDC889/DDC889Class.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -17,10 +17,10 @@
 block discarded – undo
17 17
     {
18 18
         $metadata->mapField(
19 19
             [
20
-           'id'         => true,
21
-           'fieldName'  => 'id',
22
-           'type'       => 'integer',
23
-           'columnName' => 'id',
20
+            'id'         => true,
21
+            'fieldName'  => 'id',
22
+            'type'       => 'integer',
23
+            'columnName' => 'id',
24 24
             ]
25 25
         );
26 26
 
Please login to merge, or discard this patch.