Passed
Branch v3 (ce9cae)
by Andrew
08:41
created
src/models/jsonld/RadioStation.php 2 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -188,8 +188,8 @@  discard block
 block discarded – undo
188 188
     // =========================================================================
189 189
 
190 190
     /**
191
-    * @inheritdoc
192
-    */
191
+     * @inheritdoc
192
+     */
193 193
     public function init()
194 194
     {
195 195
         parent::init();
@@ -220,8 +220,8 @@  discard block
 block discarded – undo
220 220
     }
221 221
 
222 222
     /**
223
-    * @inheritdoc
224
-    */
223
+     * @inheritdoc
224
+     */
225 225
     public function rules()
226 226
     {
227 227
         $rules = parent::rules();
Please login to merge, or discard this patch.
Spacing   +12 added lines, -12 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
     // =========================================================================
@@ -150,10 +150,10 @@  discard block
 block discarded – undo
150 150
      * @var array
151 151
      */
152 152
     static protected $_schemaPropertyExpectedTypes = [
153
-        'currenciesAccepted' => ['Text'],
154
-        'openingHours' => ['Text'],
155
-        'paymentAccepted' => ['Text'],
156
-        'priceRange' => ['Text']
153
+        'currenciesAccepted' => [ 'Text' ],
154
+        'openingHours' => [ 'Text' ],
155
+        'paymentAccepted' => [ 'Text' ],
156
+        'priceRange' => [ 'Text' ]
157 157
     ];
158 158
 
159 159
     /**
@@ -226,9 +226,9 @@  discard block
 block discarded – undo
226 226
     {
227 227
         $rules = parent::rules();
228 228
         $rules = array_merge($rules, [
229
-            [['currenciesAccepted','openingHours','paymentAccepted','priceRange'], 'validateJsonSchema'],
230
-            [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
231
-            [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
229
+            [ [ 'currenciesAccepted', 'openingHours', 'paymentAccepted', 'priceRange' ], 'validateJsonSchema' ],
230
+            [ self::$_googleRequiredSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is required by Google.' ],
231
+            [ self::$_googleRecommendedSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is recommended by Google.' ]
232 232
         ]);
233 233
 
234 234
         return $rules;
Please login to merge, or discard this patch.
src/models/jsonld/Place.php 2 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -523,8 +523,8 @@  discard block
 block discarded – undo
523 523
     // =========================================================================
524 524
 
525 525
     /**
526
-    * @inheritdoc
527
-    */
526
+     * @inheritdoc
527
+     */
528 528
     public function init()
529 529
     {
530 530
         parent::init();
@@ -555,8 +555,8 @@  discard block
 block discarded – undo
555 555
     }
556 556
 
557 557
     /**
558
-    * @inheritdoc
559
-    */
558
+     * @inheritdoc
559
+     */
560 560
     public function rules()
561 561
     {
562 562
         $rules = parent::rules();
Please login to merge, or discard this patch.
Spacing   +41 added lines, -41 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
     // =========================================================================
@@ -427,39 +427,39 @@  discard block
 block discarded – undo
427 427
      * @var array
428 428
      */
429 429
     static protected $_schemaPropertyExpectedTypes = [
430
-        'additionalProperty' => ['PropertyValue'],
431
-        'address' => ['PostalAddress','Text'],
432
-        'aggregateRating' => ['AggregateRating'],
433
-        'amenityFeature' => ['LocationFeatureSpecification'],
434
-        'branchCode' => ['Text'],
435
-        'containedInPlace' => ['Place'],
436
-        'containsPlace' => ['Place'],
437
-        'event' => ['Event'],
438
-        'faxNumber' => ['Text'],
439
-        'geo' => ['GeoCoordinates','GeoShape'],
440
-        'geospatiallyContains' => ['GeospatialGeometry','Place'],
441
-        'geospatiallyCoveredBy' => ['GeospatialGeometry','Place'],
442
-        'geospatiallyCovers' => ['GeospatialGeometry','Place'],
443
-        'geospatiallyCrosses' => ['GeospatialGeometry','Place'],
444
-        'geospatiallyDisjoint' => ['GeospatialGeometry','Place'],
445
-        'geospatiallyEquals' => ['GeospatialGeometry','Place'],
446
-        'geospatiallyIntersects' => ['GeospatialGeometry','Place'],
447
-        'geospatiallyOverlaps' => ['GeospatialGeometry','Place'],
448
-        'geospatiallyTouches' => ['GeospatialGeometry','Place'],
449
-        'geospatiallyWithin' => ['GeospatialGeometry','Place'],
450
-        'globalLocationNumber' => ['Text'],
451
-        'hasMap' => ['Map','URL'],
452
-        'isAccessibleForFree' => ['Boolean'],
453
-        'isicV4' => ['Text'],
454
-        'logo' => ['ImageObject','URL'],
455
-        'maximumAttendeeCapacity' => ['Integer'],
456
-        'openingHoursSpecification' => ['OpeningHoursSpecification'],
457
-        'photo' => ['ImageObject','Photograph'],
458
-        'publicAccess' => ['Boolean'],
459
-        'review' => ['Review'],
460
-        'smokingAllowed' => ['Boolean'],
461
-        'specialOpeningHoursSpecification' => ['OpeningHoursSpecification'],
462
-        'telephone' => ['Text']
430
+        'additionalProperty' => [ 'PropertyValue' ],
431
+        'address' => [ 'PostalAddress', 'Text' ],
432
+        'aggregateRating' => [ 'AggregateRating' ],
433
+        'amenityFeature' => [ 'LocationFeatureSpecification' ],
434
+        'branchCode' => [ 'Text' ],
435
+        'containedInPlace' => [ 'Place' ],
436
+        'containsPlace' => [ 'Place' ],
437
+        'event' => [ 'Event' ],
438
+        'faxNumber' => [ 'Text' ],
439
+        'geo' => [ 'GeoCoordinates', 'GeoShape' ],
440
+        'geospatiallyContains' => [ 'GeospatialGeometry', 'Place' ],
441
+        'geospatiallyCoveredBy' => [ 'GeospatialGeometry', 'Place' ],
442
+        'geospatiallyCovers' => [ 'GeospatialGeometry', 'Place' ],
443
+        'geospatiallyCrosses' => [ 'GeospatialGeometry', 'Place' ],
444
+        'geospatiallyDisjoint' => [ 'GeospatialGeometry', 'Place' ],
445
+        'geospatiallyEquals' => [ 'GeospatialGeometry', 'Place' ],
446
+        'geospatiallyIntersects' => [ 'GeospatialGeometry', 'Place' ],
447
+        'geospatiallyOverlaps' => [ 'GeospatialGeometry', 'Place' ],
448
+        'geospatiallyTouches' => [ 'GeospatialGeometry', 'Place' ],
449
+        'geospatiallyWithin' => [ 'GeospatialGeometry', 'Place' ],
450
+        'globalLocationNumber' => [ 'Text' ],
451
+        'hasMap' => [ 'Map', 'URL' ],
452
+        'isAccessibleForFree' => [ 'Boolean' ],
453
+        'isicV4' => [ 'Text' ],
454
+        'logo' => [ 'ImageObject', 'URL' ],
455
+        'maximumAttendeeCapacity' => [ 'Integer' ],
456
+        'openingHoursSpecification' => [ 'OpeningHoursSpecification' ],
457
+        'photo' => [ 'ImageObject', 'Photograph' ],
458
+        'publicAccess' => [ 'Boolean' ],
459
+        'review' => [ 'Review' ],
460
+        'smokingAllowed' => [ 'Boolean' ],
461
+        'specialOpeningHoursSpecification' => [ 'OpeningHoursSpecification' ],
462
+        'telephone' => [ 'Text' ]
463 463
     ];
464 464
 
465 465
     /**
@@ -561,9 +561,9 @@  discard block
 block discarded – undo
561 561
     {
562 562
         $rules = parent::rules();
563 563
         $rules = array_merge($rules, [
564
-            [['additionalProperty','address','aggregateRating','amenityFeature','branchCode','containedInPlace','containsPlace','event','faxNumber','geo','geospatiallyContains','geospatiallyCoveredBy','geospatiallyCovers','geospatiallyCrosses','geospatiallyDisjoint','geospatiallyEquals','geospatiallyIntersects','geospatiallyOverlaps','geospatiallyTouches','geospatiallyWithin','globalLocationNumber','hasMap','isAccessibleForFree','isicV4','logo','maximumAttendeeCapacity','openingHoursSpecification','photo','publicAccess','review','smokingAllowed','specialOpeningHoursSpecification','telephone'], 'validateJsonSchema'],
565
-            [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
566
-            [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
564
+            [ [ 'additionalProperty', 'address', 'aggregateRating', 'amenityFeature', 'branchCode', 'containedInPlace', 'containsPlace', 'event', 'faxNumber', 'geo', 'geospatiallyContains', 'geospatiallyCoveredBy', 'geospatiallyCovers', 'geospatiallyCrosses', 'geospatiallyDisjoint', 'geospatiallyEquals', 'geospatiallyIntersects', 'geospatiallyOverlaps', 'geospatiallyTouches', 'geospatiallyWithin', 'globalLocationNumber', 'hasMap', 'isAccessibleForFree', 'isicV4', 'logo', 'maximumAttendeeCapacity', 'openingHoursSpecification', 'photo', 'publicAccess', 'review', 'smokingAllowed', 'specialOpeningHoursSpecification', 'telephone' ], 'validateJsonSchema' ],
565
+            [ self::$_googleRequiredSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is required by Google.' ],
566
+            [ self::$_googleRecommendedSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is recommended by Google.' ]
567 567
         ]);
568 568
 
569 569
         return $rules;
Please login to merge, or discard this patch.
src/models/jsonld/Article.php 2 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -236,8 +236,8 @@  discard block
 block discarded – undo
236 236
     // =========================================================================
237 237
 
238 238
     /**
239
-    * @inheritdoc
240
-    */
239
+     * @inheritdoc
240
+     */
241 241
     public function init()
242 242
     {
243 243
         parent::init();
@@ -268,8 +268,8 @@  discard block
 block discarded – undo
268 268
     }
269 269
 
270 270
     /**
271
-    * @inheritdoc
272
-    */
271
+     * @inheritdoc
272
+     */
273 273
     public function rules()
274 274
     {
275 275
         $rules = parent::rules();
Please login to merge, or discard this patch.
Spacing   +15 added lines, -15 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
     // =========================================================================
@@ -185,13 +185,13 @@  discard block
 block discarded – undo
185 185
      * @var array
186 186
      */
187 187
     static protected $_schemaPropertyExpectedTypes = [
188
-        'articleBody' => ['Text'],
189
-        'articleSection' => ['Text'],
190
-        'pageEnd' => ['Integer','Text'],
191
-        'pageStart' => ['Integer','Text'],
192
-        'pagination' => ['Text'],
193
-        'speakable' => ['SpeakableSpecification','URL'],
194
-        'wordCount' => ['Integer']
188
+        'articleBody' => [ 'Text' ],
189
+        'articleSection' => [ 'Text' ],
190
+        'pageEnd' => [ 'Integer', 'Text' ],
191
+        'pageStart' => [ 'Integer', 'Text' ],
192
+        'pagination' => [ 'Text' ],
193
+        'speakable' => [ 'SpeakableSpecification', 'URL' ],
194
+        'wordCount' => [ 'Integer' ]
195 195
     ];
196 196
 
197 197
     /**
@@ -274,9 +274,9 @@  discard block
 block discarded – undo
274 274
     {
275 275
         $rules = parent::rules();
276 276
         $rules = array_merge($rules, [
277
-            [['articleBody','articleSection','pageEnd','pageStart','pagination','speakable','wordCount'], '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
+            [ [ 'articleBody', 'articleSection', 'pageEnd', 'pageStart', 'pagination', 'speakable', 'wordCount' ], '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.
src/models/jsonld/EducationalAudience.php 2 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -149,8 +149,8 @@  discard block
 block discarded – undo
149 149
     // =========================================================================
150 150
 
151 151
     /**
152
-    * @inheritdoc
153
-    */
152
+     * @inheritdoc
153
+     */
154 154
     public function init()
155 155
     {
156 156
         parent::init();
@@ -181,8 +181,8 @@  discard block
 block discarded – undo
181 181
     }
182 182
 
183 183
     /**
184
-    * @inheritdoc
185
-    */
184
+     * @inheritdoc
185
+     */
186 186
     public function rules()
187 187
     {
188 188
         $rules = parent::rules();
Please login to merge, or discard this patch.
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
     // =========================================================================
@@ -117,7 +117,7 @@  discard block
 block discarded – undo
117 117
      * @var array
118 118
      */
119 119
     static protected $_schemaPropertyExpectedTypes = [
120
-        'educationalRole' => ['Text']
120
+        'educationalRole' => [ 'Text' ]
121 121
     ];
122 122
 
123 123
     /**
@@ -187,9 +187,9 @@  discard block
 block discarded – undo
187 187
     {
188 188
         $rules = parent::rules();
189 189
         $rules = array_merge($rules, [
190
-            [['educationalRole'], 'validateJsonSchema'],
191
-            [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
192
-            [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
190
+            [ [ 'educationalRole' ], 'validateJsonSchema' ],
191
+            [ self::$_googleRequiredSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is required by Google.' ],
192
+            [ self::$_googleRecommendedSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is recommended by Google.' ]
193 193
         ]);
194 194
 
195 195
         return $rules;
Please login to merge, or discard this patch.
src/models/jsonld/HomeGoodsStore.php 2 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -188,8 +188,8 @@  discard block
 block discarded – undo
188 188
     // =========================================================================
189 189
 
190 190
     /**
191
-    * @inheritdoc
192
-    */
191
+     * @inheritdoc
192
+     */
193 193
     public function init()
194 194
     {
195 195
         parent::init();
@@ -220,8 +220,8 @@  discard block
 block discarded – undo
220 220
     }
221 221
 
222 222
     /**
223
-    * @inheritdoc
224
-    */
223
+     * @inheritdoc
224
+     */
225 225
     public function rules()
226 226
     {
227 227
         $rules = parent::rules();
Please login to merge, or discard this patch.
Spacing   +12 added lines, -12 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
     // =========================================================================
@@ -150,10 +150,10 @@  discard block
 block discarded – undo
150 150
      * @var array
151 151
      */
152 152
     static protected $_schemaPropertyExpectedTypes = [
153
-        'currenciesAccepted' => ['Text'],
154
-        'openingHours' => ['Text'],
155
-        'paymentAccepted' => ['Text'],
156
-        'priceRange' => ['Text']
153
+        'currenciesAccepted' => [ 'Text' ],
154
+        'openingHours' => [ 'Text' ],
155
+        'paymentAccepted' => [ 'Text' ],
156
+        'priceRange' => [ 'Text' ]
157 157
     ];
158 158
 
159 159
     /**
@@ -226,9 +226,9 @@  discard block
 block discarded – undo
226 226
     {
227 227
         $rules = parent::rules();
228 228
         $rules = array_merge($rules, [
229
-            [['currenciesAccepted','openingHours','paymentAccepted','priceRange'], 'validateJsonSchema'],
230
-            [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
231
-            [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
229
+            [ [ 'currenciesAccepted', 'openingHours', 'paymentAccepted', 'priceRange' ], 'validateJsonSchema' ],
230
+            [ self::$_googleRequiredSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is required by Google.' ],
231
+            [ self::$_googleRecommendedSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is recommended by Google.' ]
232 232
         ]);
233 233
 
234 234
         return $rules;
Please login to merge, or discard this patch.
src/models/jsonld/ResumeAction.php 2 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -266,8 +266,8 @@  discard block
 block discarded – undo
266 266
     // =========================================================================
267 267
 
268 268
     /**
269
-    * @inheritdoc
270
-    */
269
+     * @inheritdoc
270
+     */
271 271
     public function init()
272 272
     {
273 273
         parent::init();
@@ -298,8 +298,8 @@  discard block
 block discarded – undo
298 298
     }
299 299
 
300 300
     /**
301
-    * @inheritdoc
302
-    */
301
+     * @inheritdoc
302
+     */
303 303
     public function rules()
304 304
     {
305 305
         $rules = parent::rules();
Please login to merge, or discard this patch.
Spacing   +19 added lines, -19 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
     // =========================================================================
@@ -214,17 +214,17 @@  discard block
 block discarded – undo
214 214
      * @var array
215 215
      */
216 216
     static protected $_schemaPropertyExpectedTypes = [
217
-        'actionStatus' => ['ActionStatusType'],
218
-        'agent' => ['Organization','Person'],
219
-        'endTime' => ['DateTime'],
220
-        'error' => ['Thing'],
221
-        'instrument' => ['Thing'],
222
-        'location' => ['Place','PostalAddress','Text'],
223
-        'object' => ['Thing'],
224
-        'participant' => ['Organization','Person'],
225
-        'result' => ['Thing'],
226
-        'startTime' => ['DateTime'],
227
-        'target' => ['EntryPoint']
217
+        'actionStatus' => [ 'ActionStatusType' ],
218
+        'agent' => [ 'Organization', 'Person' ],
219
+        'endTime' => [ 'DateTime' ],
220
+        'error' => [ 'Thing' ],
221
+        'instrument' => [ 'Thing' ],
222
+        'location' => [ 'Place', 'PostalAddress', 'Text' ],
223
+        'object' => [ 'Thing' ],
224
+        'participant' => [ 'Organization', 'Person' ],
225
+        'result' => [ 'Thing' ],
226
+        'startTime' => [ 'DateTime' ],
227
+        'target' => [ 'EntryPoint' ]
228 228
     ];
229 229
 
230 230
     /**
@@ -304,9 +304,9 @@  discard block
 block discarded – undo
304 304
     {
305 305
         $rules = parent::rules();
306 306
         $rules = array_merge($rules, [
307
-            [['actionStatus','agent','endTime','error','instrument','location','object','participant','result','startTime','target'], 'validateJsonSchema'],
308
-            [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
309
-            [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
307
+            [ [ 'actionStatus', 'agent', 'endTime', 'error', 'instrument', 'location', 'object', 'participant', 'result', 'startTime', 'target' ], 'validateJsonSchema' ],
308
+            [ self::$_googleRequiredSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is required by Google.' ],
309
+            [ self::$_googleRecommendedSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is recommended by Google.' ]
310 310
         ]);
311 311
 
312 312
         return $rules;
Please login to merge, or discard this patch.
src/models/jsonld/TransferAction.php 2 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -162,8 +162,8 @@  discard block
 block discarded – undo
162 162
     // =========================================================================
163 163
 
164 164
     /**
165
-    * @inheritdoc
166
-    */
165
+     * @inheritdoc
166
+     */
167 167
     public function init()
168 168
     {
169 169
         parent::init();
@@ -194,8 +194,8 @@  discard block
 block discarded – undo
194 194
     }
195 195
 
196 196
     /**
197
-    * @inheritdoc
198
-    */
197
+     * @inheritdoc
198
+     */
199 199
     public function rules()
200 200
     {
201 201
         $rules = parent::rules();
Please login to merge, or discard this patch.
Spacing   +10 added lines, -10 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
     // =========================================================================
@@ -128,8 +128,8 @@  discard block
 block discarded – undo
128 128
      * @var array
129 129
      */
130 130
     static protected $_schemaPropertyExpectedTypes = [
131
-        'fromLocation' => ['Place'],
132
-        'toLocation' => ['Place']
131
+        'fromLocation' => [ 'Place' ],
132
+        'toLocation' => [ 'Place' ]
133 133
     ];
134 134
 
135 135
     /**
@@ -200,9 +200,9 @@  discard block
 block discarded – undo
200 200
     {
201 201
         $rules = parent::rules();
202 202
         $rules = array_merge($rules, [
203
-            [['fromLocation','toLocation'], 'validateJsonSchema'],
204
-            [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
205
-            [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
203
+            [ [ 'fromLocation', 'toLocation' ], 'validateJsonSchema' ],
204
+            [ self::$_googleRequiredSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is required by Google.' ],
205
+            [ self::$_googleRecommendedSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is recommended by Google.' ]
206 206
         ]);
207 207
 
208 208
         return $rules;
Please login to merge, or discard this patch.
src/models/jsonld/CancelAction.php 2 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -151,8 +151,8 @@  discard block
 block discarded – undo
151 151
     // =========================================================================
152 152
 
153 153
     /**
154
-    * @inheritdoc
155
-    */
154
+     * @inheritdoc
155
+     */
156 156
     public function init()
157 157
     {
158 158
         parent::init();
@@ -183,8 +183,8 @@  discard block
 block discarded – undo
183 183
     }
184 184
 
185 185
     /**
186
-    * @inheritdoc
187
-    */
186
+     * @inheritdoc
187
+     */
188 188
     public function rules()
189 189
     {
190 190
         $rules = parent::rules();
Please login to merge, or discard this patch.
Spacing   +9 added lines, -9 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
     // =========================================================================
@@ -119,7 +119,7 @@  discard block
 block discarded – undo
119 119
      * @var array
120 120
      */
121 121
     static protected $_schemaPropertyExpectedTypes = [
122
-        'scheduledTime' => ['DateTime']
122
+        'scheduledTime' => [ 'DateTime' ]
123 123
     ];
124 124
 
125 125
     /**
@@ -189,9 +189,9 @@  discard block
 block discarded – undo
189 189
     {
190 190
         $rules = parent::rules();
191 191
         $rules = array_merge($rules, [
192
-            [['scheduledTime'], 'validateJsonSchema'],
193
-            [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
194
-            [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
192
+            [ [ 'scheduledTime' ], 'validateJsonSchema' ],
193
+            [ self::$_googleRequiredSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is required by Google.' ],
194
+            [ self::$_googleRecommendedSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is recommended by Google.' ]
195 195
         ]);
196 196
 
197 197
         return $rules;
Please login to merge, or discard this patch.
src/models/jsonld/JobPosting.php 2 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -352,8 +352,8 @@  discard block
 block discarded – undo
352 352
     // =========================================================================
353 353
 
354 354
     /**
355
-    * @inheritdoc
356
-    */
355
+     * @inheritdoc
356
+     */
357 357
     public function init()
358 358
     {
359 359
         parent::init();
@@ -384,8 +384,8 @@  discard block
 block discarded – undo
384 384
     }
385 385
 
386 386
     /**
387
-    * @inheritdoc
388
-    */
387
+     * @inheritdoc
388
+     */
389 389
     public function rules()
390 390
     {
391 391
         $rules = parent::rules();
Please login to merge, or discard this patch.
Spacing   +28 added lines, -28 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
     // =========================================================================
@@ -282,26 +282,26 @@  discard block
 block discarded – undo
282 282
      * @var array
283 283
      */
284 284
     static protected $_schemaPropertyExpectedTypes = [
285
-        'baseSalary' => ['MonetaryAmount','Number','PriceSpecification'],
286
-        'datePosted' => ['Date'],
287
-        'educationRequirements' => ['Text'],
288
-        'employmentType' => ['Text'],
289
-        'estimatedSalary' => ['MonetaryAmount','Number','PriceSpecification'],
290
-        'experienceRequirements' => ['Text'],
291
-        'hiringOrganization' => ['Organization'],
292
-        'incentiveCompensation' => ['Text'],
293
-        'industry' => ['Text'],
294
-        'jobBenefits' => ['Text'],
295
-        'jobLocation' => ['Place'],
296
-        'occupationalCategory' => ['Text'],
297
-        'qualifications' => ['Text'],
298
-        'responsibilities' => ['Text'],
299
-        'salaryCurrency' => ['Text'],
300
-        'skills' => ['Text'],
301
-        'specialCommitments' => ['Text'],
302
-        'title' => ['Text'],
303
-        'validThrough' => ['DateTime'],
304
-        'workHours' => ['Text']
285
+        'baseSalary' => [ 'MonetaryAmount', 'Number', 'PriceSpecification' ],
286
+        'datePosted' => [ 'Date' ],
287
+        'educationRequirements' => [ 'Text' ],
288
+        'employmentType' => [ 'Text' ],
289
+        'estimatedSalary' => [ 'MonetaryAmount', 'Number', 'PriceSpecification' ],
290
+        'experienceRequirements' => [ 'Text' ],
291
+        'hiringOrganization' => [ 'Organization' ],
292
+        'incentiveCompensation' => [ 'Text' ],
293
+        'industry' => [ 'Text' ],
294
+        'jobBenefits' => [ 'Text' ],
295
+        'jobLocation' => [ 'Place' ],
296
+        'occupationalCategory' => [ 'Text' ],
297
+        'qualifications' => [ 'Text' ],
298
+        'responsibilities' => [ 'Text' ],
299
+        'salaryCurrency' => [ 'Text' ],
300
+        'skills' => [ 'Text' ],
301
+        'specialCommitments' => [ 'Text' ],
302
+        'title' => [ 'Text' ],
303
+        'validThrough' => [ 'DateTime' ],
304
+        'workHours' => [ 'Text' ]
305 305
     ];
306 306
 
307 307
     /**
@@ -390,9 +390,9 @@  discard block
 block discarded – undo
390 390
     {
391 391
         $rules = parent::rules();
392 392
         $rules = array_merge($rules, [
393
-            [['baseSalary','datePosted','educationRequirements','employmentType','estimatedSalary','experienceRequirements','hiringOrganization','incentiveCompensation','industry','jobBenefits','jobLocation','occupationalCategory','qualifications','responsibilities','salaryCurrency','skills','specialCommitments','title','validThrough','workHours'], 'validateJsonSchema'],
394
-            [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
395
-            [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
393
+            [ [ 'baseSalary', 'datePosted', 'educationRequirements', 'employmentType', 'estimatedSalary', 'experienceRequirements', 'hiringOrganization', 'incentiveCompensation', 'industry', 'jobBenefits', 'jobLocation', 'occupationalCategory', 'qualifications', 'responsibilities', 'salaryCurrency', 'skills', 'specialCommitments', 'title', 'validThrough', 'workHours' ], 'validateJsonSchema' ],
394
+            [ self::$_googleRequiredSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is required by Google.' ],
395
+            [ self::$_googleRecommendedSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is recommended by Google.' ]
396 396
         ]);
397 397
 
398 398
         return $rules;
Please login to merge, or discard this patch.