Passed
Push — v3 ( 21dc87...5a2177 )
by Andrew
13:57 queued 07:33
created
src/models/jsonld/RadioSeries.php 2 patches
Spacing   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -60,35 +60,35 @@  discard block
 block discarded – undo
60 60
      *
61 61
      * @var array
62 62
      */
63
-    static public $schemaPropertyNames = [];
63
+    static public $schemaPropertyNames = [ ];
64 64
 
65 65
     /**
66 66
      * The Schema.org composed Property Expected Types
67 67
      *
68 68
      * @var array
69 69
      */
70
-    static public $schemaPropertyExpectedTypes = [];
70
+    static public $schemaPropertyExpectedTypes = [ ];
71 71
 
72 72
     /**
73 73
      * The Schema.org composed Property Descriptions
74 74
      *
75 75
      * @var array
76 76
      */
77
-    static public $schemaPropertyDescriptions = [];
77
+    static public $schemaPropertyDescriptions = [ ];
78 78
 
79 79
     /**
80 80
      * The Schema.org composed Google Required Schema for this type
81 81
      *
82 82
      * @var array
83 83
      */
84
-    static public $googleRequiredSchema = [];
84
+    static public $googleRequiredSchema = [ ];
85 85
 
86 86
     /**
87 87
      * The Schema.org composed Google Recommended Schema for this type
88 88
      *
89 89
      * @var array
90 90
      */
91
-    static public $googleRecommendedSchema = [];
91
+    static public $googleRecommendedSchema = [ ];
92 92
 
93 93
     // Public Properties
94 94
     // =========================================================================
@@ -188,15 +188,15 @@  discard block
 block discarded – undo
188 188
      * @var array
189 189
      */
190 190
     static protected $_schemaPropertyExpectedTypes = [
191
-        'actor' => ['Person'],
192
-        'containsSeason' => ['CreativeWorkSeason'],
193
-        'director' => ['Person'],
194
-        'episode' => ['Episode'],
195
-        'musicBy' => ['MusicGroup','Person'],
196
-        'numberOfEpisodes' => ['Integer'],
197
-        'numberOfSeasons' => ['Integer'],
198
-        'productionCompany' => ['Organization'],
199
-        'trailer' => ['VideoObject']
191
+        'actor' => [ 'Person' ],
192
+        'containsSeason' => [ 'CreativeWorkSeason' ],
193
+        'director' => [ 'Person' ],
194
+        'episode' => [ 'Episode' ],
195
+        'musicBy' => [ 'MusicGroup', 'Person' ],
196
+        'numberOfEpisodes' => [ 'Integer' ],
197
+        'numberOfSeasons' => [ 'Integer' ],
198
+        'productionCompany' => [ 'Organization' ],
199
+        'trailer' => [ 'VideoObject' ]
200 200
     ];
201 201
 
202 202
     /**
@@ -274,9 +274,9 @@  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'],
278
-            [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
279
-            [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
277
+            [ [ 'actor', 'containsSeason', 'director', 'episode', 'musicBy', 'numberOfEpisodes', 'numberOfSeasons', 'productionCompany', 'trailer' ], 'validateJsonSchema' ],
278
+            [ self::$_googleRequiredSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is required by Google.' ],
279
+            [ self::$_googleRecommendedSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is recommended by Google.' ]
280 280
         ]);
281 281
 
282 282
         return $rules;
Please login to merge, or discard this 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/AskAction.php 2 patches
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -60,35 +60,35 @@  discard block
 block discarded – undo
60 60
      *
61 61
      * @var array
62 62
      */
63
-    static public $schemaPropertyNames = [];
63
+    static public $schemaPropertyNames = [ ];
64 64
 
65 65
     /**
66 66
      * The Schema.org composed Property Expected Types
67 67
      *
68 68
      * @var array
69 69
      */
70
-    static public $schemaPropertyExpectedTypes = [];
70
+    static public $schemaPropertyExpectedTypes = [ ];
71 71
 
72 72
     /**
73 73
      * The Schema.org composed Property Descriptions
74 74
      *
75 75
      * @var array
76 76
      */
