Passed
Pull Request — develop (#257)
by Timothy
09:13 queued 03:03
created
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/HowTo.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -182,14 +182,14 @@  discard block
 block discarded – undo
182 182
      * @var array
183 183
      */
184 184
     static protected $_schemaPropertyExpectedTypes = [
185
-        'estimatedCost' => ['MonetaryAmount','Text'],
185
+        'estimatedCost' => ['MonetaryAmount', 'Text'],
186 186
         'performTime' => ['Duration'],
187 187
         'prepTime' => ['Duration'],
188
-        'steps' => ['CreativeWork','ItemList','Text'],
189
-        'supply' => ['HowToSupply','Text'],
190
-        'tool' => ['HowToTool','Text'],
188
+        'steps' => ['CreativeWork', 'ItemList', 'Text'],
189
+        'supply' => ['HowToSupply', 'Text'],
190
+        'tool' => ['HowToTool', 'Text'],
191 191
         'totalTime' => ['Duration'],
192
-        'yield' => ['QuantitativeValue','Text']
192
+        'yield' => ['QuantitativeValue', 'Text']
193 193
     ];
194 194
 
195 195
     /**
@@ -266,7 +266,7 @@  discard block
 block discarded – undo
266 266
     {
267 267
         $rules = parent::rules();
268 268
         $rules = array_merge($rules, [
269
-            [['estimatedCost','performTime','prepTime','steps','supply','tool','totalTime','yield'], 'validateJsonSchema'],
269
+            [['estimatedCost', 'performTime', 'prepTime', 'steps', 'supply', 'tool', 'totalTime', 'yield'], 'validateJsonSchema'],
270 270
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
271 271
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
272 272
         ]);
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.
src/models/jsonld/SportsEvent.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -133,9 +133,9 @@  discard block
 block discarded – undo
133 133
      * @var array
134 134
      */
135 135
     static protected $_schemaPropertyExpectedTypes = [
136
-        'awayTeam' => ['Person','SportsTeam'],
137
-        'competitor' => ['Person','SportsTeam'],
138
-        'homeTeam' => ['Person','SportsTeam']
136
+        'awayTeam' => ['Person', 'SportsTeam'],
137
+        'competitor' => ['Person', 'SportsTeam'],
138
+        'homeTeam' => ['Person', 'SportsTeam']
139 139
     ];
140 140
 
141 141
     /**
@@ -207,7 +207,7 @@  discard block
 block discarded – undo
207 207
     {
208 208
         $rules = parent::rules();
209 209
         $rules = array_merge($rules, [
210
-            [['awayTeam','competitor','homeTeam'], 'validateJsonSchema'],
210
+            [['awayTeam', 'competitor', 'homeTeam'], 'validateJsonSchema'],
211 211
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
212 212
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
213 213
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/MusicVideoObject.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -244,13 +244,13 @@  discard block
 block discarded – undo
244 244
         'embedUrl' => ['URL'],
245 245
         'encodesCreativeWork' => ['CreativeWork'],
246 246
         'encodingFormat' => ['Text'],
247
-        'height' => ['Distance','QuantitativeValue'],
247
+        'height' => ['Distance', 'QuantitativeValue'],
248 248
         'playerType' => ['Text'],
249 249
         'productionCompany' => ['Organization'],
250 250
         'regionsAllowed' => ['Place'],
251 251
         'requiresSubscription' => ['Boolean'],
252 252
         'uploadDate' => ['Date'],
253
-        'width' => ['Distance','QuantitativeValue']
253
+        'width' => ['Distance', 'QuantitativeValue']
254 254
     ];
255 255
 
256 256
     /**
@@ -334,7 +334,7 @@  discard block
 block discarded – undo
334 334
     {
335 335
         $rules = parent::rules();
336 336
         $rules = array_merge($rules, [
337
-            [['associatedArticle','bitrate','contentSize','contentUrl','duration','embedUrl','encodesCreativeWork','encodingFormat','height','playerType','productionCompany','regionsAllowed','requiresSubscription','uploadDate','width'], 'validateJsonSchema'],
337
+            [['associatedArticle', 'bitrate', 'contentSize', 'contentUrl', 'duration', 'embedUrl', 'encodesCreativeWork', 'encodingFormat', 'height', 'playerType', 'productionCompany', 'regionsAllowed', 'requiresSubscription', 'uploadDate', 'width'], 'validateJsonSchema'],
338 338
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
339 339
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
340 340
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/OwnershipInfo.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -142,10 +142,10 @@  discard block
 block discarded – undo
142 142
      * @var array
143 143
      */
144 144
     static protected $_schemaPropertyExpectedTypes = [
145
-        'acquiredFrom' => ['Organization','Person'],
145
+        'acquiredFrom' => ['Organization', 'Person'],
146 146
         'ownedFrom' => ['DateTime'],
147 147
         'ownedThrough' => ['DateTime'],
148
-        'typeOfGood' => ['Product','Service']
148
+        'typeOfGood' => ['Product', 'Service']
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
-            [['acquiredFrom','ownedFrom','ownedThrough','typeOfGood'], 'validateJsonSchema'],
221
+            [['acquiredFrom', 'ownedFrom', 'ownedThrough', 'typeOfGood'], '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/BorrowAction.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -120,7 +120,7 @@
 block discarded – undo
120 120
      * @var array
121 121
      */
122 122
     static protected $_schemaPropertyExpectedTypes = [
123
-        'lender' => ['Organization','Person']
123
+        'lender' => ['Organization', 'Person']
124 124
     ];
125 125
 
126 126
     /**
Please login to merge, or discard this patch.
src/models/jsonld/PaymentService.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -139,9 +139,9 @@  discard block
 block discarded – undo
139 139
      * @var array
140 140
      */
141 141
     static protected $_schemaPropertyExpectedTypes = [
142
-        'annualPercentageRate' => ['Number','QuantitativeValue'],
143
-        'feesAndCommissionsSpecification' => ['Text','URL'],
144
-        'interestRate' => ['Number','QuantitativeValue']
142
+        'annualPercentageRate' => ['Number', 'QuantitativeValue'],
143
+        'feesAndCommissionsSpecification' => ['Text', 'URL'],
144
+        'interestRate' => ['Number', 'QuantitativeValue']
145 145
     ];
146 146
 
147 147
     /**
@@ -213,7 +213,7 @@  discard block
 block discarded – undo
213 213
     {
214 214
         $rules = parent::rules();
215 215
         $rules = array_merge($rules, [
216
-            [['annualPercentageRate','feesAndCommissionsSpecification','interestRate'], 'validateJsonSchema'],
216
+            [['annualPercentageRate', 'feesAndCommissionsSpecification', 'interestRate'], 'validateJsonSchema'],
217 217
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
218 218
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
219 219
         ]);
Please login to merge, or discard this patch.