Passed
Pull Request — develop (#257)
by Timothy
09:13 queued 03:03
created
src/models/jsonld/EndorseAction.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
-        'endorsee' => ['Organization','Person']
121
+        'endorsee' => ['Organization', 'Person']
122 122
     ];
123 123
 
124 124
     /**
Please login to merge, or discard this patch.
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/ImageObject.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -142,7 +142,7 @@  discard block
 block discarded – undo
142 142
      */
143 143
     static protected $_schemaPropertyExpectedTypes = [
144 144
         'caption' => ['Text'],
145
-        'exifData' => ['PropertyValue','Text'],
145
+        'exifData' => ['PropertyValue', 'Text'],
146 146
         'representativeOfPage' => ['Boolean'],
147 147
         'thumbnail' => ['ImageObject']
148 148
     ];
@@ -217,7 +217,7 @@  discard block
 block discarded – undo
217 217
     {
218 218
         $rules = parent::rules();
219 219
         $rules = array_merge($rules, [
220
-            [['caption','exifData','representativeOfPage','thumbnail'], 'validateJsonSchema'],
220
+            [['caption', 'exifData', 'representativeOfPage', 'thumbnail'], '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/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/LodgingReservation.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -164,9 +164,9 @@  discard block
 block discarded – undo
164 164
         'checkinTime' => ['DateTime'],
165 165
         'checkoutTime' => ['DateTime'],
166 166
         'lodgingUnitDescription' => ['Text'],
167
-        'lodgingUnitType' => ['QualitativeValue','Text'],
168
-        'numAdults' => ['Integer','QuantitativeValue'],
169
-        'numChildren' => ['Integer','QuantitativeValue']
167
+        'lodgingUnitType' => ['QualitativeValue', 'Text'],
168
+        'numAdults' => ['Integer', 'QuantitativeValue'],
169
+        'numChildren' => ['Integer', 'QuantitativeValue']
170 170
     ];
171 171
 
172 172
     /**
@@ -241,7 +241,7 @@  discard block
 block discarded – undo
241 241
     {
242 242
         $rules = parent::rules();
243 243
         $rules = array_merge($rules, [
244
-            [['checkinTime','checkoutTime','lodgingUnitDescription','lodgingUnitType','numAdults','numChildren'], 'validateJsonSchema'],
244
+            [['checkinTime', 'checkoutTime', 'lodgingUnitDescription', 'lodgingUnitType', 'numAdults', 'numChildren'], '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/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/LocalBusiness.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -239,7 +239,7 @@
 block discarded – undo
239 239
     {
240 240
         $rules = parent::rules();
241 241
         $rules = array_merge($rules, [
242
-            [['currenciesAccepted','openingHours','openingHoursSpecification', 'paymentAccepted','priceRange'], 'validateJsonSchema'],
242
+            [['currenciesAccepted', 'openingHours', 'openingHoursSpecification', 'paymentAccepted', 'priceRange'], 'validateJsonSchema'],
243 243
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
244 244
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
245 245
         ]);
Please login to merge, or discard this patch.