Passed
Push — develop ( c9b720...76d95d )
by Andrew
20:28 queued 08:36
created
src/models/jsonld/TouristAttraction.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -132,8 +132,8 @@  discard block
 block discarded – undo
132 132
      * @var array
133 133
      */
134 134
     static protected $_schemaPropertyExpectedTypes = [
135
-        'availableLanguage' => ['Language','Text'],
136
-        'touristType' => ['Audience','Text']
135
+        'availableLanguage' => ['Language', 'Text'],
136
+        'touristType' => ['Audience', 'Text']
137 137
     ];
138 138
 
139 139
     /**
@@ -204,7 +204,7 @@  discard block
 block discarded – undo
204 204
     {
205 205
         $rules = parent::rules();
206 206
         $rules = array_merge($rules, [
207
-            [['availableLanguage','touristType'], 'validateJsonSchema'],
207
+            [['availableLanguage', 'touristType'], 'validateJsonSchema'],
208 208
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
209 209
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
210 210
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/EntryPoint.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -162,7 +162,7 @@  discard block
 block discarded – undo
162 162
      */
163 163
     static protected $_schemaPropertyExpectedTypes = [
164 164
         'actionApplication' => ['SoftwareApplication'],
165
-        'actionPlatform' => ['Text','URL'],
165
+        'actionPlatform' => ['Text', 'URL'],
166 166
         'contentType' => ['Text'],
167 167
         'encodingType' => ['Text'],
168 168
         'httpMethod' => ['Text'],
@@ -241,7 +241,7 @@  discard block
 block discarded – undo
241 241
     {
242 242
         $rules = parent::rules();
243 243
         $rules = array_merge($rules, [
244
-            [['actionApplication','actionPlatform','contentType','encodingType','httpMethod','urlTemplate'], 'validateJsonSchema'],
244
+            [['actionApplication', 'actionPlatform', 'contentType', 'encodingType', 'httpMethod', 'urlTemplate'], 'validateJsonSchema'],
245 245
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
246 246
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
247 247
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/InteractionCounter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -138,7 +138,7 @@  discard block
 block discarded – undo
138 138
      * @var array
139 139
      */
140 140
     static protected $_schemaPropertyExpectedTypes = [
141
-        'interactionService' => ['SoftwareApplication','WebSite'],
141
+        'interactionService' => ['SoftwareApplication', 'WebSite'],
142 142
         'interactionType' => ['Action'],
143 143
         'userInteractionCount' => ['Integer']
144 144
     ];
@@ -212,7 +212,7 @@  discard block
 block discarded – undo
212 212
     {
213 213
         $rules = parent::rules();
214 214
         $rules = array_merge($rules, [
215
-            [['interactionService','interactionType','userInteractionCount'], 'validateJsonSchema'],
215
+            [['interactionService', 'interactionType', 'userInteractionCount'], '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/TVEpisode.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
      */
129 129
     static protected $_schemaPropertyExpectedTypes = [
130 130
         'countryOfOrigin' => ['Country'],
131
-        'subtitleLanguage' => ['Language','Text']
131
+        'subtitleLanguage' => ['Language', 'Text']
132 132
     ];
133 133
 
134 134
     /**
@@ -199,7 +199,7 @@  discard block
 block discarded – undo
199 199
     {
200 200
         $rules = parent::rules();
201 201
         $rules = array_merge($rules, [
202
-            [['countryOfOrigin','subtitleLanguage'], 'validateJsonSchema'],
202
+            [['countryOfOrigin', 'subtitleLanguage'], '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/LoanOrCredit.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -190,15 +190,15 @@  discard block
 block discarded – undo
190 190
      * @var array
191 191
      */
192 192
     static protected $_schemaPropertyExpectedTypes = [
193
-        'amount' => ['MonetaryAmount','Number'],
193
+        'amount' => ['MonetaryAmount', 'Number'],
194 194
         'currency' => ['Text'],
195 195
         'gracePeriod' => ['Duration'],
196 196
         'loanRepaymentForm' => ['RepaymentSpecification'],
197 197
         'loanTerm' => ['QuantitativeValue'],
198
-        'loanType' => ['Text','URL'],
198
+        'loanType' => ['Text', 'URL'],
199 199
         'recourseLoan' => ['Boolean'],
200 200
         'renegotiableLoan' => ['Boolean'],
201
-        'requiredCollateral' => ['Text','Thing']
201
+        'requiredCollateral' => ['Text', 'Thing']
202 202
     ];
203 203
 
204 204
     /**
@@ -276,7 +276,7 @@  discard block
 block discarded – undo
276 276
     {
277 277
         $rules = parent::rules();
278 278
         $rules = array_merge($rules, [
279
-            [['amount','currency','gracePeriod','loanRepaymentForm','loanTerm','loanType','recourseLoan','renegotiableLoan','requiredCollateral'], 'validateJsonSchema'],
279
+            [['amount', 'currency', 'gracePeriod', 'loanRepaymentForm', 'loanTerm', 'loanType', 'recourseLoan', 'renegotiableLoan', 'requiredCollateral'], 'validateJsonSchema'],
280 280
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
281 281
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
282 282
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/TechArticle.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
-            [['dependencies','proficiencyLevel'], 'validateJsonSchema'],
201
+            [['dependencies', 'proficiencyLevel'], '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/SingleFamilyResidence.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -132,7 +132,7 @@  discard block
 block discarded – undo
132 132
      * @var array
133 133
      */
134 134
     static protected $_schemaPropertyExpectedTypes = [
135
-        'numberOfRooms' => ['Number','QuantitativeValue'],
135
+        'numberOfRooms' => ['Number', 'QuantitativeValue'],
136 136
         'occupancy' => ['QuantitativeValue']
137 137
     ];
138 138
 
@@ -204,7 +204,7 @@  discard block
 block discarded – undo
204 204
     {
205 205
         $rules = parent::rules();
206 206
         $rules = array_merge($rules, [
207
-            [['numberOfRooms','occupancy'], 'validateJsonSchema'],
207
+            [['numberOfRooms', 'occupancy'], 'validateJsonSchema'],
208 208
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
209 209
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
210 210
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/DataDownload.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -129,7 +129,7 @@
 block discarded – undo
129 129
      * @var array
130 130
      */
131 131
     static protected $_schemaPropertyExpectedTypes = [
132
-        'measurementTechnique' => ['Text','URL']
132
+        'measurementTechnique' => ['Text', 'URL']
133 133
     ];
134 134
 
135 135
     /**
Please login to merge, or discard this patch.
src/models/jsonld/NutritionInformation.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -297,7 +297,7 @@
 block discarded – undo
297 297
     {
298 298
         $rules = parent::rules();
299 299
         $rules = array_merge($rules, [
300
-            [['calories','carbohydrateContent','cholesterolContent','fatContent','fiberContent','proteinContent','saturatedFatContent','servingSize','sodiumContent','sugarContent','transFatContent','unsaturatedFatContent'], 'validateJsonSchema'],
300
+            [['calories', 'carbohydrateContent', 'cholesterolContent', 'fatContent', 'fiberContent', 'proteinContent', 'saturatedFatContent', 'servingSize', 'sodiumContent', 'sugarContent', 'transFatContent', 'unsaturatedFatContent'], 'validateJsonSchema'],
301 301
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
302 302
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
303 303
         ]);
Please login to merge, or discard this patch.