77
-    static public $schemaPropertyDescriptions = [];
77
+    static public $schemaPropertyDescriptions = [ ];
78 78
 
79 79
     /**
80 80
      * The Schema.org composed Google Required Schema for this type
81 81
      *
82 82
      * @var array
83 83
      */
84
-    static public $googleRequiredSchema = [];
84
+    static public $googleRequiredSchema = [ ];
85 85
 
86 86
     /**
87 87
      * The Schema.org composed Google Recommended Schema for this type
88 88
      *
89 89
      * @var array
90 90
      */
91
-    static public $googleRecommendedSchema = [];
91
+    static public $googleRecommendedSchema = [ ];
92 92
 
93 93
     // Public Properties
94 94
     // =========================================================================
@@ -118,7 +118,7 @@  discard block
 block discarded – undo
118 118
      * @var array
119 119
      */
120 120
     static protected $_schemaPropertyExpectedTypes = [
121
-        'question' => ['Question']
121
+        'question' => [ 'Question' ]
122 122
     ];
123 123
 
124 124
     /**
@@ -188,9 +188,9 @@  discard block
 block discarded – undo
188 188
     {
189 189
         $rules = parent::rules();
190 190
         $rules = array_merge($rules, [
191
-            [['question'], 'validateJsonSchema'],
192
-            [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
193
-            [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
191
+            [ [ 'question' ], 'validateJsonSchema' ],
192
+            [ self::$_googleRequiredSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is required by Google.' ],
193
+            [ self::$_googleRecommendedSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is recommended by Google.' ]
194 194
         ]);
195 195
 
196 196
         return $rules;
Please login to merge, or discard this 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/InteractionCounter.php 2 patches
Spacing   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -61,35 +61,35 @@  discard block
 block discarded – undo
61 61
      *
62 62
      * @var array
63 63
      */
64
-    static public $schemaPropertyNames = [];
64
+    static public $schemaPropertyNames = [ ];
65 65
 
66 66
     /**
67 67
      * The Schema.org composed Property Expected Types
68 68
      *
69 69
      * @var array
70 70
      */
71
-    static public $schemaPropertyExpectedTypes = [];
71
+    static public $schemaPropertyExpectedTypes = [ ];
72 72
 
73 73
     /**
74 74
      * The Schema.org composed Property Descriptions
75 75
      *
76 76
      * @var array
77 77
      */
78
-    static public $schemaPropertyDescriptions = [];
78
+    static public $schemaPropertyDescriptions = [ ];
79 79
 
80 80
     /**
81 81
      * The Schema.org composed Google Required Schema for this type
82 82
      *
83 83
      * @var array
84 84
      */
85
-    static public $googleRequiredSchema = [];
85
+    static public $googleRequiredSchema = [ ];
86 86
 
87 87
     /**
88 88
      * The Schema.org composed Google Recommended Schema for this type
89 89
      *
90 90
      * @var array
91 91
      */
92
-    static public $googleRecommendedSchema = [];
92
+    static public $googleRecommendedSchema = [ ];
93 93
 
94 94
     // Public Properties
95 95
     // =========================================================================
@@ -138,9 +138,9 @@  discard block
 block discarded – undo
138 138
      * @var array
139 139
      */
140 140
     static protected $_schemaPropertyExpectedTypes = [
141
-        'interactionService' => ['SoftwareApplication','WebSite'],
142
-        'interactionType' => ['Action'],
143
-        'userInteractionCount' => ['Integer']
141
+        'interactionService' => [ 'SoftwareApplication', 'WebSite' ],
142
+        'interactionType' => [ 'Action' ],
143
+        'userInteractionCount' => [ 'Integer' ]
144 144
     ];
145 145
 
146 146
     /**
@@ -212,9 +212,9 @@  discard block
 block discarded – undo
212 212
     {
213 213
         $rules = parent::rules();
214 214
         $rules = array_merge($rules, [
215
-            [['interactionService','interactionType','userInteractionCount'], 'validateJsonSchema'],
216
-            [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
217
-            [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
215
+            [ [ 'interactionService', 'interactionType', 'userInteractionCount' ], 'validateJsonSchema' ],
216
+            [ self::$_googleRequiredSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is required by Google.' ],
217
+            [ self::$_googleRecommendedSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is recommended by Google.' ]
218 218
         ]);
219 219
 
220 220
         return $rules;
Please login to merge, or discard this 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/TouristAttraction.php 2 patches
Spacing   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -63,35 +63,35 @@  discard block
 block discarded – undo
63 63
      *
64 64
      * @var array
65 65
      */
