Passed
Push — v3 ( 6054b6...238b69 )
by Andrew
27:44 queued 16:28
created
src/models/jsonld/Preschool.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/InternetCafe.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/CancelAction.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/Residence.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/RentAction.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
@@ -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/ReservationStatusType.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/MusicAlbumReleaseType.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/Offer.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   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -519,23 +519,23 @@  discard block
 block discarded – undo
519 519
      * @var array
520 520
      */
521 521
     static protected $_schemaPropertyExpectedTypes = [
522
-        'acceptedPaymentMethod' => ['LoanOrCredit','PaymentMethod'],
522
+        'acceptedPaymentMethod' => ['LoanOrCredit', 'PaymentMethod'],
523 523
         'addOn' => ['Offer'],
524 524
         'advanceBookingRequirement' => ['QuantitativeValue'],
525 525
         'aggregateRating' => ['AggregateRating'],
526
-        'areaServed' => ['AdministrativeArea','GeoShape','Place','Text'],
526
+        'areaServed' => ['AdministrativeArea', 'GeoShape', 'Place', 'Text'],
527 527
         'availability' => ['ItemAvailability'],
528
-        'availabilityEnds' => ['Date','DateTime','Time'],
529
-        'availabilityStarts' => ['Date','DateTime','Time'],
528
+        'availabilityEnds' => ['Date', 'DateTime', 'Time'],
529
+        'availabilityStarts' => ['Date', 'DateTime', 'Time'],
530 530
         'availableAtOrFrom' => ['Place'],
531 531
         'availableDeliveryMethod' => ['DeliveryMethod'],
532 532
         'businessFunction' => ['BusinessFunction'],
533
-        'category' => ['PhysicalActivityCategory','Text','Thing'],
533
+        'category' => ['PhysicalActivityCategory', 'Text', 'Thing'],
534 534
         'deliveryLeadTime' => ['QuantitativeValue'],
535 535
         'eligibleCustomerType' => ['BusinessEntityType'],
536 536
         'eligibleDuration' => ['QuantitativeValue'],
537 537
         'eligibleQuantity' => ['QuantitativeValue'],
538
-        'eligibleRegion' => ['GeoShape','Place','Text'],
538
+        'eligibleRegion' => ['GeoShape', 'Place', 'Text'],
539 539
         'eligibleTransactionVolume' => ['PriceSpecification'],
540 540
         'gtin' => ['Text'],
541 541
         'gtin12' => ['Text'],
@@ -543,23 +543,23 @@  discard block
 block discarded – undo
543 543
         'gtin14' => ['Text'],
544 544
         'gtin8' => ['Text'],
545 545
         'includesObject' => ['TypeAndQuantityNode'],
546
-        'ineligibleRegion' => ['GeoShape','Place','Text'],
546
+        'ineligibleRegion' => ['GeoShape', 'Place', 'Text'],
547 547
         'inventoryLevel' => ['QuantitativeValue'],
548 548
         'itemCondition' => ['OfferItemCondition'],
549
-        'itemOffered' => ['AggregateOffer','CreativeWork','Event','MenuItem','Product','Service','Trip'],
550
-        'leaseLength' => ['Duration','QuantitativeValue'],
549
+        'itemOffered' => ['AggregateOffer', 'CreativeWork', 'Event', 'MenuItem', 'Product', 'Service', 'Trip'],
550
+        'leaseLength' => ['Duration', 'QuantitativeValue'],
551 551
         'mpn' => ['Text'],
552
-        'offeredBy' => ['Organization','Person'],
553
-        'price' => ['Number','Text'],
552
+        'offeredBy' => ['Organization', 'Person'],
553
+        'price' => ['Number', 'Text'],
554 554
         'priceCurrency' => ['Text'],
555 555
         'priceSpecification' => ['PriceSpecification'],
556 556
         'priceValidUntil' => ['Date'],
557 557
         'review' => ['Review'],
558
-        'seller' => ['Organization','Person'],
558
+        'seller' => ['Organization', 'Person'],
559 559
         'serialNumber' => ['Text'],
560 560
         'sku' => ['Text'],
561
-        'validFrom' => ['Date','DateTime'],
562
-        'validThrough' => ['Date','DateTime'],
561
+        'validFrom' => ['Date', 'DateTime'],
562
+        'validThrough' => ['Date', 'DateTime'],
563 563
         'warranty' => ['WarrantyPromise']
564 564
     ];
565 565
 
@@ -671,7 +671,7 @@  discard block
 block discarded – undo
