Passed
Push — develop ( b326d0...aebf5c )
by Andrew
09:04
created
src/models/jsonld/ScreeningEvent.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -135,7 +135,7 @@  discard block
 block discarded – undo
135 135
      * @var array
136 136
      */
137 137
     static protected $_schemaPropertyExpectedTypes = [
138
-        'subtitleLanguage' => ['Language','Text'],
138
+        'subtitleLanguage' => ['Language', 'Text'],
139 139
         'videoFormat' => ['Text'],
140 140
         'workPresented' => ['Movie']
141 141
     ];
@@ -209,7 +209,7 @@  discard block
 block discarded – undo
209 209
     {
210 210
         $rules = parent::rules();
211 211
         $rules = array_merge($rules, [
212
-            [['subtitleLanguage','videoFormat','workPresented'], 'validateJsonSchema'],
212
+            [['subtitleLanguage', 'videoFormat', 'workPresented'], '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/Role.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -142,9 +142,9 @@  discard block
 block discarded – undo
142 142
      * @var array
143 143
      */
144 144
     static protected $_schemaPropertyExpectedTypes = [
145
-        'endDate' => ['Date','DateTime'],
146
-        'roleName' => ['Text','URL'],
147
-        'startDate' => ['Date','DateTime']
145
+        'endDate' => ['Date', 'DateTime'],
146
+        'roleName' => ['Text', 'URL'],
147
+        'startDate' => ['Date', 'DateTime']
148 148
     ];
149 149
 
150 150
     /**
@@ -216,7 +216,7 @@  discard block
 block discarded – undo
216 216
     {
217 217
         $rules = parent::rules();
218 218
         $rules = array_merge($rules, [
219
-            [['endDate','roleName','startDate'], 'validateJsonSchema'],
219
+            [['endDate', 'roleName', 'startDate'], 'validateJsonSchema'],
220 220
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
221 221
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
222 222
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/RadioSeries.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -192,7 +192,7 @@  discard block
 block discarded – undo
192 192
         'containsSeason' => ['CreativeWorkSeason'],
193 193
         'director' => ['Person'],
194 194
         'episode' => ['Episode'],
195
-        'musicBy' => ['MusicGroup','Person'],
195
+        'musicBy' => ['MusicGroup', 'Person'],
196 196
         'numberOfEpisodes' => ['Integer'],
197 197
         'numberOfSeasons' => ['Integer'],
198 198
         'productionCompany' => ['Organization'],
@@ -274,7 +274,7 @@  discard block
 block discarded – undo
274 274
     {
275 275
         $rules = parent::rules();
276 276
         $rules = array_merge($rules, [
277
-            [['actor','containsSeason','director','episode','musicBy','numberOfEpisodes','numberOfSeasons','productionCompany','trailer'], 'validateJsonSchema'],
277
+            [['actor', 'containsSeason', 'director', 'episode', 'musicBy', 'numberOfEpisodes', 'numberOfSeasons', 'productionCompany', 'trailer'], 'validateJsonSchema'],
278 278
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
279 279
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
280 280
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/PeopleAudience.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -249,7 +249,7 @@
 block discarded – undo
249 249
     {
250 250
         $rules = parent::rules();
251 251
         $rules = array_merge($rules, [
252
-            [['healthCondition','requiredGender','requiredMaxAge','requiredMinAge','suggestedGender','suggestedMaxAge','suggestedMinAge'], 'validateJsonSchema'],
252
+            [['healthCondition', 'requiredGender', 'requiredMaxAge', 'requiredMinAge', 'suggestedGender', 'suggestedMaxAge', 'suggestedMinAge'], 'validateJsonSchema'],
253 253
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
254 254
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
255 255
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/RentAction.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -128,7 +128,7 @@  discard block
 block discarded – undo
128 128
      * @var array
129 129
      */
130 130
     static protected $_schemaPropertyExpectedTypes = [
131
-        'landlord' => ['Organization','Person'],
131
+        'landlord' => ['Organization', 'Person'],
132 132
         'realEstateAgent' => ['RealEstateAgent']
133 133
     ];
134 134
 
@@ -200,7 +200,7 @@  discard block
 block discarded – undo
200 200
     {
201 201
         $rules = parent::rules();
202 202
         $rules = array_merge($rules, [
203
-            [['landlord','realEstateAgent'], 'validateJsonSchema'],
203
+            [['landlord', 'realEstateAgent'], '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/TVSeries.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -202,7 +202,7 @@  discard block
 block discarded – undo
202 202
         'countryOfOrigin' => ['Country'],
203 203
         'director' => ['Person'],
204 204
         'episode' => ['Episode'],
205
-        'musicBy' => ['MusicGroup','Person'],
205
+        'musicBy' => ['MusicGroup', 'Person'],
206 206
         'numberOfEpisodes' => ['Integer'],
207 207
         'numberOfSeasons' => ['Integer'],
208 208
         'productionCompany' => ['Organization'],
@@ -285,7 +285,7 @@  discard block
 block discarded – undo
285 285
     {
286 286
         $rules = parent::rules();
287 287
         $rules = array_merge($rules, [
288
-            [['actor','containsSeason','countryOfOrigin','director','episode','musicBy','numberOfEpisodes','numberOfSeasons','productionCompany','trailer'], 'validateJsonSchema'],
288
+            [['actor', 'containsSeason', 'countryOfOrigin', 'director', 'episode', 'musicBy', 'numberOfEpisodes', 'numberOfSeasons', 'productionCompany', '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/PostalAddress.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -158,7 +158,7 @@  discard block
 block discarded – undo
158 158
      * @var array
159 159
      */
160 160
     static protected $_schemaPropertyExpectedTypes = [
161
-        'addressCountry' => ['Country','Text'],
161
+        'addressCountry' => ['Country', 'Text'],
162 162
         'addressLocality' => ['Text'],
163 163
         'addressRegion' => ['Text'],
164 164
         'postOfficeBoxNumber' => ['Text'],
@@ -238,7 +238,7 @@  discard block
 block discarded – undo
238 238
     {
239 239
         $rules = parent::rules();
240 240
         $rules = array_merge($rules, [
241
-            [['addressCountry','addressLocality','addressRegion','postOfficeBoxNumber','postalCode','streetAddress'], 'validateJsonSchema'],
241
+            [['addressCountry', 'addressLocality', 'addressRegion', 'postOfficeBoxNumber', 'postalCode', 'streetAddress'], '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.
src/models/jsonld/ServiceChannel.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -177,7 +177,7 @@  discard block
 block discarded – undo
177 177
      * @var array
178 178
      */
179 179
     static protected $_schemaPropertyExpectedTypes = [
180
-        'availableLanguage' => ['Language','Text'],
180
+        'availableLanguage' => ['Language', 'Text'],
181 181
         'processingTime' => ['Duration'],
182 182
         'providesService' => ['Service'],
183 183
         'serviceLocation' => ['Place'],
@@ -261,7 +261,7 @@  discard block
 block discarded – undo
261 261
     {
262 262
         $rules = parent::rules();
263 263
         $rules = array_merge($rules, [
264
-            [['availableLanguage','processingTime','providesService','serviceLocation','servicePhone','servicePostalAddress','serviceSmsNumber','serviceUrl'], 'validateJsonSchema'],
264
+            [['availableLanguage', 'processingTime', 'providesService', 'serviceLocation', 'servicePhone', 'servicePostalAddress', 'serviceSmsNumber', 'serviceUrl'], 'validateJsonSchema'],
265 265
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
266 266
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
267 267
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/PropertyValue.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -207,13 +207,13 @@  discard block
 block discarded – undo
207 207
      */
208 208
     static protected $_schemaPropertyExpectedTypes = [
209 209
         'maxValue' => ['Number'],
210
-        'measurementTechnique' => ['Text','URL'],
210
+        'measurementTechnique' => ['Text', 'URL'],
211 211
         'minValue' => ['Number'],
212
-        'propertyID' => ['Text','URL'],
213
-        'unitCode' => ['Text','URL'],
212
+        'propertyID' => ['Text', 'URL'],
213
+        'unitCode' => ['Text', 'URL'],
214 214
         'unitText' => ['Text'],
215
-        'value' => ['Boolean','Number','StructuredValue','Text'],
216
-        'valueReference' => ['Enumeration','PropertyValue','QualitativeValue','QuantitativeValue','StructuredValue']
215
+        'value' => ['Boolean', 'Number', 'StructuredValue', 'Text'],
216
+        'valueReference' => ['Enumeration', 'PropertyValue', 'QualitativeValue', 'QuantitativeValue', 'StructuredValue']
217 217
     ];
218 218
 
219 219
     /**
@@ -290,7 +290,7 @@  discard block
 block discarded – undo
290 290
     {
291 291
         $rules = parent::rules();
292 292
         $rules = array_merge($rules, [
293
-            [['maxValue','measurementTechnique','minValue','propertyID','unitCode','unitText','value','valueReference'], 'validateJsonSchema'],
293
+            [['maxValue', 'measurementTechnique', 'minValue', 'propertyID', 'unitCode', 'unitText', 'value', 'valueReference'], 'validateJsonSchema'],
294 294
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
295 295
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
296 296
         ]);
Please login to merge, or discard this patch.