66
-    static public $schemaPropertyNames = [];
66
+    static public $schemaPropertyNames = [ ];
67 67
 
68 68
     /**
69 69
      * The Schema.org composed Property Expected Types
70 70
      *
71 71
      * @var array
72 72
      */
73
-    static public $schemaPropertyExpectedTypes = [];
73
+    static public $schemaPropertyExpectedTypes = [ ];
74 74
 
75 75
     /**
76 76
      * The Schema.org composed Property Descriptions
77 77
      *
78 78
      * @var array
79 79
      */
80
-    static public $schemaPropertyDescriptions = [];
80
+    static public $schemaPropertyDescriptions = [ ];
81 81
 
82 82
     /**
83 83
      * The Schema.org composed Google Required Schema for this type
84 84
      *
85 85
      * @var array
86 86
      */
87
-    static public $googleRequiredSchema = [];
87
+    static public $googleRequiredSchema = [ ];
88 88
 
89 89
     /**
90 90
      * The Schema.org composed Google Recommended Schema for this type
91 91
      *
92 92
      * @var array
93 93
      */
94
-    static public $googleRecommendedSchema = [];
94
+    static public $googleRecommendedSchema = [ ];
95 95
 
96 96
     // Public Properties
97 97
     // =========================================================================
@@ -132,8 +132,8 @@  discard block
 block discarded – undo
132 132
      * @var array
133 133
      */
134 134
     static protected $_schemaPropertyExpectedTypes = [
135
-        'availableLanguage' => ['Language','Text'],
136
-        'touristType' => ['Audience','Text']
135
+        'availableLanguage' => [ 'Language', 'Text' ],
136
+        'touristType' => [ 'Audience', 'Text' ]
137 137
     ];
138 138
 
139 139
     /**
@@ -204,9 +204,9 @@  discard block
 block discarded – undo
204 204
     {
205 205
         $rules = parent::rules();
206 206
         $rules = array_merge($rules, [
207
-            [['availableLanguage','touristType'], 'validateJsonSchema'],
208
-            [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
209
-            [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
207
+            [ [ 'availableLanguage', 'touristType' ], 'validateJsonSchema' ],
208
+            [ self::$_googleRequiredSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is required by Google.' ],
209
+            [ self::$_googleRecommendedSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is recommended by Google.' ]
210 210
         ]);
211 211
 
212 212
         return $rules;
Please login to merge, or discard this 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/WatchAction.php 2 patches
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -59,35 +59,35 @@  discard block
 block discarded – undo
59 59
      *
60 60
      * @var array
61 61
      */
62
-    static public $schemaPropertyNames = [];
62
+    static public $schemaPropertyNames = [ ];
63 63
 
64 64
     /**
65 65
      * The Schema.org composed Property Expected Types
66 66
      *
67 67
      * @var array
68 68
      */
69
-    static public $schemaPropertyExpectedTypes = [];
69
+    static public $schemaPropertyExpectedTypes = [ ];
70 70
 
71 71
     /**
72 72
      * The Schema.org composed Property Descriptions
73 73
      *
74 74
      * @var array
75 75
      */
76
-    static public $schemaPropertyDescriptions = [];
76
+    static public $schemaPropertyDescriptions = [ ];
77 77
 
78 78
     /**
79 79
      * The Schema.org composed Google Required Schema for this type
80 80
      *
81 81
      * @var array
82 82
      */
83
-    static public $googleRequiredSchema = [];
83
+    static public $googleRequiredSchema = [ ];
84 84
 
85 85
     /**
86 86
      * The Schema.org composed Google Recommended Schema for this type
87 87
      *
88 88
      * @var array
89 89
      */
