Completed
Pull Request — 2.6 (#8015)
by
unknown
06:46
created
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.
tests/Doctrine/Tests/Models/DDC889/DDC889SuperClass.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
     {
16 16
         $metadata->mapField(
17 17
             [
18
-           'fieldName'  => 'name',
18
+            'fieldName'  => 'name',
19 19
             ]
20 20
         );
21 21
 
Please login to merge, or discard this patch.
tests/Doctrine/Tests/Models/Cache/Traveler.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
      * @Cache
36 36
      * @OneToOne(targetEntity="TravelerProfile")
37 37
      */
38
-     protected $profile;
38
+        protected $profile;
39 39
 
40 40
     /**
41 41
      * @param string $name
Please login to merge, or discard this patch.
tests/Doctrine/Tests/Models/Cache/City.php 2 patches
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -30,16 +30,16 @@
 block discarded – undo
30 30
      */
31 31
     protected $state;
32 32
 
33
-     /**
34
-     * @ManyToMany(targetEntity="Travel", mappedBy="visitedCities")
35
-     */
33
+        /**
34
+         * @ManyToMany(targetEntity="Travel", mappedBy="visitedCities")
35
+         */
36 36
     public $travels;
37 37
 
38
-     /**
39
-     * @Cache
40
-     * @OrderBy({"name" = "ASC"})
41
-     * @OneToMany(targetEntity="Attraction", mappedBy="city")
42
-     */
38
+        /**
39
+         * @Cache
40
+         * @OrderBy({"name" = "ASC"})
41
+         * @OneToMany(targetEntity="Attraction", mappedBy="city")
42
+         */
43 43
     public $attractions;
44 44
 
45 45
     public function __construct($name, State $state = null)
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -102,6 +102,6 @@
 block discarded – undo
102 102
 
103 103
     public static function loadMetadata(\Doctrine\ORM\Mapping\ClassMetadataInfo $metadata)
104 104
     {
105
-        include __DIR__ . '/../../ORM/Mapping/php/Doctrine.Tests.Models.Cache.City.php';
105
+        include __DIR__.'/../../ORM/Mapping/php/Doctrine.Tests.Models.Cache.City.php';
106 106
     }
107 107
 }
Please login to merge, or discard this patch.
tests/Doctrine/Tests/Models/DDC964/DDC964User.php 2 patches
Indentation   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -111,11 +111,11 @@  discard block
 block discarded – undo
111 111
     {
112 112
         $metadata->mapField(
113 113
             [
114
-           'id'         => true,
115
-           'fieldName'  => 'id',
116
-           'type'       => 'integer',
117
-           'columnName' => 'user_id',
118
-           'length'     => 150,
114
+            'id'         => true,
115
+            'fieldName'  => 'id',
116
+            'type'       => 'integer',
117
+            'columnName' => 'user_id',
118
+            'length'     => 150,
119 119
             ]
120 120
         );
121 121
         $metadata->mapField(
@@ -131,20 +131,20 @@  discard block
 block discarded – undo
131 131
 
132 132
         $metadata->mapManyToOne(
133 133
             [
134
-           'fieldName'      => 'address',
135
-           'targetEntity'   => 'DDC964Address',
136
-           'cascade'        => ['persist','merge'],
137
-           'joinColumn'     => ['name'=>'address_id', 'referencedColumnMame'=>'id'],
134
+            'fieldName'      => 'address',
135
+            'targetEntity'   => 'DDC964Address',
136
+            'cascade'        => ['persist','merge'],
137
+            'joinColumn'     => ['name'=>'address_id', 'referencedColumnMame'=>'id'],
138 138
             ]
139 139
         );
140 140
 
141 141
         $metadata->mapManyToMany(
142 142
             [
143
-           'fieldName'      => 'groups',
144
-           'targetEntity'   => 'DDC964Group',
145
-           'inversedBy'     => 'users',
146
-           'cascade'        => ['persist','merge','detach'],
147
-           'joinTable'      => [
143
+            'fieldName'      => 'groups',
144
+            'targetEntity'   => 'DDC964Group',
145
+            'inversedBy'     => 'users',
146
+            'cascade'        => ['persist','merge','detach'],
147
+            'joinTable'      => [
148 148
                 'name'          => 'ddc964_users_groups',
149 149
                 'joinColumns'   => [
150 150
                     [
@@ -158,7 +158,7 @@  discard block
 block discarded – undo
158 158
                     'referencedColumnName'=>'id',
159 159
                     ]
160 160
                 ]
161
-           ]
161
+            ]
162 162
             ]
163 163
         );
164 164
 
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -133,7 +133,7 @@  discard block
 block discarded – undo
133 133
             [
134 134
            'fieldName'      => 'address',
135 135
            'targetEntity'   => 'DDC964Address',
136
-           'cascade'        => ['persist','merge'],
136
+           'cascade'        => ['persist', 'merge'],
137 137
            'joinColumn'     => ['name'=>'address_id', 'referencedColumnMame'=>'id'],
138 138
             ]
139 139
         );
@@ -143,7 +143,7 @@  discard block
 block discarded – undo
143 143
            'fieldName'      => 'groups',
144 144
            'targetEntity'   => 'DDC964Group',
145 145
            'inversedBy'     => 'users',
146
-           'cascade'        => ['persist','merge','detach'],
146
+           'cascade'        => ['persist', 'merge', 'detach'],
147 147
            'joinTable'      => [
148 148
                 'name'          => 'ddc964_users_groups',
149 149
                 'joinColumns'   => [
Please login to merge, or discard this patch.