Passed
Push — develop ( b326d0...aebf5c )
by Andrew
09:04
created
src/models/jsonld/Blog.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -199,7 +199,7 @@
 block discarded – undo
199 199
     {
200 200
         $rules = parent::rules();
201 201
         $rules = array_merge($rules, [
202
-            [['blogPost','issn'], 'validateJsonSchema'],
202
+            [['blogPost', 'issn'], 'validateJsonSchema'],
203 203
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
204 204
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
205 205
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/PaymentCard.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -137,7 +137,7 @@  discard block
 block discarded – undo
137 137
      * @var array
138 138
      */
139 139
     static protected $_schemaPropertyExpectedTypes = [
140
-        'cashBack' => ['Boolean','Number'],
140
+        'cashBack' => ['Boolean', 'Number'],
141 141
         'contactlessPayment' => ['Boolean'],
142 142
         'floorLimit' => ['MonetaryAmount']
143 143
     ];
@@ -211,7 +211,7 @@  discard block
 block discarded – undo
211 211
     {
212 212
         $rules = parent::rules();
213 213
         $rules = array_merge($rules, [
214
-            [['cashBack','contactlessPayment','floorLimit'], 'validateJsonSchema'],
214
+            [['cashBack', 'contactlessPayment', 'floorLimit'], 'validateJsonSchema'],
215 215
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
216 216
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
217 217
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/ReplaceAction.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
-            [['replacee','replacer'], 'validateJsonSchema'],
201
+            [['replacee', 'replacer'], '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/SportsOrganization.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -118,7 +118,7 @@
 block discarded – undo
118 118
      * @var array
119 119
      */
120 120
     static protected $_schemaPropertyExpectedTypes = [
121
-        'sport' => ['Text','URL']
121
+        'sport' => ['Text', 'URL']
122 122
     ];
123 123
 
124 124
     /**
Please login to merge, or discard this patch.
src/models/jsonld/DeliveryChargeSpecification.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -150,9 +150,9 @@  discard block
 block discarded – undo
150 150
      */
151 151
     static protected $_schemaPropertyExpectedTypes = [
152 152
         'appliesToDeliveryMethod' => ['DeliveryMethod'],
153
-        'areaServed' => ['AdministrativeArea','GeoShape','Place','Text'],
154
-        'eligibleRegion' => ['GeoShape','Place','Text'],
155
-        'ineligibleRegion' => ['GeoShape','Place','Text']
153
+        'areaServed' => ['AdministrativeArea', 'GeoShape', 'Place', 'Text'],
154
+        'eligibleRegion' => ['GeoShape', 'Place', 'Text'],
155
+        'ineligibleRegion' => ['GeoShape', 'Place', 'Text']
156 156
     ];
157 157
 
158 158
     /**
@@ -225,7 +225,7 @@  discard block
 block discarded – undo
225 225
     {
226 226
         $rules = parent::rules();
227 227
         $rules = array_merge($rules, [
228
-            [['appliesToDeliveryMethod','areaServed','eligibleRegion','ineligibleRegion'], 'validateJsonSchema'],
228
+            [['appliesToDeliveryMethod', 'areaServed', 'eligibleRegion', 'ineligibleRegion'], 'validateJsonSchema'],
229 229
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
230 230
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
231 231
         ]);
Please login to merge, or discard this patch.
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.