90
-    static public $googleRecommendedSchema = [];
90
+    static public $googleRecommendedSchema = [ ];
91 91
 
92 92
     // Public Properties
93 93
     // =========================================================================
@@ -118,7 +118,7 @@  discard block
 block discarded – undo
118 118
      * @var array
119 119
      */
120 120
     static protected $_schemaPropertyExpectedTypes = [
121
-        'expectsAcceptanceOf' => ['Offer']
121
+        'expectsAcceptanceOf' => [ 'Offer' ]
122 122
     ];
123 123
 
124 124
     /**
@@ -188,9 +188,9 @@  discard block
 block discarded – undo
188 188
     {
189 189
         $rules = parent::rules();
190 190
         $rules = array_merge($rules, [
191
-            [['expectsAcceptanceOf'], 'validateJsonSchema'],
192
-            [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
193
-            [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
191
+            [ [ 'expectsAcceptanceOf' ], 'validateJsonSchema' ],
192
+            [ self::$_googleRequiredSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is required by Google.' ],
193
+            [ self::$_googleRecommendedSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is recommended by Google.' ]
194 194
         ]);
195 195
 
196 196
         return $rules;
Please login to merge, or discard this 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/WPFooter.php 2 patches
Spacing   +90 added lines, -90 removed lines patch added patch discarded remove patch
@@ -59,35 +59,35 @@  discard block
 block discarded – undo
59 59
      *
60 60
      * @var array
61 61
      */
62
-    static public $schemaPropertyNames = [];
62
+    static public $schemaPropertyNames = [ ];
63 63
 
64 64
     /**
65 65
      * The Schema.org composed Property Expected Types
66 66
      *
67 67
      * @var array
68 68
      */
69
-    static public $schemaPropertyExpectedTypes = [];
69
+    static public $schemaPropertyExpectedTypes = [ ];
70 70
 
71 71
     /**
72 72
      * The Schema.org composed Property Descriptions
73 73
      *
74 74
      * @var array
75 75
      */
76
-    static public $schemaPropertyDescriptions = [];
76
+    static public $schemaPropertyDescriptions = [ ];
77 77
 
78 78
     /**
79 79
      * The Schema.org composed Google Required Schema for this type
80 80
      *
81 81
      * @var array
82 82
      */
83
-    static public $googleRequiredSchema = [];
83
+    static public $googleRequiredSchema = [ ];
84 84
 
85 85
     /**
86 86
      * The Schema.org composed Google Recommended Schema for this type
87 87
      *
88 88
      * @var array
89 89
      */
90
-    static public $googleRecommendedSchema = [];
90
+    static public $googleRecommendedSchema = [ ];
91 91
 
92 92
     // Public Properties
93 93
     // =========================================================================
@@ -868,88 +868,88 @@  discard block
 block discarded – undo
868 868
      * @var array
869 869
      */
