Passed
Push — develop ( c9b720...76d95d )
by Andrew
20:28 queued 08:36
created
src/models/jsonld/LifestyleModification.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -173,7 +173,7 @@  discard block
 block discarded – undo
173 173
     static protected $_schemaPropertyExpectedTypes = [
174 174
         'code' => ['MedicalCode'],
175 175
         'guideline' => ['MedicalGuideline'],
176
-        'legalStatus' => ['DrugLegalStatus','MedicalEnumeration','Text'],
176
+        'legalStatus' => ['DrugLegalStatus', 'MedicalEnumeration', 'Text'],
177 177
         'medicineSystem' => ['MedicineSystem'],
178 178
         'recognizingAuthority' => ['Organization'],
179 179
         'relevantSpecialty' => ['MedicalSpecialty'],
@@ -253,7 +253,7 @@  discard block
 block discarded – undo
253 253
     {
254 254
         $rules = parent::rules();
255 255
         $rules = array_merge($rules, [
256
-            [['code','guideline','legalStatus','medicineSystem','recognizingAuthority','relevantSpecialty','study'], 'validateJsonSchema'],
256
+            [['code', 'guideline', 'legalStatus', 'medicineSystem', 'recognizingAuthority', 'relevantSpecialty', 'study'], 'validateJsonSchema'],
257 257
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
258 258
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
259 259
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/MedicalDevicePurpose.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/VitalSign.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -198,7 +198,7 @@
 block discarded – undo
198 198
     {
199 199
         $rules = parent::rules();
200 200
         $rules = array_merge($rules, [
201
-            [['identifyingExam','identifyingTest'], 'validateJsonSchema'],
201
+            [['identifyingExam', 'identifyingTest'], 'validateJsonSchema'],
202 202
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
203 203
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
204 204
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/Patient.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -209,7 +209,7 @@
 block discarded – undo
209 209
     {
210 210
         $rules = parent::rules();
211 211
         $rules = array_merge($rules, [
212
-            [['diagnosis','drug','healthCondition'], 'validateJsonSchema'],
212
+            [['diagnosis', 'drug', 'healthCondition'], '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/HowTo.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -182,14 +182,14 @@  discard block
 block discarded – undo
182 182
      * @var array
183 183
      */
184 184
     static protected $_schemaPropertyExpectedTypes = [
185
-        'estimatedCost' => ['MonetaryAmount','Text'],
185
+        'estimatedCost' => ['MonetaryAmount', 'Text'],
186 186
         'performTime' => ['Duration'],
187 187
         'prepTime' => ['Duration'],
188
-        'step' => ['CreativeWork','HowToSection','HowToStep','Text'],
189
-        'supply' => ['HowToSupply','Text'],
190
-        'tool' => ['HowToTool','Text'],
188
+        'step' => ['CreativeWork', 'HowToSection', 'HowToStep', 'Text'],
189
+        'supply' => ['HowToSupply', 'Text'],
190
+        'tool' => ['HowToTool', 'Text'],
191 191
         'totalTime' => ['Duration'],
192
-        'yield' => ['QuantitativeValue','Text']
192
+        'yield' => ['QuantitativeValue', 'Text']
193 193
     ];
194 194
 
195 195
     /**
@@ -266,7 +266,7 @@  discard block
 block discarded – undo
266 266
     {
267 267
         $rules = parent::rules();
268 268
         $rules = array_merge($rules, [
269
-            [['estimatedCost','performTime','prepTime','step','supply','tool','totalTime','yield'], 'validateJsonSchema'],
269
+            [['estimatedCost', 'performTime', 'prepTime', 'step', 'supply', 'tool', 'totalTime', 'yield'], '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/Language.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -229,13 +229,13 @@  discard block
 block discarded – undo
229 229
         'alternateName' => ['Text'],
230 230
         'description' => ['Text'],
231 231
         'disambiguatingDescription' => ['Text'],
232
-        'identifier' => ['PropertyValue','Text','URL'],
233
-        'image' => ['ImageObject','URL'],
234
-        'mainEntityOfPage' => ['CreativeWork','URL'],
232
+        'identifier' => ['PropertyValue', 'Text', 'URL'],
233
+        'image' => ['ImageObject', 'URL'],
234
+        'mainEntityOfPage' => ['CreativeWork', 'URL'],
235 235
         'name' => ['Text'],
236 236
         'potentialAction' => ['Action'],
237 237
         'sameAs' => ['URL'],
238
-        'subjectOf' => ['CreativeWork','Event'],
238
+        'subjectOf' => ['CreativeWork', 'Event'],
239 239
         'url' => ['URL']
240 240
     ];
241 241
 
@@ -317,7 +317,7 @@  discard block
 block discarded – undo
317 317
     {
318 318
         $rules = parent::rules();
319 319
         $rules = array_merge($rules, [
320
-            [['additionalType','alternateName','description','disambiguatingDescription','identifier','image','mainEntityOfPage','name','potentialAction','sameAs','subjectOf','url'], 'validateJsonSchema'],
320
+            [['additionalType', 'alternateName', 'description', 'disambiguatingDescription', 'identifier', 'image', 'mainEntityOfPage', 'name', 'potentialAction', 'sameAs', 'subjectOf', 'url'], 'validateJsonSchema'],
321 321
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
322 322
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
323 323
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/ScholarlyArticle.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -196,11 +196,11 @@  discard block
 block discarded – undo
196 196
     static protected $_schemaPropertyExpectedTypes = [
197 197
         'articleBody' => ['Text'],
198 198
         'articleSection' => ['Text'],
199
-        'backstory' => ['CreativeWork','Text'],
200
-        'pageEnd' => ['Integer','Text'],
201
-        'pageStart' => ['Integer','Text'],
199
+        'backstory' => ['CreativeWork', 'Text'],
200
+        'pageEnd' => ['Integer', 'Text'],
201
+        'pageStart' => ['Integer', 'Text'],
202 202
         'pagination' => ['Text'],
203
-        'speakable' => ['SpeakableSpecification','URL'],
203
+        'speakable' => ['SpeakableSpecification', 'URL'],
204 204
         'wordCount' => ['Integer']
205 205
     ];
206 206
 
@@ -278,7 +278,7 @@  discard block
 block discarded – undo
278 278
     {
279 279
         $rules = parent::rules();
280 280
         $rules = array_merge($rules, [
281
-            [['articleBody','articleSection','backstory','pageEnd','pageStart','pagination','speakable','wordCount'], 'validateJsonSchema'],
281
+            [['articleBody', 'articleSection', 'backstory', 'pageEnd', 'pageStart', 'pagination', 'speakable', 'wordCount'], 'validateJsonSchema'],
282 282
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
283 283
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
284 284
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/PhysicalActivityCategory.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/MedicalCode.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -197,7 +197,7 @@
 block discarded – undo
197 197
     {
198 198
         $rules = parent::rules();
199 199
         $rules = array_merge($rules, [
200
-            [['codeValue','codingSystem'], 'validateJsonSchema'],
200
+            [['codeValue', 'codingSystem'], 'validateJsonSchema'],
201 201
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
202 202
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
203 203
         ]);
Please login to merge, or discard this patch.