Passed
Pull Request — master (#12)
by Stanislau
03:16
created
example/out/UserTransfer.php 1 patch
Indentation   +30 added lines, -30 removed lines patch added patch discarded remove patch
@@ -116,66 +116,66 @@
 block discarded – undo
116 116
     protected static function attributesMetadata(): array
117 117
     {
118 118
         return array (
119
-          'username' =>
120
-          array (
119
+            'username' =>
120
+            array (
121 121
             'type' =>
122 122
             array (
123
-              0 => 'string',
124
-              1 => 'int',
125
-              2 => 'null',
123
+                0 => 'string',
124
+                1 => 'int',
125
+                2 => 'null',
126 126
             ),
127 127
             'required' => false,
128 128
             'actionName' => 'username',
129
-          ),
130
-          'books' =>
131
-          array (
129
+            ),
130
+            'books' =>
131
+            array (
132 132
             'type' =>
133 133
             array (
134
-              0 => 'iterable',
135
-              1 => 'null',
134
+                0 => 'iterable',
135
+                1 => 'null',
136 136
             ),
137 137
             'required' => false,
138 138
             'actionName' => 'books',
139
-          ),
140
-          'first_name' =>
141
-          array (
139
+            ),
140
+            'first_name' =>
141
+            array (
142 142
             'type' =>
143 143
             array (
144
-              0 => 'string',
145
-              1 => 'int',
144
+                0 => 'string',
145
+                1 => 'int',
146 146
             ),
147 147
             'required' => true,
148 148
             'actionName' => 'firstName',
149
-          ),
150
-          'updatedAt' =>
151
-          array (
149
+            ),
150
+            'updatedAt' =>
151
+            array (
152 152
             'type' =>
153 153
             array (
154
-              0 => 'DateTimeInterface',
155
-              1 => 'null',
154
+                0 => 'DateTimeInterface',
155
+                1 => 'null',
156 156
             ),
157 157
             'required' => false,
158 158
             'actionName' => 'updatedAt',
159
-          ),
160
-          'someclass' =>
161
-          array (
159
+            ),
160
+            'someclass' =>
161
+            array (
162 162
             'type' =>
163 163
             array (
164
-              0 => 'Micro\\Library\\DTO\\Object\\AbstractDto',
165
-              1 => 'null',
164
+                0 => 'Micro\\Library\\DTO\\Object\\AbstractDto',
165
+                1 => 'null',
166 166
             ),
167 167
             'required' => false,
168 168
             'actionName' => 'someclass',
169
-          ),
170
-          'testMixed' =>
171
-          array (
169
+            ),
170
+            'testMixed' =>
171
+            array (
172 172
             'type' =>
173 173
             array (
174
-              0 => 'mixed',
174
+                0 => 'mixed',
175 175
             ),
176 176
             'required' => false,
177 177
             'actionName' => 'testMixed',
178
-          ),
178
+            ),
179 179
         );
180 180
     }
181 181
 }
Please login to merge, or discard this patch.
example/out/Simple/SimpleObjectTransfer.php 1 patch
Indentation   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -59,36 +59,36 @@
 block discarded – undo
59 59
     protected static function attributesMetadata(): array
60 60
     {
61 61
         return array (
62
-          'weight' =>
63
-          array (
62
+            'weight' =>
63
+            array (
64 64
             'type' =>
65 65
             array (
66
-              0 => 'int',
67
-              1 => 'null',
66
+                0 => 'int',
67
+                1 => 'null',
68 68
             ),
69 69
             'required' => false,
70 70
             'actionName' => 'weight',
71
-          ),
72
-          'height' =>
73
-          array (
71
+            ),
72
+            'height' =>
73
+            array (
74 74
             'type' =>
75 75
             array (
76
-              0 => 'int',
77
-              1 => 'null',
76
+                0 => 'int',
77
+                1 => 'null',
78 78
             ),
79 79
             'required' => false,
80 80
             'actionName' => 'height',
81
-          ),
82
-          'parent' =>
83
-          array (
81
+            ),
82
+            'parent' =>
83
+            array (
84 84
             'type' =>
85 85
             array (
86
-              0 => 'Transfer\\Simple\\SimpleObjectTransfer',
87
-              1 => 'null',
86
+                0 => 'Transfer\\Simple\\SimpleObjectTransfer',
87
+                1 => 'null',
88 88
             ),
89 89
             'required' => false,
90 90
             'actionName' => 'parent',
91
-          ),
91
+            ),
92 92
         );
93 93
     }
94 94
 }