870 870
     static protected $_schemaPropertyExpectedTypes = [
871
-        'about' => ['Thing'],
872
-        'accessMode' => ['Text'],
873
-        'accessModeSufficient' => ['Text'],
874
-        'accessibilityAPI' => ['Text'],
875
-        'accessibilityControl' => ['Text'],
876
-        'accessibilityFeature' => ['Text'],
877
-        'accessibilityHazard' => ['Text'],
878
-        'accessibilitySummary' => ['Text'],
879
-        'accountablePerson' => ['Person'],
880
-        'aggregateRating' => ['AggregateRating'],
881
-        'alternativeHeadline' => ['Text'],
882
-        'associatedMedia' => ['MediaObject'],
883
-        'audience' => ['Audience'],
884
-        'audio' => ['AudioObject'],
885
-        'author' => ['Organization','Person'],
886
-        'award' => ['Text'],
887
-        'character' => ['Person'],
888
-        'citation' => ['CreativeWork','Text'],
889
-        'comment' => ['Comment'],
890
-        'commentCount' => ['Integer'],
891
-        'contentLocation' => ['Place'],
892
-        'contentRating' => ['Text'],
893
-        'contentReferenceTime' => ['DateTime'],
894
-        'contributor' => ['Organization','Person'],
895
-        'copyrightHolder' => ['Organization','Person'],
896
-        'copyrightYear' => ['Number'],
897
-        'creator' => ['Organization','Person'],
898
-        'dateCreated' => ['Date','DateTime'],
899
-        'dateModified' => ['Date','DateTime'],
900
-        'datePublished' => ['Date'],
901
-        'discussionUrl' => ['URL'],
902
-        'editor' => ['Person'],
903
-        'educationalAlignment' => ['AlignmentObject'],
904
-        'educationalUse' => ['Text'],
905
-        'encoding' => ['MediaObject'],
906
-        'exampleOfWork' => ['CreativeWork'],
907
-        'expires' => ['Date'],
908
-        'fileFormat' => ['Text','URL'],
909
-        'funder' => ['Organization','Person'],
910
-        'genre' => ['Text','URL'],
911
-        'hasPart' => ['CreativeWork'],
912
-        'headline' => ['Text'],
913
-        'inLanguage' => ['Language','Text'],
914
-        'interactionStatistic' => ['InteractionCounter'],
915
-        'interactivityType' => ['Text'],
916
-        'isAccessibleForFree' => ['Boolean'],
917
-        'isBasedOn' => ['CreativeWork','Product','URL'],
918
-        'isFamilyFriendly' => ['Boolean'],
919
-        'isPartOf' => ['CreativeWork'],
920
-        'keywords' => ['Text'],
921
-        'learningResourceType' => ['Text'],
922
-        'license' => ['CreativeWork','URL'],
923
-        'locationCreated' => ['Place'],
924
-        'mainEntity' => ['Thing'],
925
-        'material' => ['Product','Text','URL'],
926
-        'mentions' => ['Thing'],
927
-        'offers' => ['Offer'],
928
-        'position' => ['Integer','Text'],
929
-        'producer' => ['Organization','Person'],
930
-        'provider' => ['Organization','Person'],
931
-        'publication' => ['PublicationEvent'],
932
-        'publisher' => ['Organization','Person'],
933
-        'publisherImprint' => ['Organization'],
934
-        'publishingPrinciples' => ['CreativeWork','URL'],
935
-        'recordedAt' => ['Event'],
936
-        'releasedEvent' => ['PublicationEvent'],
937
-        'review' => ['Review'],
938
-        'schemaVersion' => ['Text','URL'],
939
-        'sourceOrganization' => ['Organization'],
940
-        'spatialCoverage' => ['Place'],
941
-        'sponsor' => ['Organization','Person'],
942
-        'temporalCoverage' => ['DateTime','Text','URL'],
943
-        'text' => ['Text'],
944
-        'thumbnailUrl' => ['URL'],
945
-        'timeRequired' => ['Duration'],
946
-        'translationOfWork' => ['CreativeWork'],
947
-        'translator' => ['Organization','Person'],
948
-        'typicalAgeRange' => ['Text'],
949
-        'version' => ['Number','Text'],
950
-        'video' => ['VideoObject'],
951
-        'workExample' => ['CreativeWork'],
952
-        'workTranslation' => ['CreativeWork']
871
+        'about' => [ 'Thing' ],
872
+        'accessMode' => [ 'Text' ],
873
+        'accessModeSufficient' => [ 'Text' ],
874
+        'accessibilityAPI' => [ 'Text' ],
875
+        'accessibilityControl' => [ 'Text' ],
876
+        'accessibilityFeature' => [ 'Text' ],
877
+        'accessibilityHazard' => [ 'Text' ],
878
+        'accessibilitySummary' => [ 'Text' ],
879
+        'accountablePerson' => [ 'Person' ],
880
+        'aggregateRating' => [ 'AggregateRating' ],
881
+        'alternativeHeadline' => [ 'Text' ],
882
+        'associatedMedia' => [ 'MediaObject' ],
883
+        'audience' => [ 'Audience' ],
884
+        'audio' => [ 'AudioObject' ],
885
+        'author' => [ 'Organization', 'Person' ],
886
+        'award' => [ 'Text' ],
887
+        'character' => [ 'Person' ],
888
+        'citation' => [ 'CreativeWork', 'Text' ],
889
+        'comment' => [ 'Comment' ],
890
+        'commentCount' => [ 'Integer' ],
891
+        'contentLocation' => [ 'Place' ],
892
+        'contentRating' => [ 'Text' ],
893
+        'contentReferenceTime' => [ 'DateTime' ],
894
+        'contributor' => [ 'Organization', 'Person' ],
895
+        'copyrightHolder' => [ 'Organization', 'Person' ],
896
+        'copyrightYear' => [ 'Number' ],
897
+        'creator' => [ 'Organization', 'Person' ],
898
+        'dateCreated' => [ 'Date', 'DateTime' ],
899
+        'dateModified' => [ 'Date', 'DateTime' ],
900
+        'datePublished' => [ 'Date' ],
901
+        'discussionUrl' => [ 'URL' ],
902
+        'editor' => [ 'Person' ],
903
+        'educationalAlignment' => [ 'AlignmentObject' ],
904
+        'educationalUse' => [ 'Text' ],
905
+        'encoding' => [ 'MediaObject' ],
906
+        'exampleOfWork' => [ 'CreativeWork' ],
907
+        'expires' => [ 'Date' ],
908
+        'fileFormat' => [ 'Text', 'URL' ],
909
+        'funder' => [ 'Organization', 'Person' ],
910
+        'genre' => [ 'Text', 'URL' ],
911
+        'hasPart' => [ 'CreativeWork' ],
912
+        'headline' => [ 'Text' ],
913
+        'inLanguage' => [ 'Language', 'Text' ],
914
+        'interactionStatistic' => [ 'InteractionCounter' ],
915
+        'interactivityType' => [ 'Text' ],
916
+        'isAccessibleForFree' => [ 'Boolean' ],
917
+        'isBasedOn' => [ 'CreativeWork', 'Product', 'URL' ],
918
+        'isFamilyFriendly' => [ 'Boolean' ],
919
+        'isPartOf' => [ 'CreativeWork' ],
920
+        'keywords' => [ 'Text' ],
921
+        'learningResourceType' => [ 'Text' ],
922
+        'license' => [ 'CreativeWork', 'URL' ],
923
+        'locationCreated' => [ 'Place' ],
924
+        'mainEntity' => [ 'Thing' ],
925
+        'material' => [ 'Product', 'Text', 'URL' ],
926
+        'mentions' => [ 'Thing' ],
927
+        'offers' => [ 'Offer' ],
928
+        'position' => [ 'Integer', 'Text' ],
929
+        'producer' => [ 'Organization', 'Person' ],
930
+        'provider' => [ 'Organization', 'Person' ],
931
+        'publication' => [ 'PublicationEvent' ],
932
+        'publisher' => [ 'Organization', 'Person' ],
933
+        'publisherImprint' => [ 'Organization' ],
934
+        'publishingPrinciples' => [ 'CreativeWork', 'URL' ],
935
+        'recordedAt' => [ 'Event' ],
936
+        'releasedEvent' => [ 'PublicationEvent' ],
937
+        'review' => [ 'Review' ],
938
+        'schemaVersion' => [ 'Text', 'URL' ],
939
+        'sourceOrganization' => [ 'Organization' ],
940
+        'spatialCoverage' => [ 'Place' ],
941
+        'sponsor' => [ 'Organization', 'Person' ],
942
+        'temporalCoverage' => [ 'DateTime', 'Text', 'URL' ],
943
+        'text' => [ 'Text' ],
944
+        'thumbnailUrl' => [ 'URL' ],
945
+        'timeRequired' => [ 'Duration' ],
946
+        'translationOfWork' => [ 'CreativeWork' ],
947
+        'translator' => [ 'Organization', 'Person' ],
948
+        'typicalAgeRange' => [ 'Text' ],
949
+        'version' => [ 'Number', 'Text' ],
950
+        'video' => [ 'VideoObject' ],
951
+        'workExample' => [ 'CreativeWork' ],
952
+        'workTranslation' => [ 'CreativeWork' ]
953 953
     ];
