Passed
Push — develop ( e485c9...26d8f3 )
by Andrew
11:07
created
src/models/jsonld/MovieSeries.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -157,7 +157,7 @@  discard block
 block discarded – undo
157 157
     static protected $_schemaPropertyExpectedTypes = [
158 158
         'actor' => ['Person'],
159 159
         'director' => ['Person'],
160
-        'musicBy' => ['MusicGroup','Person'],
160
+        'musicBy' => ['MusicGroup', 'Person'],
161 161
         'productionCompany' => ['Organization'],
162 162
         'trailer' => ['VideoObject']
163 163
     ];
@@ -233,7 +233,7 @@  discard block
 block discarded – undo
233 233
     {
234 234
         $rules = parent::rules();
235 235
         $rules = array_merge($rules, [
236
-            [['actor','director','musicBy','productionCompany','trailer'], 'validateJsonSchema'],
236
+            [['actor', 'director', 'musicBy', 'productionCompany', 'trailer'], 'validateJsonSchema'],
237 237
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
238 238
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
239 239
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/TelevisionChannel.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -164,9 +164,9 @@  discard block
 block discarded – undo
164 164
      */
165 165
     static protected $_schemaPropertyExpectedTypes = [
166 166
         'broadcastChannelId' => ['Text'],
167
-        'broadcastFrequency' => ['BroadcastFrequencySpecification','Text'],
167
+        'broadcastFrequency' => ['BroadcastFrequencySpecification', 'Text'],
168 168
         'broadcastServiceTier' => ['Text'],
169
-        'genre' => ['Text','URL'],
169
+        'genre' => ['Text', 'URL'],
170 170
         'inBroadcastLineup' => ['CableOrSatelliteService'],
171 171
         'providesBroadcastService' => ['BroadcastService']
172 172
     ];
@@ -243,7 +243,7 @@  discard block
 block discarded – undo
243 243
     {
244 244
         $rules = parent::rules();
245 245
         $rules = array_merge($rules, [
246
-            [['broadcastChannelId','broadcastFrequency','broadcastServiceTier','genre','inBroadcastLineup','providesBroadcastService'], 'validateJsonSchema'],
246
+            [['broadcastChannelId', 'broadcastFrequency', 'broadcastServiceTier', 'genre', 'inBroadcastLineup', 'providesBroadcastService'], 'validateJsonSchema'],
247 247
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
248 248
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
249 249
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/RadioEpisode.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -181,8 +181,8 @@  discard block
 block discarded – undo
181 181
     static protected $_schemaPropertyExpectedTypes = [
182 182
         'actor' => ['Person'],
183 183
         'director' => ['Person'],
184
-        'episodeNumber' => ['Integer','Text'],
185
-        'musicBy' => ['MusicGroup','Person'],
184
+        'episodeNumber' => ['Integer', 'Text'],
185
+        'musicBy' => ['MusicGroup', 'Person'],
186 186
         'partOfSeason' => ['CreativeWorkSeason'],
187 187
         'partOfSeries' => ['CreativeWorkSeries'],
188 188
         'productionCompany' => ['Organization'],
@@ -263,7 +263,7 @@  discard block
 block discarded – undo
263 263
     {
264 264
         $rules = parent::rules();
265 265
         $rules = array_merge($rules, [
266
-            [['actor','director','episodeNumber','musicBy','partOfSeason','partOfSeries','productionCompany','trailer'], 'validateJsonSchema'],
266
+            [['actor', 'director', 'episodeNumber', 'musicBy', 'partOfSeason', 'partOfSeries', 'productionCompany', 'trailer'], 'validateJsonSchema'],
267 267
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
268 268
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
269 269
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/HowToSupply.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -119,7 +119,7 @@
 block discarded – undo
119 119
      * @var array
120 120
      */
121 121
     static protected $_schemaPropertyExpectedTypes = [
122
-        'estimatedCost' => ['MonetaryAmount','Text']
122
+        'estimatedCost' => ['MonetaryAmount', 'Text']
123 123
     ];
124 124
 
125 125
     /**
Please login to merge, or discard this patch.
src/models/jsonld/Reservation.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -220,17 +220,17 @@  discard block
 block discarded – undo
220 220
      */
221 221
     static protected $_schemaPropertyExpectedTypes = [
222 222
         'bookingTime' => ['DateTime'],
223
-        'broker' => ['Organization','Person'],
223
+        'broker' => ['Organization', 'Person'],
224 224
         'modifiedTime' => ['DateTime'],
225 225
         'priceCurrency' => ['Text'],
226 226
         'programMembershipUsed' => ['ProgramMembership'],
227
-        'provider' => ['Organization','Person'],
227
+        'provider' => ['Organization', 'Person'],
228 228
         'reservationFor' => ['Thing'],
229 229
         'reservationId' => ['Text'],
230 230
         'reservationStatus' => ['ReservationStatusType'],
231 231
         'reservedTicket' => ['Ticket'],
232
-        'totalPrice' => ['Number','PriceSpecification','Text'],
233
-        'underName' => ['Organization','Person']
232
+        'totalPrice' => ['Number', 'PriceSpecification', 'Text'],
233
+        'underName' => ['Organization', 'Person']
234 234
     ];
235 235
 
236 236
     /**
@@ -311,7 +311,7 @@  discard block
 block discarded – undo
311 311
     {
312 312
         $rules = parent::rules();
313 313
         $rules = array_merge($rules, [
314
-            [['bookingTime','broker','modifiedTime','priceCurrency','programMembershipUsed','provider','reservationFor','reservationId','reservationStatus','reservedTicket','totalPrice','underName'], 'validateJsonSchema'],
314
+            [['bookingTime', 'broker', 'modifiedTime', 'priceCurrency', 'programMembershipUsed', 'provider', 'reservationFor', 'reservationId', 'reservationStatus', 'reservedTicket', 'totalPrice', 'underName'], 'validateJsonSchema'],
315 315
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
316 316
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
317 317
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/Menu.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -198,7 +198,7 @@
 block discarded – undo
198 198
     {
199 199
         $rules = parent::rules();
200 200
         $rules = array_merge($rules, [
201
-            [['hasMenuItem','hasMenuSection'], 'validateJsonSchema'],
201
+            [['hasMenuItem', 'hasMenuSection'], 'validateJsonSchema'],
202 202
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
203 203
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
204 204
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/Seat.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -145,7 +145,7 @@  discard block
 block discarded – undo
145 145
         'seatNumber' => ['Text'],
146 146
         'seatRow' => ['Text'],
147 147
         'seatSection' => ['Text'],
148
-        'seatingType' => ['QualitativeValue','Text']
148
+        'seatingType' => ['QualitativeValue', 'Text']
149 149
     ];
150 150
 
151 151
     /**
@@ -218,7 +218,7 @@  discard block
 block discarded – undo
218 218
     {
219 219
         $rules = parent::rules();
220 220
         $rules = array_merge($rules, [
221
-            [['seatNumber','seatRow','seatSection','seatingType'], 'validateJsonSchema'],
221
+            [['seatNumber', 'seatRow', 'seatSection', 'seatingType'], 'validateJsonSchema'],
222 222
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
223 223
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
224 224
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/OnDemandEvent.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -136,7 +136,7 @@  discard block
 block discarded – undo
136 136
      */
137 137
     static protected $_schemaPropertyExpectedTypes = [
138 138
         'isAccessibleForFree' => ['Boolean'],
139
-        'publishedBy' => ['Organization','Person'],
139
+        'publishedBy' => ['Organization', 'Person'],
140 140
         'publishedOn' => ['BroadcastService']
141 141
     ];
142 142
 
@@ -209,7 +209,7 @@  discard block
 block discarded – undo
209 209
     {
210 210
         $rules = parent::rules();
211 211
         $rules = array_merge($rules, [
212
-            [['isAccessibleForFree','publishedBy','publishedOn'], 'validateJsonSchema'],
212
+            [['isAccessibleForFree', 'publishedBy', 'publishedOn'], 'validateJsonSchema'],
213 213
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
214 214
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
215 215
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/TypeAndQuantityNode.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -157,8 +157,8 @@  discard block
 block discarded – undo
157 157
     static protected $_schemaPropertyExpectedTypes = [
158 158
         'amountOfThisGood' => ['Number'],
159 159
         'businessFunction' => ['BusinessFunction'],
160
-        'typeOfGood' => ['Product','Service'],
161
-        'unitCode' => ['Text','URL'],
160
+        'typeOfGood' => ['Product', 'Service'],
161
+        'unitCode' => ['Text', 'URL'],
162 162
         'unitText' => ['Text']
163 163
     ];
164 164
 
@@ -233,7 +233,7 @@  discard block
 block discarded – undo
233 233
     {
234 234
         $rules = parent::rules();
235 235
         $rules = array_merge($rules, [
236
-            [['amountOfThisGood','businessFunction','typeOfGood','unitCode','unitText'], 'validateJsonSchema'],
236
+            [['amountOfThisGood', 'businessFunction', 'typeOfGood', 'unitCode', 'unitText'], 'validateJsonSchema'],
237 237
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
238 238
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
239 239
         ]);
Please login to merge, or discard this patch.