Passed
Push — develop ( c9b720...76d95d )
by Andrew
20:28 queued 08:36
created
src/models/jsonld/Clip.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -189,10 +189,10 @@  discard block
 block discarded – undo
189 189
      */
190 190
     static protected $_schemaPropertyExpectedTypes = [
191 191
         'actor' => ['Person'],
192
-        'clipNumber' => ['Integer','Text'],
192
+        'clipNumber' => ['Integer', 'Text'],
193 193
         'director' => ['Person'],
194 194
         'endOffset' => ['Number'],
195
-        'musicBy' => ['MusicGroup','Person'],
195
+        'musicBy' => ['MusicGroup', 'Person'],
196 196
         'partOfEpisode' => ['Episode'],
197 197
         'partOfSeason' => ['CreativeWorkSeason'],
198 198
         'partOfSeries' => ['CreativeWorkSeries'],
@@ -274,7 +274,7 @@  discard block
 block discarded – undo
274 274
     {
275 275
         $rules = parent::rules();
276 276
         $rules = array_merge($rules, [
277
-            [['actor','clipNumber','director','endOffset','musicBy','partOfEpisode','partOfSeason','partOfSeries','startOffset'], 'validateJsonSchema'],
277
+            [['actor', 'clipNumber', 'director', 'endOffset', 'musicBy', 'partOfEpisode', 'partOfSeason', 'partOfSeries', 'startOffset'], '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/ImageObject.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -142,8 +142,8 @@  discard block
 block discarded – undo
142 142
      * @var array
143 143
      */
144 144
     static protected $_schemaPropertyExpectedTypes = [
145
-        'caption' => ['MediaObject','Text'],
146
-        'exifData' => ['PropertyValue','Text'],
145
+        'caption' => ['MediaObject', 'Text'],
146
+        'exifData' => ['PropertyValue', 'Text'],
147 147
         'representativeOfPage' => ['Boolean'],
148 148
         'thumbnail' => ['ImageObject']
149 149
     ];
@@ -218,7 +218,7 @@  discard block
 block discarded – undo
218 218
     {
219 219
         $rules = parent::rules();
220 220
         $rules = array_merge($rules, [
221
-            [['caption','exifData','representativeOfPage','thumbnail'], 'validateJsonSchema'],
221
+            [['caption', 'exifData', 'representativeOfPage', 'thumbnail'], 'validateJsonSchema'],
222 222
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
223 223
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
224 224
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/ReportedDoseSchedule.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -144,7 +144,7 @@  discard block
 block discarded – undo
144 144
      */
145 145
     static protected $_schemaPropertyExpectedTypes = [
146 146
         'doseUnit' => ['Text'],
147
-        'doseValue' => ['Number','QualitativeValue'],
147
+        'doseValue' => ['Number', 'QualitativeValue'],
148 148
         'frequency' => ['Text'],
149 149
         'targetPopulation' => ['Text']
150 150
     ];
@@ -219,7 +219,7 @@  discard block
 block discarded – undo
219 219
     {
220 220
         $rules = parent::rules();
221 221
         $rules = array_merge($rules, [
222
-            [['doseUnit','doseValue','frequency','targetPopulation'], 'validateJsonSchema'],
222
+            [['doseUnit', 'doseValue', 'frequency', 'targetPopulation'], 'validateJsonSchema'],
223 223
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
224 224
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
225 225
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/InfectiousAgentClass.php 1 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/HowToDirection.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -182,13 +182,13 @@  discard block
 block discarded – undo
182 182
      * @var array
183 183
      */
184 184
     static protected $_schemaPropertyExpectedTypes = [
185
-        'afterMedia' => ['MediaObject','URL'],
186
-        'beforeMedia' => ['MediaObject','URL'],
187
-        'duringMedia' => ['MediaObject','URL'],
185
+        'afterMedia' => ['MediaObject', 'URL'],
186
+        'beforeMedia' => ['MediaObject', 'URL'],
187
+        'duringMedia' => ['MediaObject', 'URL'],
188 188
         'performTime' => ['Duration'],
189 189
         'prepTime' => ['Duration'],
190
-        'supply' => ['HowToSupply','Text'],
191
-        'tool' => ['HowToTool','Text'],
190
+        'supply' => ['HowToSupply', 'Text'],
191
+        'tool' => ['HowToTool', 'Text'],
192 192
         'totalTime' => ['Duration']
193 193
     ];
194 194
 
@@ -266,7 +266,7 @@  discard block
 block discarded – undo
266 266
     {
267 267
         $rules = parent::rules();
268 268
         $rules = array_merge($rules, [
269
-            [['afterMedia','beforeMedia','duringMedia','performTime','prepTime','supply','tool','totalTime'], 'validateJsonSchema'],
269
+            [['afterMedia', 'beforeMedia', 'duringMedia', 'performTime', 'prepTime', 'supply', 'tool', 'totalTime'], 'validateJsonSchema'],
270 270
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
271 271
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
272 272
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/Vein.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -136,7 +136,7 @@  discard block
 block discarded – undo
136 136
      */
137 137
     static protected $_schemaPropertyExpectedTypes = [
138 138
         'drainsTo' => ['Vessel'],
139
-        'regionDrained' => ['AnatomicalStructure','AnatomicalSystem'],
139
+        'regionDrained' => ['AnatomicalStructure', 'AnatomicalSystem'],
140 140
         'tributary' => ['AnatomicalStructure']
141 141
     ];
142 142
 
@@ -209,7 +209,7 @@  discard block
 block discarded – undo
209 209
     {
210 210
         $rules = parent::rules();
211 211
         $rules = array_merge($rules, [
212
-            [['drainsTo','regionDrained','tributary'], 'validateJsonSchema'],
212
+            [['drainsTo', 'regionDrained', 'tributary'], 'validateJsonSchema'],
213 213
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
214 214
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
215 215
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/SuperficialAnatomy.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -172,7 +172,7 @@  discard block
 block discarded – undo
172 172
      */
173 173
     static protected $_schemaPropertyExpectedTypes = [
174 174
         'associatedPathophysiology' => ['Text'],
175
-        'relatedAnatomy' => ['AnatomicalStructure','AnatomicalSystem'],
175
+        'relatedAnatomy' => ['AnatomicalStructure', 'AnatomicalSystem'],
176 176
         'relatedCondition' => ['MedicalCondition'],
177 177
         'relatedTherapy' => ['MedicalTherapy'],
178 178
         'significance' => ['Text']
@@ -249,7 +249,7 @@  discard block
 block discarded – undo
249 249
     {
250 250
         $rules = parent::rules();
251 251
         $rules = array_merge($rules, [
252
-            [['associatedPathophysiology','relatedAnatomy','relatedCondition','relatedTherapy','significance'], 'validateJsonSchema'],
252
+            [['associatedPathophysiology', 'relatedAnatomy', 'relatedCondition', 'relatedTherapy', 'significance'], 'validateJsonSchema'],
253 253
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
254 254
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
255 255
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/MedicalWebPage.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -203,14 +203,14 @@  discard block
 block discarded – undo
203 203
      * @var array
204 204
      */
205 205
     static protected $_schemaPropertyExpectedTypes = [
206
-        'breadcrumb' => ['BreadcrumbList','Text'],
206
+        'breadcrumb' => ['BreadcrumbList', 'Text'],
207 207
         'lastReviewed' => ['Date'],
208 208
         'mainContentOfPage' => ['WebPageElement'],
209 209
         'primaryImageOfPage' => ['ImageObject'],
210 210
         'relatedLink' => ['URL'],
211
-        'reviewedBy' => ['Organization','Person'],
211
+        'reviewedBy' => ['Organization', 'Person'],
212 212
         'significantLink' => ['URL'],
213
-        'speakable' => ['SpeakableSpecification','URL'],
213
+        'speakable' => ['SpeakableSpecification', 'URL'],
214 214
         'specialty' => ['Specialty']
215 215
     ];
216 216
 
@@ -289,7 +289,7 @@  discard block
 block discarded – undo
289 289
     {
290 290
         $rules = parent::rules();
291 291
         $rules = array_merge($rules, [
292
-            [['breadcrumb','lastReviewed','mainContentOfPage','primaryImageOfPage','relatedLink','reviewedBy','significantLink','speakable','specialty'], 'validateJsonSchema'],
292
+            [['breadcrumb', 'lastReviewed', 'mainContentOfPage', 'primaryImageOfPage', 'relatedLink', 'reviewedBy', 'significantLink', 'speakable', 'specialty'], 'validateJsonSchema'],
293 293
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
294 294
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
295 295
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/BusTrip.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -141,10 +141,10 @@  discard block
 block discarded – undo
141 141
      * @var array
142 142
      */
143 143
     static protected $_schemaPropertyExpectedTypes = [
144
-        'arrivalBusStop' => ['BusStation','BusStop'],
144
+        'arrivalBusStop' => ['BusStation', 'BusStop'],
145 145
         'busName' => ['Text'],
146 146
         'busNumber' => ['Text'],
147
-        'departureBusStop' => ['BusStation','BusStop']
147
+        'departureBusStop' => ['BusStation', 'BusStop']
148 148
     ];
149 149
 
150 150
     /**
@@ -217,7 +217,7 @@  discard block
 block discarded – undo
217 217
     {
218 218
         $rules = parent::rules();
219 219
         $rules = array_merge($rules, [
220
-            [['arrivalBusStop','busName','busNumber','departureBusStop'], 'validateJsonSchema'],
220
+            [['arrivalBusStop', 'busName', 'busNumber', 'departureBusStop'], 'validateJsonSchema'],
221 221
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
222 222
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
223 223
         ]);
Please login to merge, or discard this patch.