954 954
 
955 955
     /**
@@ -1100,9 +1100,9 @@  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'],
1104
-            [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
1105
-            [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
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
+            [ self::$_googleRequiredSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is required by Google.' ],
1105
+            [ self::$_googleRecommendedSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is recommended by Google.' ]
1106 1106
         ]);
1107 1107
 
1108 1108
         return $rules;
Please login to merge, or discard this 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/TVSeason.php 2 patches
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -59,35 +59,35 @@  discard block
 block discarded – undo
59 59
      *
60 60
      * @var array
61 61
      */
62
-    static public $schemaPropertyNames = [];
62
+    static public $schemaPropertyNames = [ ];
63 63
 
64 64
     /**
65 65
      * The Schema.org composed Property Expected Types
66 66
      *
67 67
      * @var array
68 68
      */
69
-    static public $schemaPropertyExpectedTypes = [];
69
+    static public $schemaPropertyExpectedTypes = [ ];
70 70
 
71 71
     /**
72 72
      * The Schema.org composed Property Descriptions
73 73
      *
74 74
      * @var array
75 75
      */
76
-    static public $schemaPropertyDescriptions = [];
76
+    static public $schemaPropertyDescriptions = [ ];
77 77
 
78 78
     /**
79 79
      * The Schema.org composed Google Required Schema for this type
80 80
      *
81 81
      * @var array
82 82
      */
