Failed Conditions
Pull Request — master (#6886)
by Grégoire
09:46
created
Doctrine/Tests/ORM/Mapping/php/Doctrine.Tests.ORM.Mapping.DDC1170Entity.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -4,9 +4,9 @@
 block discarded – undo
4 4
 
5 5
 $metadata->mapField(
6 6
     [
7
-   'id'                 => true,
8
-   'fieldName'          => 'id',
9
-   'columnDefinition'   => 'INT unsigned NOT NULL',
7
+    'id'                 => true,
8
+    'fieldName'          => 'id',
9
+    'columnDefinition'   => 'INT unsigned NOT NULL',
10 10
     ]
11 11
 );
12 12
 
Please login to merge, or discard this patch.
ORM/Mapping/php/Doctrine.Tests.Models.DDC869.DDC869CreditCardPayment.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@
 block discarded – undo
1 1
 <?php
2 2
 $metadata->mapField(
3 3
     [
4
-   'fieldName'  => 'creditCardNumber',
5
-   'type'       => 'string',
4
+    'fieldName'  => 'creditCardNumber',
5
+    'type'       => 'string',
6 6
     ]
7 7
 );
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Mapping/php/Doctrine.Tests.Models.Cache.City.php 2 patches
Indentation   +20 added lines, -20 removed lines patch added patch discarded remove patch
@@ -18,32 +18,32 @@  discard block
 block discarded – undo
18 18
 
19 19
 $metadata->mapField(
20 20
     [
21
-   'fieldName' => 'id',
22
-   'type' => 'integer',
23
-   'id' => true,
21
+    'fieldName' => 'id',
22
+    'type' => 'integer',
23
+    'id' => true,
24 24
     ]
25 25
 );
26 26
 
27 27
 $metadata->mapField(
28 28
     [
29
-   'fieldName' => 'name',
30
-   'type' => 'string',
29
+    'fieldName' => 'name',
30
+    'type' => 'string',
31 31
     ]
32 32
 );
33 33
 
34 34
 
35 35
 $metadata->mapOneToOne(
36 36
     [
37
-   'fieldName'      => 'state',
38
-   'targetEntity'   => State::class,
39
-   'inversedBy'     => 'cities',
40
-   'joinColumns'    =>
41
-   [
42
-       [
37
+    'fieldName'      => 'state',
38
+    'targetEntity'   => State::class,
39
+    'inversedBy'     => 'cities',
40
+    'joinColumns'    =>
41
+    [
42
+        [
43 43
     'name' => 'state_id',
44 44
     'referencedColumnName' => 'id',
45
-       ]
46
-   ]
45
+        ]
46
+    ]
47 47
     ]
48 48
 );
49 49
 $metadata->enableAssociationCache('state', [
@@ -53,18 +53,18 @@  discard block
 block discarded – undo
53 53
 
54 54
 $metadata->mapManyToMany(
55 55
     [
56
-   'fieldName' => 'travels',
57
-   'targetEntity' => Travel::class,
58
-   'mappedBy' => 'visitedCities',
56
+    'fieldName' => 'travels',
57
+    'targetEntity' => Travel::class,
58
+    'mappedBy' => 'visitedCities',
59 59
     ]
60 60
 );
61 61
 
62 62
 $metadata->mapOneToMany(
63 63
     [
64
-   'fieldName' => 'attractions',
65
-   'targetEntity' => Attraction::class,
66
-   'mappedBy' => 'city',
67
-   'orderBy' => ['name' => 'ASC',],
64
+    'fieldName' => 'attractions',
65
+    'targetEntity' => Attraction::class,
66
+    'mappedBy' => 'city',
67
+    'orderBy' => ['name' => 'ASC',],
68 68
     ]
69 69
 );
70 70
 $metadata->enableAssociationCache('attractions', [
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@
 block discarded – undo
64 64
    'fieldName' => 'attractions',
65 65
    'targetEntity' => Attraction::class,
66 66
    'mappedBy' => 'city',
67
-   'orderBy' => ['name' => 'ASC',],
67
+   'orderBy' => ['name' => 'ASC', ],
68 68
     ]
69 69
 );
70 70
 $metadata->enableAssociationCache('attractions', [
Please login to merge, or discard this patch.
Tests/ORM/Mapping/php/Doctrine.Tests.Models.DDC869.DDC869Payment.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -5,16 +5,16 @@
 block discarded – undo
5 5
 
6 6
 $metadata->mapField(
7 7
     [
8
-   'id'         => true,
9
-   'fieldName'  => 'id',
10
-   'type'       => 'integer',
11
-   'columnName' => 'id',
8
+    'id'         => true,
9
+    'fieldName'  => 'id',
10
+    'type'       => 'integer',
11
+    'columnName' => 'id',
12 12
     ]
13 13
 );
14 14
 $metadata->mapField(
15 15
     [
16
-   'fieldName'  => 'value',
17
-   'type'       => 'float',
16
+    'fieldName'  => 'value',
17
+    'type'       => 'float',
18 18
     ]
19 19
 );
20 20
 $metadata->isMappedSuperclass = true;
Please login to merge, or discard this patch.
Tests/ORM/Mapping/php/Doctrine.Tests.Models.DDC5934.DDC5934BaseContract.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -3,10 +3,10 @@
 block discarded – undo
3 3
 use Doctrine\ORM\Mapping\ClassMetadata;
4 4
 
5 5
 $metadata->mapField([
6
-   'id'         => true,
7
-   'fieldName'  => 'id',
8
-   'type'       => 'integer',
9
-   'columnName' => 'id',
6
+    'id'         => true,
7
+    'fieldName'  => 'id',
8
+    'type'       => 'integer',
9
+    'columnName' => 'id',
10 10
 ]);
11 11
 
12 12
 $metadata->mapManyToMany([
Please login to merge, or discard this patch.
Tests/ORM/Mapping/php/Doctrine.Tests.Models.DDC869.DDC869ChequePayment.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@
 block discarded – undo
1 1
 <?php
2 2
 $metadata->mapField(
3 3
     [
4
-   'fieldName'  => 'serialNumber',
5
-   'type'       => 'string',
4
+    'fieldName'  => 'serialNumber',
5
+    'type'       => 'string',
6 6
     ]
7 7
 );
Please login to merge, or discard this patch.
Tests/ORM/Mapping/php/Doctrine.Tests.Models.Company.CompanyPerson.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@  discard block
 block discarded – undo
4 4
 
5 5
 $metadata->setPrimaryTable(
6 6
     [
7
-   'name' => 'company_person',
7
+    'name' => 'company_person',
8 8
     ]
9 9
 );
10 10
 
@@ -31,14 +31,14 @@  discard block
 block discarded – undo
31 31
     'entities'  => [
32 32
         [
33 33
         'fields' => [
34
-          [
34
+            [
35 35
             'name'      => 'id',
36 36
             'column'    => 'id',
37
-          ],
38
-          [
37
+            ],
38
+            [
39 39
             'name'      => 'name',
40 40
             'column'    => 'name',
41
-          ],
41
+            ],
42 42
         ],
43 43
         'entityClass' => CompanyPerson::class,
44 44
         'discriminatorColumn' => 'discriminator',
Please login to merge, or discard this patch.
Tests/ORM/Mapping/php/Doctrine.Tests.Models.DDC889.DDC889SuperClass.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -5,8 +5,8 @@
 block discarded – undo
5 5
 
6 6
 $metadata->mapField(
7 7
     [
8
-   'fieldName'  => 'name',
9
-   'type'       => 'string',
8
+    'fieldName'  => 'name',
9
+    'type'       => 'string',
10 10
     ]
11 11
 );
12 12
 $metadata->isMappedSuperclass = true;
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Mapping/php/Doctrine.Tests.Models.CMS.CmsUser.php 1 patch
Indentation   +33 added lines, -33 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@  discard block
 block discarded – undo
5 5
 
6 6
 $metadata->setPrimaryTable(
7 7
     [
8
-   'name' => 'cms_users',
8
+    'name' => 'cms_users',
9 9
     ]
10 10
 );
11 11
 
@@ -64,34 +64,34 @@  discard block
 block discarded – undo
64 64
     'entities'  => [
65 65
         [
66 66
         'fields'=> [
67
-          [
67
+            [
68 68
             'name'      => 'id',
69 69
             'column'    => 'id',
70
-          ],
71
-          [
70
+            ],
71
+            [
72 72
             'name'      => 'name',
73 73
             'column'    => 'name',
74
-          ],
75
-          [
74
+            ],
75
+            [
76 76
             'name'      => 'status',
77 77
             'column'    => 'status',
78
-          ],
79
-          [
78
+            ],
79
+            [
80 80
             'name'      => 'address.zip',
81 81
             'column'    => 'zip',
82
-          ],
83
-          [
82
+            ],
83
+            [
84 84
             'name'      => 'address.city',
85 85
             'column'    => 'city',
86
-          ],
87
-          [
86
+            ],
87
+            [
88 88
             'name'      => 'address.country',
89 89
             'column'    => 'country',
90
-          ],
91
-          [
90
+            ],
91
+            [
92 92
             'name'      => 'address.id',
93 93
             'column'    => 'a_id',
94
-          ],
94
+            ],
95 95
         ],
96 96
         'entityClass'           => CmsUser::class,
97 97
         'discriminatorColumn'   => null
@@ -107,22 +107,22 @@  discard block
 block discarded – undo
107 107
     'entities'  => [
108 108
         [
109 109
         'fields'=> [
110
-          [
110
+            [
111 111
             'name'      => 'id',
112 112
             'column'    => 'id',
113
-          ],
114
-          [
113
+            ],
114
+            [
115 115
             'name'      => 'name',
116 116
             'column'    => 'name',
117
-          ],
118
-          [
117
+            ],
118
+            [
119 119
             'name'      => 'status',
120 120
             'column'    => 'status',
121
-          ],
122
-          [
121
+            ],
122
+            [
123 123
             'name'      => 'phonenumbers.phonenumber',
124 124
             'column'    => 'number',
125
-          ],
125
+            ],
126 126
         ],
127 127
         'entityClass'   => CmsUser::class,
128 128
         'discriminatorColumn'   => null
@@ -136,29 +136,29 @@  discard block
 block discarded – undo
136 136
     'name'      => 'mappingUserPhonenumberCount',
137 137
     'columns'   => [],
138 138
     'entities'  => [
139
-      [
139
+        [
140 140
         'fields' => [
141
-          [
141
+            [
142 142
             'name'      => 'id',
143 143
             'column'    => 'id',
144
-          ],
145
-          [
144
+            ],
145
+            [
146 146
             'name'      => 'name',
147 147
             'column'    => 'name',
148
-          ],
149
-          [
148
+            ],
149
+            [
150 150
             'name'      => 'status',
151 151
             'column'    => 'status',
152
-          ]
152
+            ]
153 153
         ],
154 154
         'entityClass'   => CmsUser::class,
155 155
         'discriminatorColumn'   => null
156
-      ]
156
+        ]
157 157
     ],
158 158
     'columns' => [
159
-          [
159
+            [
160 160
             'name' => 'numphones',
161
-          ]
161
+            ]
162 162
     ]
163 163
     ]
164 164
 );
Please login to merge, or discard this patch.