Passed
Pull Request — develop (#251)
by Timothy
05:37
created
src/models/jsonld/CreativeWorkSeries.php 2 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -164,8 +164,8 @@  discard block
 block discarded – undo
164 164
     // =========================================================================
165 165
 
166 166
     /**
167
-    * @inheritdoc
168
-    */
167
+     * @inheritdoc
168
+     */
169 169
     public function init()
170 170
     {
171 171
         parent::init();
@@ -196,8 +196,8 @@  discard block
 block discarded – undo
196 196
     }
197 197
 
198 198
     /**
199
-    * @inheritdoc
200
-    */
199
+     * @inheritdoc
200
+     */
201 201
     public function rules()
202 202
     {
203 203
         $rules = parent::rules();
Please login to merge, or discard this 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/Product.php 2 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -164,8 +164,8 @@  discard block
 block discarded – undo
164 164
     // =========================================================================
165 165
 
166 166
     /**
167
-    * @inheritdoc
168
-    */
167
+     * @inheritdoc
168
+     */
169 169
     public function init()
170 170
     {
171 171
         parent::init();
@@ -196,8 +196,8 @@  discard block
 block discarded – undo
196 196
     }
197 197
 
198 198
     /**
199
-    * @inheritdoc
200
-    */
199
+     * @inheritdoc
200
+     */
201 201
     public function rules()
202 202
     {
203 203
         $rules = parent::rules();
Please login to merge, or discard this patch.
Spacing   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -403,24 +403,24 @@  discard block
 block discarded – undo
403 403
         'aggregateRating' => ['AggregateRating'],
404 404
         'audience' => ['Audience'],
405 405
         'award' => ['Text'],
406
-        'brand' => ['Brand','Organization'],
407
-        'category' => ['PhysicalActivityCategory','Text','Thing'],
406
+        'brand' => ['Brand', 'Organization'],
407
+        'category' => ['PhysicalActivityCategory', 'Text', 'Thing'],
408 408
         'color' => ['Text'],
409
-        'depth' => ['Distance','QuantitativeValue'],
409
+        'depth' => ['Distance', 'QuantitativeValue'],
410 410
         'gtin12' => ['Text'],
411 411
         'gtin13' => ['Text'],
412 412
         'gtin14' => ['Text'],
413 413
         'gtin8' => ['Text'],
414
-        'height' => ['Distance','QuantitativeValue'],
414
+        'height' => ['Distance', 'QuantitativeValue'],
415 415
         'isAccessoryOrSparePartFor' => ['Product'],
416 416
         'isConsumableFor' => ['Product'],
417
-        'isRelatedTo' => ['Product','Service'],
418
-        'isSimilarTo' => ['Product','Service'],
417
+        'isRelatedTo' => ['Product', 'Service'],
418
+        'isSimilarTo' => ['Product', 'Service'],
419 419
         'itemCondition' => ['OfferItemCondition'],
420
-        'logo' => ['ImageObject','URL'],
420
+        'logo' => ['ImageObject', 'URL'],
421 421
         'manufacturer' => ['Organization'],
422
-        'material' => ['Product','Text','URL'],
423
-        'model' => ['ProductModel','Text'],
422
+        'material' => ['Product', 'Text', 'URL'],
423
+        'model' => ['ProductModel', 'Text'],
424 424
         'mpn' => ['Text'],
425 425
         'offers' => ['Offer'],
426 426
         'productID' => ['Text'],
@@ -430,7 +430,7 @@  discard block
 block discarded – undo
430 430
         'review' => ['Review'],
431 431
         'sku' => ['Text'],
432 432
         'weight' => ['QuantitativeValue'],
433
-        'width' => ['Distance','QuantitativeValue']
433
+        'width' => ['Distance', 'QuantitativeValue']
434 434
     ];
435 435
 
436 436
     /**
@@ -531,7 +531,7 @@  discard block
 block discarded – undo
531 531
     {
532 532
         $rules = parent::rules();
533 533
         $rules = array_merge($rules, [
534
-            [['additionalProperty','aggregateRating','audience','award','brand','category','color','depth','gtin12','gtin13','gtin14','gtin8','height','isAccessoryOrSparePartFor','isConsumableFor','isRelatedTo','isSimilarTo','itemCondition','logo','manufacturer','material','model','mpn','offers','productID','productionDate','purchaseDate','releaseDate','review','sku','weight','width'], 'validateJsonSchema'],
534
+            [['additionalProperty', 'aggregateRating', 'audience', 'award', 'brand', 'category', 'color', 'depth', 'gtin12', 'gtin13', 'gtin14', 'gtin8', 'height', 'isAccessoryOrSparePartFor', 'isConsumableFor', 'isRelatedTo', 'isSimilarTo', 'itemCondition', 'logo', 'manufacturer', 'material', 'model', 'mpn', 'offers', 'productID', 'productionDate', 'purchaseDate', 'releaseDate', 'review', 'sku', 'weight', 'width'], 'validateJsonSchema'],
535 535
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
536 536
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
537 537
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/ScreeningEvent.php 2 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -164,8 +164,8 @@  discard block
 block discarded – undo
164 164
     // =========================================================================
165 165
 
166 166
     /**
167
-    * @inheritdoc
168
-    */
167
+     * @inheritdoc
168
+     */
169 169
     public function init()
170 170
     {
171 171
         parent::init();
@@ -196,8 +196,8 @@  discard block
 block discarded – undo
196 196
     }
197 197
 
198 198
     /**
199
-    * @inheritdoc
200
-    */
199
+     * @inheritdoc
200
+     */
201 201
     public function rules()
202 202
     {
203 203
         $rules = parent::rules();
Please login to merge, or discard this 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/PublicationEvent.php 2 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -164,8 +164,8 @@  discard block
 block discarded – undo
164 164
     // =========================================================================
165 165
 
166 166
     /**
167
-    * @inheritdoc
168
-    */
167
+     * @inheritdoc
168
+     */
169 169
     public function init()
170 170
     {
171 171
         parent::init();
@@ -196,8 +196,8 @@  discard block
 block discarded – undo
196 196
     }
197 197
 
198 198
     /**
199
-    * @inheritdoc
200
-    */
199
+     * @inheritdoc
200
+     */
201 201
     public function rules()
202 202
     {
203 203
         $rules = parent::rules();
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -136,7 +136,7 @@  discard block
 block discarded – undo
136 136
      */
137 137
     static protected $_schemaPropertyExpectedTypes = [
138 138
         'isAccessibleForFree' => ['Boolean'],
139
-        'publishedBy' => ['Organization','Person'],
139
+        'publishedBy' => ['Organization', 'Person'],
140 140
         'publishedOn' => ['BroadcastService']
141 141
     ];
142 142
 
@@ -209,7 +209,7 @@  discard block
 block discarded – undo
209 209
     {
210 210
         $rules = parent::rules();
211 211
         $rules = array_merge($rules, [
212
-            [['isAccessibleForFree','publishedBy','publishedOn'], 'validateJsonSchema'],
212
+            [['isAccessibleForFree', 'publishedBy', 'publishedOn'], '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/DataFeedItem.php 2 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -164,8 +164,8 @@  discard block
 block discarded – undo
164 164
     // =========================================================================
165 165
 
166 166
     /**
167
-    * @inheritdoc
168
-    */
167
+     * @inheritdoc
168
+     */
169 169
     public function init()
170 170
     {
171 171
         parent::init();
@@ -196,8 +196,8 @@  discard block
 block discarded – undo
196 196
     }
197 197
 
198 198
     /**
199
-    * @inheritdoc
200
-    */
199
+     * @inheritdoc
200
+     */
201 201
     public function rules()
202 202
     {
203 203
         $rules = parent::rules();
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -144,9 +144,9 @@  discard block
 block discarded – undo
144 144
      * @var array
145 145
      */
146 146
     static protected $_schemaPropertyExpectedTypes = [
147
-        'dateCreated' => ['Date','DateTime'],
147
+        'dateCreated' => ['Date', 'DateTime'],
148 148
         'dateDeleted' => ['DateTime'],
149
-        'dateModified' => ['Date','DateTime'],
149
+        'dateModified' => ['Date', 'DateTime'],
150 150
         'item' => ['Thing']
151 151
     ];
152 152
 
@@ -220,7 +220,7 @@  discard block
 block discarded – undo
220 220
     {
221 221
         $rules = parent::rules();
222 222
         $rules = array_merge($rules, [
223
-            [['dateCreated','dateDeleted','dateModified','item'], 'validateJsonSchema'],
223
+            [['dateCreated', 'dateDeleted', 'dateModified', 'item'], 'validateJsonSchema'],
224 224
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
225 225
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
226 226
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/LodgingReservation.php 2 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -164,8 +164,8 @@  discard block
 block discarded – undo
164 164
     // =========================================================================
165 165
 
166 166
     /**
167
-    * @inheritdoc
168
-    */
167
+     * @inheritdoc
168
+     */
169 169
     public function init()
170 170
     {
171 171
         parent::init();
@@ -196,8 +196,8 @@  discard block
 block discarded – undo
196 196
     }
197 197
 
198 198
     /**
199
-    * @inheritdoc
200
-    */
199
+     * @inheritdoc
200
+     */
201 201
     public function rules()
202 202
     {
203 203
         $rules = parent::rules();
Please login to merge, or discard this 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/Aquarium.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -164,8 +164,8 @@  discard block
 block discarded – undo
164 164
     // =========================================================================
165 165
 
166 166
     /**
167
-    * @inheritdoc
168
-    */
167
+     * @inheritdoc
168
+     */
169 169
     public function init()
170 170
     {
171 171
         parent::init();
@@ -196,8 +196,8 @@  discard block
 block discarded – undo
196 196
     }
197 197
 
198 198
     /**
199
-    * @inheritdoc
200
-    */
199
+     * @inheritdoc
200
+     */
201 201
     public function rules()
202 202
     {
203 203
         $rules = parent::rules();
Please login to merge, or discard this patch.
src/models/jsonld/PlayAction.php 2 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -164,8 +164,8 @@  discard block
 block discarded – undo
164 164
     // =========================================================================
165 165
 
166 166
     /**
167
-    * @inheritdoc
168
-    */
167
+     * @inheritdoc
168
+     */
169 169
     public function init()
170 170
     {
171 171
         parent::init();
@@ -196,8 +196,8 @@  discard block
 block discarded – undo
196 196
     }
197 197
 
198 198
     /**
199
-    * @inheritdoc
200
-    */
199
+     * @inheritdoc
200
+     */
201 201
     public function rules()
202 202
     {
203 203
         $rules = parent::rules();
Please login to merge, or discard this 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/MusicAlbum.php 2 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -164,8 +164,8 @@  discard block
 block discarded – undo
164 164
     // =========================================================================
165 165
 
166 166
     /**
167
-    * @inheritdoc
168
-    */
167
+     * @inheritdoc
168
+     */
169 169
     public function init()
170 170
     {
171 171
         parent::init();
@@ -196,8 +196,8 @@  discard block
 block discarded – undo
196 196
     }
197 197
 
198 198
     /**
199
-    * @inheritdoc
200
-    */
199
+     * @inheritdoc
200
+     */
201 201
     public function rules()
202 202
     {
203 203
         $rules = parent::rules();
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -218,7 +218,7 @@
 block discarded – undo
218 218
     {
219 219
         $rules = parent::rules();
220 220
         $rules = array_merge($rules, [
221
-            [['albumProductionType','albumRelease','albumReleaseType','byArtist'], 'validateJsonSchema'],
221
+            [['albumProductionType', 'albumRelease', 'albumReleaseType', 'byArtist'], 'validateJsonSchema'],
222 222
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
223 223
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
224 224
         ]);
Please login to merge, or discard this patch.