83
-    static public $googleRequiredSchema = [];
83
+    static public $googleRequiredSchema = [ ];
84 84
 
85 85
     /**
86 86
      * The Schema.org composed Google Recommended Schema for this type
87 87
      *
88 88
      * @var array
89 89
      */
90
-    static public $googleRecommendedSchema = [];
90
+    static public $googleRecommendedSchema = [ ];
91 91
 
92 92
     // Public Properties
93 93
     // =========================================================================
@@ -118,7 +118,7 @@  discard block
 block discarded – undo
118 118
      * @var array
119 119
      */
120 120
     static protected $_schemaPropertyExpectedTypes = [
121
-        'countryOfOrigin' => ['Country']
121
+        'countryOfOrigin' => [ 'Country' ]
122 122
     ];
123 123
 
124 124
     /**
@@ -188,9 +188,9 @@  discard block
 block discarded – undo
188 188
     {
189 189
         $rules = parent::rules();
190 190
         $rules = array_merge($rules, [
191
-            [['countryOfOrigin'], 'validateJsonSchema'],
192
-            [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
193
-            [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
191
+            [ [ 'countryOfOrigin' ], 'validateJsonSchema' ],
192
+            [ self::$_googleRequiredSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is required by Google.' ],
193
+            [ self::$_googleRecommendedSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is recommended by Google.' ]
194 194
         ]);
195 195
 
196 196
         return $rules;
Please login to merge, or discard this 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/Game.php 2 patches
Spacing   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -61,35 +61,35 @@  discard block
 block discarded – undo
61 61
      *
62 62
      * @var array
63 63
      */
64
-    static public $schemaPropertyNames = [];
64
+    static public $schemaPropertyNames = [ ];
65 65
 
66 66
     /**
67 67
      * The Schema.org composed Property Expected Types
68 68
      *
69 69
      * @var array
70 70
      */
71
-    static public $schemaPropertyExpectedTypes = [];
71
+    static public $schemaPropertyExpectedTypes = [ ];
72 72
 
73 73
     /**
74 74
      * The Schema.org composed Property Descriptions
75 75
      *
76 76
      * @var array
77 77
      */
78
-    static public $schemaPropertyDescriptions = [];
78
+    static public $schemaPropertyDescriptions = [ ];
79 79
 
80 80
     /**
81 81
      * The Schema.org composed Google Required Schema for this type
82 82
      *
83 83
      * @var array
84 84
      */
85
-    static public $googleRequiredSchema = [];
85
+    static public $googleRequiredSchema = [ ];
86 86
 
87 87
     /**
88 88
      * The Schema.org composed Google Recommended Schema for this type
89 89
      *
90 90
      * @var array
91 91
      */
92
-    static public $googleRecommendedSchema = [];
92
+    static public $googleRecommendedSchema = [ ];
93 93
 
94 94
     // Public Properties
95 95
     // =========================================================================
