Passed
Push — develop ( e485c9...26d8f3 )
by Andrew
11:07
created
src/models/jsonld/Periodical.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -138,9 +138,9 @@  discard block
 block discarded – undo
138 138
      * @var array
139 139
      */
140 140
     static protected $_schemaPropertyExpectedTypes = [
141
-        'endDate' => ['Date','DateTime'],
141
+        'endDate' => ['Date', 'DateTime'],
142 142
         'issn' => ['Text'],
143
-        'startDate' => ['Date','DateTime']
143
+        'startDate' => ['Date', 'DateTime']
144 144
     ];
145 145
 
146 146
     /**
@@ -212,7 +212,7 @@  discard block
 block discarded – undo
212 212
     {
213 213
         $rules = parent::rules();
214 214
         $rules = array_merge($rules, [
215
-            [['endDate','issn','startDate'], 'validateJsonSchema'],
215
+            [['endDate', 'issn', 'startDate'], 'validateJsonSchema'],
216 216
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
217 217
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
218 218
         ]);
Please login to merge, or discard this patch.
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/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/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.
src/models/jsonld/Dataset.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -171,8 +171,8 @@  discard block
 block discarded – undo
171 171
         'distribution' => ['DataDownload'],
172 172
         'includedInDataCatalog' => ['DataCatalog'],
173 173
         'issn' => ['Text'],
174
-        'measurementTechnique' => ['Text','URL'],
175
-        'variableMeasured' => ['PropertyValue','Text']
174
+        'measurementTechnique' => ['Text', 'URL'],
175
+        'variableMeasured' => ['PropertyValue', 'Text']
176 176
     ];
177 177
 
178 178
     /**
@@ -246,7 +246,7 @@  discard block
 block discarded – undo
246 246
     {
247 247
         $rules = parent::rules();
248 248
         $rules = array_merge($rules, [
249
-            [['distribution','includedInDataCatalog','issn','measurementTechnique','variableMeasured'], 'validateJsonSchema'],
249
+            [['distribution', 'includedInDataCatalog', 'issn', 'measurementTechnique', 'variableMeasured'], 'validateJsonSchema'],
250 250
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
251 251
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
252 252
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/GeoCoordinates.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -158,11 +158,11 @@  discard block
 block discarded – undo
158 158
      * @var array
159 159
      */
160 160
     static protected $_schemaPropertyExpectedTypes = [
161
-        'address' => ['PostalAddress','Text'],
162
-        'addressCountry' => ['Country','Text'],
163
-        'elevation' => ['Number','Text'],
164
-        'latitude' => ['Number','Text'],
165
-        'longitude' => ['Number','Text'],
161
+        'address' => ['PostalAddress', 'Text'],
162
+        'addressCountry' => ['Country', 'Text'],
163
+        'elevation' => ['Number', 'Text'],
164
+        'latitude' => ['Number', 'Text'],
165
+        'longitude' => ['Number', 'Text'],
166 166
         'postalCode' => ['Text']
167 167
     ];
168 168
 
@@ -238,7 +238,7 @@  discard block
 block discarded – undo
238 238
     {
239 239
         $rules = parent::rules();
240 240
         $rules = array_merge($rules, [
241
-            [['address','addressCountry','elevation','latitude','longitude','postalCode'], 'validateJsonSchema'],
241
+            [['address', 'addressCountry', 'elevation', 'latitude', 'longitude', 'postalCode'], 'validateJsonSchema'],
242 242
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
243 243
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
244 244
         ]);
Please login to merge, or discard this patch.