Passed
Push — v3 ( 648a44...fe0b34 )
by Andrew
19:51 queued 07:24
created
src/models/jsonld/GeoCircle.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
@@ -131,7 +131,7 @@  discard block
 block discarded – undo
131 131
      */
132 132
     static protected $_schemaPropertyExpectedTypes = [
133 133
         'geoMidpoint' => ['GeoCoordinates'],
134
-        'geoRadius' => ['Distance','Number','Text']
134
+        'geoRadius' => ['Distance', 'Number', 'Text']
135 135
     ];
136 136
 
137 137
     /**
@@ -202,7 +202,7 @@  discard block
 block discarded – undo
202 202
     {
203 203
         $rules = parent::rules();
204 204
         $rules = array_merge($rules, [
205
-            [['geoMidpoint','geoRadius'], 'validateJsonSchema'],
205
+            [['geoMidpoint', 'geoRadius'], 'validateJsonSchema'],
206 206
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
207 207
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
208 208
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/SearchAction.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/DigitalDocumentPermissionType.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
@@ -121,7 +121,7 @@
 block discarded – undo
121 121
      * @var array
122 122
      */
123 123
     static protected $_schemaPropertyExpectedTypes = [
124
-        'supersededBy' => ['Class','Enumeration','Property']
124
+        'supersededBy' => ['Class', 'Enumeration', 'Property']
125 125
     ];
126 126
 
127 127
     /**
Please login to merge, or discard this patch.
src/models/jsonld/ApartmentComplex.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   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -436,7 +436,7 @@  discard block
 block discarded – undo
436 436
      */