@@ -154,11 +154,11 @@  discard block
 block discarded – undo
154 154
      * @var array
155 155
      */
156 156
     static protected $_schemaPropertyExpectedTypes = [
157
-        'characterAttribute' => ['Thing'],
158
-        'gameItem' => ['Thing'],
159
-        'gameLocation' => ['Place','PostalAddress','URL'],
160
-        'numberOfPlayers' => ['QuantitativeValue'],
161
-        'quest' => ['Thing']
157
+        'characterAttribute' => [ 'Thing' ],
158
+        'gameItem' => [ 'Thing' ],
159
+        'gameLocation' => [ 'Place', 'PostalAddress', 'URL' ],
160
+        'numberOfPlayers' => [ 'QuantitativeValue' ],
161
+        'quest' => [ 'Thing' ]
162 162
     ];
163 163
 
164 164
     /**
@@ -232,9 +232,9 @@  discard block
 block discarded – undo
232 232
     {
233 233
         $rules = parent::rules();
234 234
         $rules = array_merge($rules, [
235
-            [['characterAttribute','gameItem','gameLocation','numberOfPlayers','quest'], 'validateJsonSchema'],
236
-            [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
237
-            [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
235
+            [ [ 'characterAttribute', 'gameItem', 'gameLocation', 'numberOfPlayers', 'quest' ], 'validateJsonSchema' ],
236
+            [ self::$_googleRequiredSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is required by Google.' ],
237
+            [ self::$_googleRecommendedSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is recommended by Google.' ]
238 238
         ]);
239 239
 
240 240
         return $rules;
Please login to merge, or discard this 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/AutomatedTeller.php 2 patches
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -59,35 +59,35 @@  discard block
 block discarded – undo
59 59
      *
60 60
      * @var array
61 61
      */
62
-    static public $schemaPropertyNames = [];
62
+    static public $schemaPropertyNames = [ ];
63 63
 
64 64
     /**
65 65
      * The Schema.org composed Property Expected Types
66 66
      *
67 67
      * @var array
68 68
      */
69
-    static public $schemaPropertyExpectedTypes = [];
69
+    static public $schemaPropertyExpectedTypes = [ ];
70 70
 
71 71
     /**
72 72
      * The Schema.org composed Property Descriptions
73 73
      *
74 74
      * @var array
75 75
      */
76
-    static public $schemaPropertyDescriptions = [];
76
+    static public $schemaPropertyDescriptions = [ ];
77 77
 
78 78
     /**
79 79
      * The Schema.org composed Google Required Schema for this type
80 80
      *
81 81
      * @var array
82 82
      */
83
-    static public $googleRequiredSchema = [];
83
+    static public $googleRequiredSchema = [ ];
84 84
 
85 85
     /**
86 86
      * The Schema.org composed Google Recommended Schema for this type
87 87
      *
88 88
      * @var array
89 89
      */
90
-    static public $googleRecommendedSchema = [];
90
+    static public $googleRecommendedSchema = [ ];
91 91
 
92 92
     // Public Properties
93 93
     // =========================================================================
@@ -118,7 +118,7 @@  discard block
 block discarded – undo
118 118
      * @var array
119 119
      */
120 120
     static protected $_schemaPropertyExpectedTypes = [
121
-        'feesAndCommissionsSpecification' => ['Text','URL']
121
+        'feesAndCommissionsSpecification' => [ 'Text', 'URL' ]
122 122
     ];
123 123
 
124 124
     /**
@@ -188,9 +188,9 @@  discard block
 block discarded – undo
188 188
     {
189 189
         $rules = parent::rules();
190 190
         $rules = array_merge($rules, [
191
-            [['feesAndCommissionsSpecification'], 'validateJsonSchema'],
192
-            [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
193
-            [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
191
+            [ [ 'feesAndCommissionsSpecification' ], 'validateJsonSchema' ],
192
+            [ self::$_googleRequiredSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is required by Google.' ],
193
+            [ self::$_googleRecommendedSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is recommended by Google.' ]
194 194
         ]);
195 195
 
196 196
         return $rules;
Please login to merge, or discard this 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.