Passed
Pull Request — develop (#257)
by Timothy
09:13 queued 03:03
created
src/models/jsonld/BookmarkAction.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
@@ -218,13 +218,13 @@  discard block
 block discarded – undo
218 218
      */
219 219
     static protected $_schemaPropertyExpectedTypes = [
220 220
         'actionStatus' => ['ActionStatusType'],
221
-        'agent' => ['Organization','Person'],
221
+        'agent' => ['Organization', 'Person'],
222 222
         'endTime' => ['DateTime'],
223 223
         'error' => ['Thing'],
224 224
         'instrument' => ['Thing'],
225
-        'location' => ['Place','PostalAddress','Text'],
225
+        'location' => ['Place', 'PostalAddress', 'Text'],
226 226
         'object' => ['Thing'],
227
-        'participant' => ['Organization','Person'],
227
+        'participant' => ['Organization', 'Person'],
228 228
         'result' => ['Thing'],
229 229
         'startTime' => ['DateTime'],
230 230
         'target' => ['EntryPoint']
@@ -307,7 +307,7 @@  discard block
 block discarded – undo
307 307
     {
308 308
         $rules = parent::rules();
309 309
         $rules = array_merge($rules, [
310
-            [['actionStatus','agent','endTime','error','instrument','location','object','participant','result','startTime','target'], 'validateJsonSchema'],
310
+            [['actionStatus', 'agent', 'endTime', 'error', 'instrument', 'location', 'object', 'participant', 'result', 'startTime', 'target'], 'validateJsonSchema'],
311 311
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
312 312
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
313 313
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/RadioSeries.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
@@ -192,7 +192,7 @@  discard block
 block discarded – undo
192 192
         'containsSeason' => ['CreativeWorkSeason'],
193 193
         'director' => ['Person'],
194 194
         'episode' => ['Episode'],
195
-        'musicBy' => ['MusicGroup','Person'],
195
+        'musicBy' => ['MusicGroup', 'Person'],
196 196
         'numberOfEpisodes' => ['Integer'],
197 197
         'numberOfSeasons' => ['Integer'],
198 198
         'productionCompany' => ['Organization'],
@@ -274,7 +274,7 @@  discard block
 block discarded – undo
274 274
     {
275 275
         $rules = parent::rules();
276 276
         $rules = array_merge($rules, [
277
-            [['actor','containsSeason','director','episode','musicBy','numberOfEpisodes','numberOfSeasons','productionCompany','trailer'], 'validateJsonSchema'],
277
+            [['actor', 'containsSeason', 'director', 'episode', 'musicBy', 'numberOfEpisodes', 'numberOfSeasons', 'productionCompany', 'trailer'], 'validateJsonSchema'],
278 278
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
279 279
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
280 280
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/OrganizeAction.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
@@ -218,13 +218,13 @@  discard block
 block discarded – undo
218 218
      */
219 219
     static protected $_schemaPropertyExpectedTypes = [
220 220
         'actionStatus' => ['ActionStatusType'],
221
-        'agent' => ['Organization','Person'],
221
+        'agent' => ['Organization', 'Person'],
222 222
         'endTime' => ['DateTime'],
223 223
         'error' => ['Thing'],
224 224
         'instrument' => ['Thing'],
225
-        'location' => ['Place','PostalAddress','Text'],
225
+        'location' => ['Place', 'PostalAddress', 'Text'],
226 226
         'object' => ['Thing'],
227
-        'participant' => ['Organization','Person'],
227
+        'participant' => ['Organization', 'Person'],
228 228
         'result' => ['Thing'],
229 229
         'startTime' => ['DateTime'],
230 230
         'target' => ['EntryPoint']
@@ -307,7 +307,7 @@  discard block
 block discarded – undo
307 307
     {
308 308
         $rules = parent::rules();
309 309
         $rules = array_merge($rules, [
310
-            [['actionStatus','agent','endTime','error','instrument','location','object','participant','result','startTime','target'], 'validateJsonSchema'],
310
+            [['actionStatus', 'agent', 'endTime', 'error', 'instrument', 'location', 'object', 'participant', 'result', 'startTime', 'target'], 'validateJsonSchema'],
311 311
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
312 312
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
313 313
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/WPSideBar.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   +25 added lines, -25 removed lines patch added patch discarded remove patch
@@ -882,21 +882,21 @@  discard block
 block discarded – undo
882 882
         'associatedMedia' => ['MediaObject'],
883 883
         'audience' => ['Audience'],
884 884
         'audio' => ['AudioObject'],
885
-        'author' => ['Organization','Person'],
885
+        'author' => ['Organization', 'Person'],
886 886
         'award' => ['Text'],
887 887
         'character' => ['Person'],
888
-        'citation' => ['CreativeWork','Text'],
888
+        'citation' => ['CreativeWork', 'Text'],
889 889
         'comment' => ['Comment'],
890 890
         'commentCount' => ['Integer'],
891 891
         'contentLocation' => ['Place'],
892 892
         'contentRating' => ['Text'],
893 893
         'contentReferenceTime' => ['DateTime'],
894
-        'contributor' => ['Organization','Person'],
895
-        'copyrightHolder' => ['Organization','Person'],
894
+        'contributor' => ['Organization', 'Person'],
895
+        'copyrightHolder' => ['Organization', 'Person'],
896 896
         'copyrightYear' => ['Number'],
897
-        'creator' => ['Organization','Person'],
898
-        'dateCreated' => ['Date','DateTime'],
899
-        'dateModified' => ['Date','DateTime'],
897
+        'creator' => ['Organization', 'Person'],
898
+        'dateCreated' => ['Date', 'DateTime'],
899
+        'dateModified' => ['Date', 'DateTime'],
900 900
         'datePublished' => ['Date'],
901 901
         'discussionUrl' => ['URL'],
902 902
         'editor' => ['Person'],
@@ -905,48 +905,48 @@  discard block
 block discarded – undo
905 905
         'encoding' => ['MediaObject'],
906 906
         'exampleOfWork' => ['CreativeWork'],
907 907
         'expires' => ['Date'],
908
-        'fileFormat' => ['Text','URL'],
909
-        'funder' => ['Organization','Person'],
910
-        'genre' => ['Text','URL'],
908
+        'fileFormat' => ['Text', 'URL'],
909
+        'funder' => ['Organization', 'Person'],
910
+        'genre' => ['Text', 'URL'],
911 911
         'hasPart' => ['CreativeWork'],
912 912
         'headline' => ['Text'],
913
-        'inLanguage' => ['Language','Text'],
913
+        'inLanguage' => ['Language', 'Text'],
914 914
         'interactionStatistic' => ['InteractionCounter'],
915 915
         'interactivityType' => ['Text'],
916 916
         'isAccessibleForFree' => ['Boolean'],
917
-        'isBasedOn' => ['CreativeWork','Product','URL'],
917
+        'isBasedOn' => ['CreativeWork', 'Product', 'URL'],
918 918
         'isFamilyFriendly' => ['Boolean'],
919 919
         'isPartOf' => ['CreativeWork'],
920 920
         'keywords' => ['Text'],
921 921
         'learningResourceType' => ['Text'],
922
-        'license' => ['CreativeWork','URL'],
922
+        'license' => ['CreativeWork', 'URL'],
923 923
         'locationCreated' => ['Place'],
924 924
         'mainEntity' => ['Thing'],
925
-        'material' => ['Product','Text','URL'],
925
+        'material' => ['Product', 'Text', 'URL'],
926 926
         'mentions' => ['Thing'],
927 927
         'offers' => ['Offer'],
928
-        'position' => ['Integer','Text'],
929
-        'producer' => ['Organization','Person'],
930
-        'provider' => ['Organization','Person'],
928
+        'position' => ['Integer', 'Text'],
929
+        'producer' => ['Organization', 'Person'],
930
+        'provider' => ['Organization', 'Person'],
931 931
         'publication' => ['PublicationEvent'],
932
-        'publisher' => ['Organization','Person'],
932
+        'publisher' => ['Organization', 'Person'],
933 933
         'publisherImprint' => ['Organization'],
934
-        'publishingPrinciples' => ['CreativeWork','URL'],
934
+        'publishingPrinciples' => ['CreativeWork', 'URL'],
935 935
         'recordedAt' => ['Event'],
936 936
         'releasedEvent' => ['PublicationEvent'],
937 937
         'review' => ['Review'],
938
-        'schemaVersion' => ['Text','URL'],
938
+        'schemaVersion' => ['Text', 'URL'],
939 939
         'sourceOrganization' => ['Organization'],
940 940
         'spatialCoverage' => ['Place'],
941
-        'sponsor' => ['Organization','Person'],
942
-        'temporalCoverage' => ['DateTime','Text','URL'],
941
+        'sponsor' => ['Organization', 'Person'],
942
+        'temporalCoverage' => ['DateTime', 'Text', 'URL'],
943 943
         'text' => ['Text'],
944 944
         'thumbnailUrl' => ['URL'],
945 945
         'timeRequired' => ['Duration'],
946 946
         'translationOfWork' => ['CreativeWork'],
947
-        'translator' => ['Organization','Person'],
947
+        'translator' => ['Organization', 'Person'],
948 948
         'typicalAgeRange' => ['Text'],
949
-        'version' => ['Number','Text'],
949
+        'version' => ['Number', 'Text'],
950 950
         'video' => ['VideoObject'],
951 951
         'workExample' => ['CreativeWork'],
952 952
         'workTranslation' => ['CreativeWork']
@@ -1100,7 +1100,7 @@  discard block
 block discarded – undo
1100 1100
     {
1101 1101
         $rules = parent::rules();
1102 1102
         $rules = array_merge($rules, [
1103
-            [['about','accessMode','accessModeSufficient','accessibilityAPI','accessibilityControl','accessibilityFeature','accessibilityHazard','accessibilitySummary','accountablePerson','aggregateRating','alternativeHeadline','associatedMedia','audience','audio','author','award','character','citation','comment','commentCount','contentLocation','contentRating','contentReferenceTime','contributor','copyrightHolder','copyrightYear','creator','dateCreated','dateModified','datePublished','discussionUrl','editor','educationalAlignment','educationalUse','encoding','exampleOfWork','expires','fileFormat','funder','genre','hasPart','headline','inLanguage','interactionStatistic','interactivityType','isAccessibleForFree','isBasedOn','isFamilyFriendly','isPartOf','keywords','learningResourceType','license','locationCreated','mainEntity','material','mentions','offers','position','producer','provider','publication','publisher','publisherImprint','publishingPrinciples','recordedAt','releasedEvent','review','schemaVersion','sourceOrganization','spatialCoverage','sponsor','temporalCoverage','text','thumbnailUrl','timeRequired','translationOfWork','translator','typicalAgeRange','version','video','workExample','workTranslation'], 'validateJsonSchema'],
1103
+            [['about', 'accessMode', 'accessModeSufficient', 'accessibilityAPI', 'accessibilityControl', 'accessibilityFeature', 'accessibilityHazard', 'accessibilitySummary', 'accountablePerson', 'aggregateRating', 'alternativeHeadline', 'associatedMedia', 'audience', 'audio', 'author', 'award', 'character', 'citation', 'comment', 'commentCount', 'contentLocation', 'contentRating', 'contentReferenceTime', 'contributor', 'copyrightHolder', 'copyrightYear', 'creator', 'dateCreated', 'dateModified', 'datePublished', 'discussionUrl', 'editor', 'educationalAlignment', 'educationalUse', 'encoding', 'exampleOfWork', 'expires', 'fileFormat', 'funder', 'genre', 'hasPart', 'headline', 'inLanguage', 'interactionStatistic', 'interactivityType', 'isAccessibleForFree', 'isBasedOn', 'isFamilyFriendly', 'isPartOf', 'keywords', 'learningResourceType', 'license', 'locationCreated', 'mainEntity', 'material', 'mentions', 'offers', 'position', 'producer', 'provider', 'publication', 'publisher', 'publisherImprint', 'publishingPrinciples', 'recordedAt', 'releasedEvent', 'review', 'schemaVersion', 'sourceOrganization', 'spatialCoverage', 'sponsor', 'temporalCoverage', 'text', 'thumbnailUrl', 'timeRequired', 'translationOfWork', 'translator', 'typicalAgeRange', 'version', 'video', 'workExample', 'workTranslation'], 'validateJsonSchema'],
1104 1104
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
1105 1105
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
1106 1106
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/PaymentMethod.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/DepositAccount.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
@@ -119,7 +119,7 @@
 block discarded – undo
119 119
      * @var array
120 120
      */
121 121
     static protected $_schemaPropertyExpectedTypes = [
122
-        'amount' => ['MonetaryAmount','Number']
122
+        'amount' => ['MonetaryAmount', 'Number']
123 123
     ];
124 124
 
125 125
     /**
Please login to merge, or discard this patch.
src/models/jsonld/Invoice.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   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -241,19 +241,19 @@  discard block
 block discarded – undo
241 241
     static protected $_schemaPropertyExpectedTypes = [
242 242
         'accountId' => ['Text'],
243 243
         'billingPeriod' => ['Duration'],
244
-        'broker' => ['Organization','Person'],
245
-        'category' => ['PhysicalActivityCategory','Text','Thing'],
244
+        'broker' => ['Organization', 'Person'],
245
+        'category' => ['PhysicalActivityCategory', 'Text', 'Thing'],
246 246
         'confirmationNumber' => ['Text'],
247
-        'customer' => ['Organization','Person'],
248
-        'minimumPaymentDue' => ['MonetaryAmount','PriceSpecification'],
247
+        'customer' => ['Organization', 'Person'],
248
+        'minimumPaymentDue' => ['MonetaryAmount', 'PriceSpecification'],
249 249
         'paymentDueDate' => ['DateTime'],
250 250
         'paymentMethod' => ['PaymentMethod'],
251 251
         'paymentMethodId' => ['Text'],
252
-        'paymentStatus' => ['PaymentStatusType','Text'],
253
-        'provider' => ['Organization','Person'],
252
+        'paymentStatus' => ['PaymentStatusType', 'Text'],
253
+        'provider' => ['Organization', 'Person'],
254 254
         'referencesOrder' => ['Order'],
255 255
         'scheduledPaymentDate' => ['Date'],
256
-        'totalPaymentDue' => ['MonetaryAmount','PriceSpecification']
256
+        'totalPaymentDue' => ['MonetaryAmount', 'PriceSpecification']
257 257
     ];
258 258
 
259 259
     /**
@@ -337,7 +337,7 @@  discard block
 block discarded – undo
337 337
     {
338 338
         $rules = parent::rules();
339 339
         $rules = array_merge($rules, [
340
-            [['accountId','billingPeriod','broker','category','confirmationNumber','customer','minimumPaymentDue','paymentDueDate','paymentMethod','paymentMethodId','paymentStatus','provider','referencesOrder','scheduledPaymentDate','totalPaymentDue'], 'validateJsonSchema'],
340
+            [['accountId', 'billingPeriod', 'broker', 'category', 'confirmationNumber', 'customer', 'minimumPaymentDue', 'paymentDueDate', 'paymentMethod', 'paymentMethodId', 'paymentStatus', 'provider', 'referencesOrder', 'scheduledPaymentDate', 'totalPaymentDue'], 'validateJsonSchema'],
341 341
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
342 342
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
343 343
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/InsertAction.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/Crematorium.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.