437 437
     static protected $_schemaPropertyExpectedTypes = [
438 438
         'additionalProperty' => ['PropertyValue'],
439
-        'address' => ['PostalAddress','Text'],
439
+        'address' => ['PostalAddress', 'Text'],
440 440
         'aggregateRating' => ['AggregateRating'],
441 441
         'amenityFeature' => ['LocationFeatureSpecification'],
442 442
         'branchCode' => ['Text'],
@@ -444,25 +444,25 @@  discard block
 block discarded – undo
444 444
         'containsPlace' => ['Place'],
445 445
         'event' => ['Event'],
446 446
         'faxNumber' => ['Text'],
447
-        'geo' => ['GeoCoordinates','GeoShape'],
448
-        'geoContains' => ['GeospatialGeometry','Place'],
449
-        'geoCoveredBy' => ['GeospatialGeometry','Place'],
450
-        'geoCovers' => ['GeospatialGeometry','Place'],
451
-        'geoCrosses' => ['GeospatialGeometry','Place'],
452
-        'geoDisjoint' => ['GeospatialGeometry','Place'],
453
-        'geoEquals' => ['GeospatialGeometry','Place'],
454
-        'geoIntersects' => ['GeospatialGeometry','Place'],
455
-        'geoOverlaps' => ['GeospatialGeometry','Place'],
456
-        'geoTouches' => ['GeospatialGeometry','Place'],
457
-        'geoWithin' => ['GeospatialGeometry','Place'],
447
+        'geo' => ['GeoCoordinates', 'GeoShape'],
448
+        'geoContains' => ['GeospatialGeometry', 'Place'],
449
+        'geoCoveredBy' => ['GeospatialGeometry', 'Place'],
450
+        'geoCovers' => ['GeospatialGeometry', 'Place'],
451
+        'geoCrosses' => ['GeospatialGeometry', 'Place'],
452
+        'geoDisjoint' => ['GeospatialGeometry', 'Place'],
453
+        'geoEquals' => ['GeospatialGeometry', 'Place'],
454
+        'geoIntersects' => ['GeospatialGeometry', 'Place'],
455
+        'geoOverlaps' => ['GeospatialGeometry', 'Place'],
456
+        'geoTouches' => ['GeospatialGeometry', 'Place'],
457
+        'geoWithin' => ['GeospatialGeometry', 'Place'],
458 458
         'globalLocationNumber' => ['Text'],
459
-        'hasMap' => ['Map','URL'],
459
+        'hasMap' => ['Map', 'URL'],
460 460
         'isAccessibleForFree' => ['Boolean'],
461 461
         'isicV4' => ['Text'],
462
-        'logo' => ['ImageObject','URL'],
462
+        'logo' => ['ImageObject', 'URL'],
463 463
         'maximumAttendeeCapacity' => ['Integer'],
464 464
         'openingHoursSpecification' => ['OpeningHoursSpecification'],
465
-        'photo' => ['ImageObject','Photograph'],
465
+        'photo' => ['ImageObject', 'Photograph'],
466 466
         'publicAccess' => ['Boolean'],
467 467
         'review' => ['Review'],
468 468
         'slogan' => ['Text'],
@@ -571,7 +571,7 @@  discard block
 block discarded – undo
571 571
     {
572 572
         $rules = parent::rules();
573 573
         $rules = array_merge($rules, [
574
-            [['additionalProperty','address','aggregateRating','amenityFeature','branchCode','containedInPlace','containsPlace','event','faxNumber','geo','geoContains','geoCoveredBy','geoCovers','geoCrosses','geoDisjoint','geoEquals','geoIntersects','geoOverlaps','geoTouches','geoWithin','globalLocationNumber','hasMap','isAccessibleForFree','isicV4','logo','maximumAttendeeCapacity','openingHoursSpecification','photo','publicAccess','review','slogan','smokingAllowed','specialOpeningHoursSpecification','telephone'], 'validateJsonSchema'],
574
+            [['additionalProperty', 'address', 'aggregateRating', 'amenityFeature', 'branchCode', 'containedInPlace', 'containsPlace', 'event', 'faxNumber', 'geo', 'geoContains', 'geoCoveredBy', 'geoCovers', 'geoCrosses', 'geoDisjoint', 'geoEquals', 'geoIntersects', 'geoOverlaps', 'geoTouches', 'geoWithin', 'globalLocationNumber', 'hasMap', 'isAccessibleForFree', 'isicV4', 'logo', 'maximumAttendeeCapacity', 'openingHoursSpecification', 'photo', 'publicAccess', 'review', 'slogan', 'smokingAllowed', 'specialOpeningHoursSpecification', 'telephone'], 'validateJsonSchema'],
575 575
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
576 576
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
577 577
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/BarOrPub.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
@@ -147,8 +147,8 @@  discard block
 block discarded – undo
147 147
      * @var array
148 148
      */
149 149
     static protected $_schemaPropertyExpectedTypes = [
150
-        'acceptsReservations' => ['Boolean','Text','URL'],
151
-        'hasMenu' => ['Menu','Text','URL'],
150
+        'acceptsReservations' => ['Boolean', 'Text', 'URL'],
151
+        'hasMenu' => ['Menu', 'Text', 'URL'],
152 152
         'servesCuisine' => ['Text'],
153 153
         'starRating' => ['Rating']
154 154
     ];
@@ -223,7 +223,7 @@  discard block
 block discarded – undo
223 223
     {
224 224
         $rules = parent::rules();
225 225
         $rules = array_merge($rules, [
226
-            [['acceptsReservations','hasMenu','servesCuisine','starRating'], 'validateJsonSchema'],
226
+            [['acceptsReservations', 'hasMenu', 'servesCuisine', 'starRating'], 'validateJsonSchema'],
227 227
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
228 228
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
229 229
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/ClothingStore.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
@@ -226,7 +226,7 @@
 block discarded – undo
226 226
     {
227 227
         $rules = parent::rules();
228 228
         $rules = array_merge($rules, [
229
-            [['currenciesAccepted','openingHours','paymentAccepted','priceRange'], 'validateJsonSchema'],
229
+            [['currenciesAccepted', 'openingHours', 'paymentAccepted', 'priceRange'], 'validateJsonSchema'],
230 230
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
231 231
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
232 232
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/Place.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   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -436,7 +436,7 @@  discard block
 block discarded – undo
436 436
      */
437 437
     static protected $_schemaPropertyExpectedTypes = [
438 438
         'additionalProperty' => ['PropertyValue'],
439
-        'address' => ['PostalAddress','Text'],
439
+        'address' => ['PostalAddress', 'Text'],
440 440
         'aggregateRating' => ['AggregateRating'],
441 441
         'amenityFeature' => ['LocationFeatureSpecification'],
442 442
         'branchCode' => ['Text'],
@@ -444,25 +444,25 @@  discard block
 block discarded – undo
444 444
         'containsPlace' => ['Place'],
445 445
         'event' => ['Event'],
446 446
         'faxNumber' => ['Text'],
447
-        'geo' => ['GeoCoordinates','GeoShape'],
448
-        'geoContains' => ['GeospatialGeometry','Place'],
449
-        'geoCoveredBy' => ['GeospatialGeometry','Place'],
450
-        'geoCovers' => ['GeospatialGeometry','Place'],
451
-        'geoCrosses' => ['GeospatialGeometry','Place'],
452
-        'geoDisjoint' => ['GeospatialGeometry','Place'],
453
-        'geoEquals' => ['GeospatialGeometry','Place'],
454
-        'geoIntersects' => ['GeospatialGeometry','Place'],
455
-        'geoOverlaps' => ['GeospatialGeometry','Place'],
456
-        'geoTouches' => ['GeospatialGeometry','Place'],
457
-        'geoWithin' => ['GeospatialGeometry','Place'],
447
+        'geo' => ['GeoCoordinates', 'GeoShape'],
448
+        'geoContains' => ['GeospatialGeometry', 'Place'],
449
+        'geoCoveredBy' => ['GeospatialGeometry', 'Place'],
450
+        'geoCovers' => ['GeospatialGeometry', 'Place'],
451
+        'geoCrosses' => ['GeospatialGeometry', 'Place'],
452
+        'geoDisjoint' => ['GeospatialGeometry', 'Place'],
453
+        'geoEquals' => ['GeospatialGeometry', 'Place'],
454
+        'geoIntersects' => ['GeospatialGeometry', 'Place'],
455
+        'geoOverlaps' => ['GeospatialGeometry', 'Place'],
456
+        'geoTouches' => ['GeospatialGeometry', 'Place'],
457
+        'geoWithin' => ['GeospatialGeometry', 'Place'],
458 458
         'globalLocationNumber' => ['Text'],
459
-        'hasMap' => ['Map','URL'],
459
+        'hasMap' => ['Map', 'URL'],
460 460
         'isAccessibleForFree' => ['Boolean'],
461 461
         'isicV4' => ['Text'],
462
-        'logo' => ['ImageObject','URL'],
462
+        'logo' => ['ImageObject', 'URL'],
463 463
         'maximumAttendeeCapacity' => ['Integer'],
464 464
         'openingHoursSpecification' => ['OpeningHoursSpecification'],
465
-        'photo' => ['ImageObject','Photograph'],
465
+        'photo' => ['ImageObject', 'Photograph'],
466 466
         'publicAccess' => ['Boolean'],
467 467
         'review' => ['Review'],
468 468
         'slogan' => ['Text'],
@@ -571,7 +571,7 @@  discard block
 block discarded – undo
571 571
     {
572 572
         $rules = parent::rules();
573 573
         $rules = array_merge($rules, [
574
-            [['additionalProperty','address','aggregateRating','amenityFeature','branchCode','containedInPlace','containsPlace','event','faxNumber','geo','geoContains','geoCoveredBy','geoCovers','geoCrosses','geoDisjoint','geoEquals','geoIntersects','geoOverlaps','geoTouches','geoWithin','globalLocationNumber','hasMap','isAccessibleForFree','isicV4','logo','maximumAttendeeCapacity','openingHoursSpecification','photo','publicAccess','review','slogan','smokingAllowed','specialOpeningHoursSpecification','telephone'], 'validateJsonSchema'],
574
+            [['additionalProperty', 'address', 'aggregateRating', 'amenityFeature', 'branchCode', 'containedInPlace', 'containsPlace', 'event', 'faxNumber', 'geo', 'geoContains', 'geoCoveredBy', 'geoCovers', 'geoCrosses', 'geoDisjoint', 'geoEquals', 'geoIntersects', 'geoOverlaps', 'geoTouches', 'geoWithin', 'globalLocationNumber', 'hasMap', 'isAccessibleForFree', 'isicV4', 'logo', 'maximumAttendeeCapacity', 'openingHoursSpecification', 'photo', 'publicAccess', 'review', 'slogan', 'smokingAllowed', 'specialOpeningHoursSpecification', 'telephone'], 'validateJsonSchema'],
575 575
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
576 576
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
577 577
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/GovernmentOffice.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
@@ -226,7 +226,7 @@
 block discarded – undo
226 226
     {
227 227
         $rules = parent::rules();
228 228
         $rules = array_merge($rules, [
229
-            [['currenciesAccepted','openingHours','paymentAccepted','priceRange'], 'validateJsonSchema'],
229
+            [['currenciesAccepted', 'openingHours', 'paymentAccepted', 'priceRange'], 'validateJsonSchema'],
230 230
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
231 231
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
232 232
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/TattooParlor.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
@@ -226,7 +226,7 @@
 block discarded – undo
226 226
     {
227 227
         $rules = parent::rules();
228 228
         $rules = array_merge($rules, [
229
-            [['currenciesAccepted','openingHours','paymentAccepted','priceRange'], 'validateJsonSchema'],
229
+            [['currenciesAccepted', 'openingHours', 'paymentAccepted', 'priceRange'], 'validateJsonSchema'],
230 230
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
231 231
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
232 232
         ]);
Please login to merge, or discard this patch.