Please login to merge, or discard this patch.
example/out/Simple/SimpleUserTransfer.php 1 patch
Indentation   +114 added lines, -114 removed lines patch added patch discarded remove patch
@@ -359,230 +359,230 @@
 block discarded – undo
359 359
     protected static function attributesMetadata(): array
360 360
     {
361 361
         return array (
362
-          'parent' =>
363
-          array (
362
+            'parent' =>
363
+            array (
364 364
             'type' =>
365 365
             array (
366
-              0 => 'Transfer\\Simple\\SimpleObjectTransfer',
367
-              1 => 'null',
366
+                0 => 'Transfer\\Simple\\SimpleObjectTransfer',
367
+                1 => 'null',
368 368
             ),
369 369
             'required' => false,
370 370
             'actionName' => 'parent',
371
-          ),
372
-          'username' =>
373
-          array (
371
+            ),
372
+            'username' =>
373
+            array (
374 374
             'type' =>
375 375
             array (
376
-              0 => 'string',
377
-              1 => 'null',
376
+                0 => 'string',
377
+                1 => 'null',
378 378
             ),
379 379
             'required' => false,
380 380
             'actionName' => 'username',
381
-          ),
382
-          'age' =>
383
-          array (
381
+            ),
382
+            'age' =>
383
+            array (
384 384
             'type' =>
385 385
             array (
386
-              0 => 'int',
387
-              1 => 'null',
386
+                0 => 'int',
387
+                1 => 'null',
388 388
             ),
389 389
             'required' => false,
390 390
             'actionName' => 'age',
391
-          ),
392
-          'email' =>
393
-          array (
391
+            ),
392
+            'email' =>
393
+            array (
394 394
             'type' =>
395 395
             array (
396
-              0 => 'string',
397
-              1 => 'null',
396
+                0 => 'string',
397
+                1 => 'null',
398 398
             ),
399 399
             'required' => false,
400 400
             'actionName' => 'email',
401
-          ),
402
-          'ip' =>
403
-          array (
401
+            ),
402
+            'ip' =>
403
+            array (
404 404
             'type' =>
405 405
             array (
406
-              0 => 'string',
407
-              1 => 'null',
406
+                0 => 'string',
407
+                1 => 'null',
408 408
             ),
409 409
             'required' => false,
410 410
             'actionName' => 'ip',
411
-          ),
412
-          'hostname' =>
413
-          array (
411
+            ),
412
+            'hostname' =>
413
+            array (
414 414
             'type' =>
415 415
             array (
416
-              0 => 'string',
417
-              1 => 'null',
416
+                0 => 'string',
417
+                1 => 'null',
418 418
             ),
419 419
             'required' => false,
420 420
             'actionName' => 'hostname',
421
-          ),
422
-          'sometext' =>
423
-          array (
421
+            ),
422
+            'sometext' =>
423
+            array (
424 424
             'type' =>
425 425
             array (
426
-              0 => 'string',
427
-              1 => 'null',
426
+                0 => 'string',
427
+                1 => 'null',
428 428
             ),
429 429
             'required' => false,
430 430
             'actionName' => 'sometext',
431
-          ),
432
-          'url' =>
433
-          array (
431
+            ),
432
+            'url' =>
433
+            array (
434 434
             'type' =>
435 435
             array (
436
-              0 => 'string',
437
-              1 => 'null',
436
+                0 => 'string',
437
+                1 => 'null',
438 438
             ),
439 439
             'required' => false,
440 440
             'actionName' => 'url',
441
-          ),
442
-          'json' =>
443
-          array (
441
+            ),
442
+            'json' =>
443
+            array (
444 444
             'type' =>
445 445
             array (
446
-              0 => 'string',
447
-              1 => 'null',
446
+                0 => 'string',
447
+                1 => 'null',
448 448
             ),
449 449
             'required' => false,
450 450
             'actionName' => 'json',
451
-          ),
452
-          'uuid' =>
453
-          array (
451
+            ),
452
+            'uuid' =>
453
+            array (
454 454
             'type' =>
455 455
             array (
456
-              0 => 'string',
457
-              1 => 'null',
456
+                0 => 'string',
457
+                1 => 'null',
458 458
             ),
459 459
             'required' => false,
460 460
             'actionName' => 'uuid',
461
-          ),
462
-          'created_at' =>
463
-          array (
461
+            ),
462
+            'created_at' =>
463
+            array (
464 464
             'type' =>
465 465
             array (
466
-              0 => 'string',
467
-              1 => 'null',
466
+                0 => 'string',
467
+                1 => 'null',
468 468
             ),
469 469
             'required' => false,
470 470
             'actionName' => 'createdAt',
471
-          ),
472
-          'updated_at' =>
473
-          array (
471
+            ),
472
+            'updated_at' =>
473
+            array (
474 474
             'type' =>
475 475
             array (
476
-              0 => 'string',
477
-              1 => 'null',
476
+                0 => 'string',
477
+                1 => 'null',
478 478
             ),
479 479
             'required' => false,
480 480
             'actionName' => 'updatedAt',
481
-          ),
482
-          'timezone' =>
483
-          array (
481
+            ),
482
+            'timezone' =>
483
+            array (
484 484
             'type' =>
485 485
             array (
486
-              0 => 'string',
487
-              1 => 'null',
486
+                0 => 'string',
487
+                1 => 'null',
488 488
             ),
489 489
             'required' => false,
490 490
             'actionName' => 'timezone',
491
-          ),
492
-          'card_scheme' =>
493
-          array (
491
+            ),
492
+            'card_scheme' =>
493
+            array (
494 494
             'type' =>
495 495
             array (
496
-              0 => 'string',
497
-              1 => 'null',
496
+                0 => 'string',
497
+                1 => 'null',
498 498
             ),
499 499
             'required' => false,
500 500
             'actionName' => 'cardScheme',
501
-          ),
502
-          'bic' =>
503
-          array (
501
+            ),
502
+            'bic' =>
503
+            array (
504 504
             'type' =>
505 505
             array (
506
-              0 => 'string',
507
-              1 => 'null',
506
+                0 => 'string',
507
+                1 => 'null',
508 508
             ),
509 509
             'required' => false,
510 510
             'actionName' => 'bic',
511
-          ),
512
-          'currency' =>
513
-          array (
511
+            ),
512
+            'currency' =>
513
+            array (
514 514
             'type' =>
515 515
             array (
516
-              0 => 'string',
517
-              1 => 'null',
516
+                0 => 'string',
517
+                1 => 'null',
518 518
             ),
519 519
             'required' => false,
520 520
             'actionName' => 'currency',
521
-          ),
522
-          'iban' =>
523
-          array (
521
+            ),
522
+            'iban' =>
523
+            array (
524 524
             'type' =>
525 525
             array (
526
-              0 => 'string',
527
-              1 => 'null',
526
+                0 => 'string',
527
+                1 => 'null',
528 528
             ),
529 529
             'required' => false,
530 530
             'actionName' => 'iban',
531
-          ),
532
-          'isbn' =>
533
-          array (
531
+            ),
532
+            'isbn' =>
533
+            array (
534 534
             'type' =>
535 535
             array (
536
-              0 => 'string',
537
-              1 => 'null',
536
+                0 => 'string',
537
+                1 => 'null',
538 538
             ),
539 539
             'required' => false,
540 540
             'actionName' => 'isbn',
541
-          ),
542
-          'issn' =>
543
-          array (
541
+            ),
542
+            'issn' =>
543
+            array (
544 544
             'type' =>
545 545
             array (
546
-              0 => 'string',
547
-              1 => 'null',
546
+                0 => 'string',
547
+                1 => 'null',
548 548
             ),
549 549
             'required' => false,
550 550
             'actionName' => 'issn',
551
-          ),
552
-          'isin' =>
553
-          array (
551
+            ),
552
+            'isin' =>
553
+            array (
554 554
             'type' =>
555 555
             array (
556
-              0 => 'string',
557
-              1 => 'null',
556
+                0 => 'string',
557
+                1 => 'null',
558 558
             ),
559 559
             'required' => false,
560 560
             'actionName' => 'isin',
561
-          ),
562
-          'choice' =>
563
-          array (
561
+            ),
562
+            'choice' =>
563
+            array (
564 564
             'type' =>
565 565
             array (
566
-              0 => 'string',
567
-              1 => 'int',
568
-              2 => 'float',
569
-              3 => 'array',
570
-              4 => 'null',
566
+                0 => 'string',
567
+                1 => 'int',
568
+                2 => 'float',
569
+                3 => 'array',
570
+                4 => 'null',
571 571
             ),
572 572
             'required' => false,
573 573
             'actionName' => 'choice',
574
-          ),
575
-          'expression' =>
576
-          array (
574
+            ),
575
+            'expression' =>
576
+            array (
577 577
             'type' =>
578 578
             array (
579
-              0 => 'string',
580
-              1 => 'int',
581
-              2 => 'null',
579
+                0 => 'string',
580
+                1 => 'int',
581
+                2 => 'null',
582 582
             ),
583 583
             'required' => false,
584 584
             'actionName' => 'expression',
585
-          ),
585
+            ),
586 586
         );
587 587
     }
588 588
 }
Please login to merge, or discard this patch.