671 671
     {
672 672
         $rules = parent::rules();
673 673
         $rules = array_merge($rules, [
674
-            [['acceptedPaymentMethod','addOn','advanceBookingRequirement','aggregateRating','areaServed','availability','availabilityEnds','availabilityStarts','availableAtOrFrom','availableDeliveryMethod','businessFunction','category','deliveryLeadTime','eligibleCustomerType','eligibleDuration','eligibleQuantity','eligibleRegion','eligibleTransactionVolume','gtin','gtin12','gtin13','gtin14','gtin8','includesObject','ineligibleRegion','inventoryLevel','itemCondition','itemOffered','leaseLength','mpn','offeredBy','price','priceCurrency','priceSpecification','priceValidUntil','review','seller','serialNumber','sku','validFrom','validThrough','warranty'], 'validateJsonSchema'],
674
+            [['acceptedPaymentMethod', 'addOn', 'advanceBookingRequirement', 'aggregateRating', 'areaServed', 'availability', 'availabilityEnds', 'availabilityStarts', 'availableAtOrFrom', 'availableDeliveryMethod', 'businessFunction', 'category', 'deliveryLeadTime', 'eligibleCustomerType', 'eligibleDuration', 'eligibleQuantity', 'eligibleRegion', 'eligibleTransactionVolume', 'gtin', 'gtin12', 'gtin13', 'gtin14', 'gtin8', 'includesObject', 'ineligibleRegion', 'inventoryLevel', 'itemCondition', 'itemOffered', 'leaseLength', 'mpn', 'offeredBy', 'price', 'priceCurrency', 'priceSpecification', 'priceValidUntil', 'review', 'seller', 'serialNumber', 'sku', 'validFrom', 'validThrough', 'warranty'], 'validateJsonSchema'],
675 675
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
676 676
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
677 677
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/PerformingGroup.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   +21 added lines, -21 removed lines patch added patch discarded remove patch
@@ -607,29 +607,29 @@  discard block
 block discarded – undo
607 607
      * @var array
608 608
      */
609 609
     static protected $_schemaPropertyExpectedTypes = [
610
-        'actionableFeedbackPolicy' => ['CreativeWork','URL'],
611
-        'address' => ['PostalAddress','Text'],
610
+        'actionableFeedbackPolicy' => ['CreativeWork', 'URL'],
611
+        'address' => ['PostalAddress', 'Text'],
612 612
         'aggregateRating' => ['AggregateRating'],
613 613
         'alumni' => ['Person'],
614
-        'areaServed' => ['AdministrativeArea','GeoShape','Place','Text'],
614
+        'areaServed' => ['AdministrativeArea', 'GeoShape', 'Place', 'Text'],
615 615
         'award' => ['Text'],
616
-        'brand' => ['Brand','Organization'],
616
+        'brand' => ['Brand', 'Organization'],
617 617
         'contactPoint' => ['ContactPoint'],
618
-        'correctionsPolicy' => ['CreativeWork','URL'],
618
+        'correctionsPolicy' => ['CreativeWork', 'URL'],
619 619
         'department' => ['Organization'],
620 620
         'dissolutionDate' => ['Date'],
621
-        'diversityPolicy' => ['CreativeWork','URL'],
622
-        'diversityStaffingReport' => ['Article','URL'],
621
+        'diversityPolicy' => ['CreativeWork', 'URL'],
622
+        'diversityStaffingReport' => ['Article', 'URL'],
623 623
         'duns' => ['Text'],
624 624
         'email' => ['Text'],
625 625
         'employee' => ['Person'],
626
-        'ethicsPolicy' => ['CreativeWork','URL'],
626
+        'ethicsPolicy' => ['CreativeWork', 'URL'],
627 627
         'event' => ['Event'],
628 628
         'faxNumber' => ['Text'],
629 629
         'founder' => ['Person'],
630 630
         'foundingDate' => ['Date'],
631 631
         'foundingLocation' => ['Place'],
632
-        'funder' => ['Organization','Person'],
632
+        'funder' => ['Organization', 'Person'],
633 633
         'globalLocationNumber' => ['Text'],
634 634
         'hasCredential' => ['EducationalOccupationalCredential'],
635 635
         'hasMerchantReturnPolicy' => ['MerchantReturnPolicy'],
@@ -637,29 +637,29 @@  discard block
 block discarded – undo
637 637
         'hasPOS' => ['Place'],
638 638
         'interactionStatistic' => ['InteractionCounter'],
639 639
         'isicV4' => ['Text'],
640
-        'knowsAbout' => ['Text','Thing','URL'],
641
-        'knowsLanguage' => ['Language','Text'],
640
+        'knowsAbout' => ['Text', 'Thing', 'URL'],
641
+        'knowsLanguage' => ['Language', 'Text'],
642 642
         'legalName' => ['Text'],
643 643
         'leiCode' => ['Text'],
644
-        'location' => ['Place','PostalAddress','Text','VirtualLocation'],
645
-        'logo' => ['ImageObject','URL'],
644
+        'location' => ['Place', 'PostalAddress', 'Text', 'VirtualLocation'],
645
+        'logo' => ['ImageObject', 'URL'],
646 646
         'makesOffer' => ['Offer'],
647
-        'member' => ['Organization','Person'],
648
-        'memberOf' => ['Organization','ProgramMembership'],
647
+        'member' => ['Organization', 'Person'],
648
+        'memberOf' => ['Organization', 'ProgramMembership'],
649 649
         'naics' => ['Text'],
650 650
         'numberOfEmployees' => ['QuantitativeValue'],
651
-        'ownershipFundingInfo' => ['AboutPage','CreativeWork','Text','URL'],
652
-        'owns' => ['OwnershipInfo','Product'],
651
+        'ownershipFundingInfo' => ['AboutPage', 'CreativeWork', 'Text', 'URL'],
652
+        'owns' => ['OwnershipInfo', 'Product'],
653 653
         'parentOrganization' => ['Organization'],
654
-        'publishingPrinciples' => ['CreativeWork','URL'],
654
+        'publishingPrinciples' => ['CreativeWork', 'URL'],
655 655
         'review' => ['Review'],
656 656
         'seeks' => ['Demand'],
657 657
         'slogan' => ['Text'],
658
-        'sponsor' => ['Organization','Person'],
658
+        'sponsor' => ['Organization', 'Person'],
659 659
         'subOrganization' => ['Organization'],
660 660
         'taxID' => ['Text'],
661 661
         'telephone' => ['Text'],
662
-        'unnamedSourcesPolicy' => ['CreativeWork','URL'],
662
+        'unnamedSourcesPolicy' => ['CreativeWork', 'URL'],
663 663
         'vatID' => ['Text']
664 664
     ];
665 665
 
@@ -783,7 +783,7 @@  discard block
 block discarded – undo
783 783
     {
784 784
         $rules = parent::rules();
785 785
         $rules = array_merge($rules, [
786
-            [['actionableFeedbackPolicy','address','aggregateRating','alumni','areaServed','award','brand','contactPoint','correctionsPolicy','department','dissolutionDate','diversityPolicy','diversityStaffingReport','duns','email','employee','ethicsPolicy','event','faxNumber','founder','foundingDate','foundingLocation','funder','globalLocationNumber','hasCredential','hasMerchantReturnPolicy','hasOfferCatalog','hasPOS','interactionStatistic','isicV4','knowsAbout','knowsLanguage','legalName','leiCode','location','logo','makesOffer','member','memberOf','naics','numberOfEmployees','ownershipFundingInfo','owns','parentOrganization','publishingPrinciples','review','seeks','slogan','sponsor','subOrganization','taxID','telephone','unnamedSourcesPolicy','vatID'], 'validateJsonSchema'],
786
+            [['actionableFeedbackPolicy', 'address', 'aggregateRating', 'alumni', 'areaServed', 'award', 'brand', 'contactPoint', 'correctionsPolicy', 'department', 'dissolutionDate', 'diversityPolicy', 'diversityStaffingReport', 'duns', 'email', 'employee', 'ethicsPolicy', 'event', 'faxNumber', 'founder', 'foundingDate', 'foundingLocation', 'funder', 'globalLocationNumber', 'hasCredential', 'hasMerchantReturnPolicy', 'hasOfferCatalog', 'hasPOS', 'interactionStatistic', 'isicV4', 'knowsAbout', 'knowsLanguage', 'legalName', 'leiCode', 'location', 'logo', 'makesOffer', 'member', 'memberOf', 'naics', 'numberOfEmployees', 'ownershipFundingInfo', 'owns', 'parentOrganization', 'publishingPrinciples', 'review', 'seeks', 'slogan', 'sponsor', 'subOrganization', 'taxID', 'telephone', 'unnamedSourcesPolicy', 'vatID'], 'validateJsonSchema'],
787 787
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
788 788
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
789 789
         ]);
Please login to merge, or discard this patch.