Passed
Pull Request — develop (#257)
by Timothy
09:13 queued 03:03
created
src/models/jsonld/WarrantyPromise.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -200,7 +200,7 @@
 block discarded – undo
200 200
     {
201 201
         $rules = parent::rules();
202 202
         $rules = array_merge($rules, [
203
-            [['durationOfWarranty','warrantyScope'], 'validateJsonSchema'],
203
+            [['durationOfWarranty', 'warrantyScope'], 'validateJsonSchema'],
204 204
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
205 205
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
206 206
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/Hospital.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -125,7 +125,7 @@  discard block
 block discarded – undo
125 125
      * @var array
126 126
      */
127 127
     static protected $_schemaPropertyExpectedTypes = [
128
-        'availableService' => ['MedicalProcedure','MedicalTest','MedicalTherapy'],
128
+        'availableService' => ['MedicalProcedure', 'MedicalTest', 'MedicalTherapy'],
129 129
         'medicalSpecialty' => ['MedicalSpecialty']
130 130
     ];
131 131
 
@@ -197,7 +197,7 @@  discard block
 block discarded – undo
197 197
     {
198 198
         $rules = parent::rules();
199 199
         $rules = array_merge($rules, [
200
-            [['availableService','medicalSpecialty'], 'validateJsonSchema'],
200
+            [['availableService', 'medicalSpecialty'], 'validateJsonSchema'],
201 201
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
202 202
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
203 203
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/Brand.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
         'aggregateRating' => ['AggregateRating'],
139
-        'logo' => ['ImageObject','URL'],
139
+        'logo' => ['ImageObject', 'URL'],
140 140
         'review' => ['Review']
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
-            [['aggregateRating','logo','review'], 'validateJsonSchema'],
212
+            [['aggregateRating', 'logo', 'review'], '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/ContactPoint.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -191,14 +191,14 @@  discard block
 block discarded – undo
191 191
      * @var array
192 192
      */
193 193
     static protected $_schemaPropertyExpectedTypes = [
194
-        'areaServed' => ['AdministrativeArea','GeoShape','Place','Text'],
195
-        'availableLanguage' => ['Language','Text'],
194
+        'areaServed' => ['AdministrativeArea', 'GeoShape', 'Place', 'Text'],
195
+        'availableLanguage' => ['Language', 'Text'],
196 196
         'contactOption' => ['ContactPointOption'],
197 197
         'contactType' => ['Text'],
198 198
         'email' => ['Text'],
199 199
         'faxNumber' => ['Text'],
200 200
         'hoursAvailable' => ['OpeningHoursSpecification'],
201
-        'productSupported' => ['Product','Text'],
201
+        'productSupported' => ['Product', 'Text'],
202 202
         'telephone' => ['Text']
203 203
     ];
204 204
 
@@ -277,7 +277,7 @@  discard block
 block discarded – undo
277 277
     {
278 278
         $rules = parent::rules();
279 279
         $rules = array_merge($rules, [
280
-            [['areaServed','availableLanguage','contactOption','contactType','email','faxNumber','hoursAvailable','productSupported','telephone'], 'validateJsonSchema'],
280
+            [['areaServed', 'availableLanguage', 'contactOption', 'contactType', 'email', 'faxNumber', 'hoursAvailable', 'productSupported', 'telephone'], 'validateJsonSchema'],
281 281
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
282 282
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
283 283
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/RadioSeason.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -199,13 +199,13 @@  discard block
 block discarded – undo
199 199
     static protected $_schemaPropertyExpectedTypes = [
200 200
         'actor' => ['Person'],
201 201
         'director' => ['Person'],
202
-        'endDate' => ['Date','DateTime'],
202
+        'endDate' => ['Date', 'DateTime'],
203 203
         'episode' => ['Episode'],
204 204
         'numberOfEpisodes' => ['Integer'],
205 205
         'partOfSeries' => ['CreativeWorkSeries'],
206 206
         'productionCompany' => ['Organization'],
207
-        'seasonNumber' => ['Integer','Text'],
208
-        'startDate' => ['Date','DateTime'],
207
+        'seasonNumber' => ['Integer', 'Text'],
208
+        'startDate' => ['Date', 'DateTime'],
209 209
         'trailer' => ['VideoObject']
210 210
     ];
211 211
 
@@ -285,7 +285,7 @@  discard block
 block discarded – undo
285 285
     {
286 286
         $rules = parent::rules();
287 287
         $rules = array_merge($rules, [
288
-            [['actor','director','endDate','episode','numberOfEpisodes','partOfSeries','productionCompany','seasonNumber','startDate','trailer'], 'validateJsonSchema'],
288
+            [['actor', 'director', 'endDate', 'episode', 'numberOfEpisodes', 'partOfSeries', 'productionCompany', 'seasonNumber', 'startDate', 'trailer'], 'validateJsonSchema'],
289 289
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
290 290
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
291 291
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/AggregateOffer.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -145,8 +145,8 @@  discard block
 block discarded – undo
145 145
      * @var array
146 146
      */
147 147
     static protected $_schemaPropertyExpectedTypes = [
148
-        'highPrice' => ['Number','Text'],
149
-        'lowPrice' => ['Number','Text'],
148
+        'highPrice' => ['Number', 'Text'],
149
+        'lowPrice' => ['Number', 'Text'],
150 150
         'offerCount' => ['Integer'],
151 151
         'offers' => ['Offer']
152 152
     ];
@@ -221,7 +221,7 @@  discard block
 block discarded – undo
221 221
     {
222 222
         $rules = parent::rules();
223 223
         $rules = array_merge($rules, [
224
-            [['highPrice','lowPrice','offerCount','offers'], 'validateJsonSchema'],
224
+            [['highPrice', 'lowPrice', 'offerCount', 'offers'], 'validateJsonSchema'],
225 225
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
226 226
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
227 227
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/LiveBlogPosting.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -213,7 +213,7 @@
 block discarded – undo
213 213
     {
214 214
         $rules = parent::rules();
215 215
         $rules = array_merge($rules, [
216
-            [['coverageEndTime','coverageStartTime','liveBlogUpdate'], 'validateJsonSchema'],
216
+            [['coverageEndTime', 'coverageStartTime', 'liveBlogUpdate'], '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.
src/models/jsonld/PlayAction.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -205,7 +205,7 @@
 block discarded – undo
205 205
     {
206 206
         $rules = parent::rules();
207 207
         $rules = array_merge($rules, [
208
-            [['audience','event'], 'validateJsonSchema'],
208
+            [['audience', 'event'], 'validateJsonSchema'],
209 209
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
210 210
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
211 211
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/DeliveryEvent.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -217,7 +217,7 @@
 block discarded – undo
217 217
     {
218 218
         $rules = parent::rules();
219 219
         $rules = array_merge($rules, [
220
-            [['accessCode','availableFrom','availableThrough','hasDeliveryMethod'], 'validateJsonSchema'],
220
+            [['accessCode', 'availableFrom', 'availableThrough', 'hasDeliveryMethod'], 'validateJsonSchema'],
221 221
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
222 222
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
223 223
         ]);
Please login to merge, or discard this patch.