Passed
Push — develop ( 3723f7...e54371 )
by Andrew
14:17
created
src/models/jsonld/DataCatalog.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -139,7 +139,7 @@  discard block
 block discarded – undo
139 139
      */
140 140
     static protected $_schemaPropertyExpectedTypes = [
141 141
         'dataset' => ['Dataset'],
142
-        'measurementTechnique' => ['Text','URL']
142
+        'measurementTechnique' => ['Text', 'URL']
143 143
     ];
144 144
 
145 145
     /**
@@ -210,7 +210,7 @@  discard block
 block discarded – undo
210 210
     {
211 211
         $rules = parent::rules();
212 212
         $rules = array_merge($rules, [
213
-            [['dataset','measurementTechnique'], 'validateJsonSchema'],
213
+            [['dataset', 'measurementTechnique'], 'validateJsonSchema'],
214 214
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
215 215
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
216 216
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/PublicationIssue.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -144,9 +144,9 @@  discard block
 block discarded – undo
144 144
      * @var array
145 145
      */
146 146
     static protected $_schemaPropertyExpectedTypes = [
147
-        'issueNumber' => ['Integer','Text'],
148
-        'pageEnd' => ['Integer','Text'],
149
-        'pageStart' => ['Integer','Text'],
147
+        'issueNumber' => ['Integer', 'Text'],
148
+        'pageEnd' => ['Integer', 'Text'],
149
+        'pageStart' => ['Integer', 'Text'],
150 150
         'pagination' => ['Text']
151 151
     ];
152 152
 
@@ -220,7 +220,7 @@  discard block
 block discarded – undo
220 220
     {
221 221
         $rules = parent::rules();
222 222
         $rules = array_merge($rules, [
223
-            [['issueNumber','pageEnd','pageStart','pagination'], 'validateJsonSchema'],
223
+            [['issueNumber', 'pageEnd', 'pageStart', 'pagination'], 'validateJsonSchema'],
224 224
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
225 225
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
226 226
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/EndorseAction.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -118,7 +118,7 @@
 block discarded – undo
118 118
      * @var array
119 119
      */
120 120
     static protected $_schemaPropertyExpectedTypes = [
121
-        'endorsee' => ['Organization','Person']
121
+        'endorsee' => ['Organization', 'Person']
122 122
     ];
123 123
 
124 124
     /**
Please login to merge, or discard this patch.
src/models/jsonld/Blog.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -199,7 +199,7 @@
 block discarded – undo
199 199
     {
200 200
         $rules = parent::rules();
201 201
         $rules = array_merge($rules, [
202
-            [['blogPost','issn'], 'validateJsonSchema'],
202
+            [['blogPost', 'issn'], 'validateJsonSchema'],
203 203
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
204 204
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
205 205
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/PaymentCard.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -137,7 +137,7 @@  discard block
 block discarded – undo
137 137
      * @var array
138 138
      */
139 139
     static protected $_schemaPropertyExpectedTypes = [
140
-        'cashBack' => ['Boolean','Number'],
140
+        'cashBack' => ['Boolean', 'Number'],
141 141
         'contactlessPayment' => ['Boolean'],
142 142
         'floorLimit' => ['MonetaryAmount']
143 143
     ];
@@ -211,7 +211,7 @@  discard block
 block discarded – undo
211 211
     {
212 212
         $rules = parent::rules();
213 213
         $rules = array_merge($rules, [
214
-            [['cashBack','contactlessPayment','floorLimit'], 'validateJsonSchema'],
214
+            [['cashBack', 'contactlessPayment', 'floorLimit'], 'validateJsonSchema'],
215 215
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
216 216
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
217 217
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/ReplaceAction.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
-            [['replacee','replacer'], 'validateJsonSchema'],
201
+            [['replacee', 'replacer'], '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/SportsOrganization.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -118,7 +118,7 @@
 block discarded – undo
118 118
      * @var array
119 119
      */
120 120
     static protected $_schemaPropertyExpectedTypes = [
121
-        'sport' => ['Text','URL']
121
+        'sport' => ['Text', 'URL']
122 122
     ];
123 123
 
124 124
     /**
Please login to merge, or discard this patch.
src/models/jsonld/DeliveryChargeSpecification.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -150,9 +150,9 @@  discard block
 block discarded – undo
150 150
      */
151 151
     static protected $_schemaPropertyExpectedTypes = [
152 152
         'appliesToDeliveryMethod' => ['DeliveryMethod'],
153
-        'areaServed' => ['AdministrativeArea','GeoShape','Place','Text'],
154
-        'eligibleRegion' => ['GeoShape','Place','Text'],
155
-        'ineligibleRegion' => ['GeoShape','Place','Text']
153
+        'areaServed' => ['AdministrativeArea', 'GeoShape', 'Place', 'Text'],
154
+        'eligibleRegion' => ['GeoShape', 'Place', 'Text'],
155
+        'ineligibleRegion' => ['GeoShape', 'Place', 'Text']
156 156
     ];
157 157
 
158 158
     /**
@@ -225,7 +225,7 @@  discard block
 block discarded – undo
225 225
     {
226 226
         $rules = parent::rules();
227 227
         $rules = array_merge($rules, [
228
-            [['appliesToDeliveryMethod','areaServed','eligibleRegion','ineligibleRegion'], 'validateJsonSchema'],
228
+            [['appliesToDeliveryMethod', 'areaServed', 'eligibleRegion', 'ineligibleRegion'], 'validateJsonSchema'],
229 229
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
230 230
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
231 231
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/Periodical.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -138,9 +138,9 @@  discard block
 block discarded – undo
138 138
      * @var array
139 139
      */
140 140
     static protected $_schemaPropertyExpectedTypes = [
141
-        'endDate' => ['Date','DateTime'],
141
+        'endDate' => ['Date', 'DateTime'],
142 142
         'issn' => ['Text'],
143
-        'startDate' => ['Date','DateTime']
143
+        'startDate' => ['Date', 'DateTime']
144 144
     ];
145 145
 
146 146
     /**
@@ -212,7 +212,7 @@  discard block
 block discarded – undo
212 212
     {
213 213
         $rules = parent::rules();
214 214
         $rules = array_merge($rules, [
215
-            [['endDate','issn','startDate'], 'validateJsonSchema'],
215
+            [['endDate', 'issn', 'startDate'], 'validateJsonSchema'],
216 216
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
217 217
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
218 218
         ]);
Please login to merge, or discard this patch.