Passed
Pull Request — develop (#251)
by Timothy
05:37
created
src/models/jsonld/Order.php 2 patches
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.
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -280,10 +280,10 @@  discard block
 block discarded – undo
280 280
     static protected $_schemaPropertyExpectedTypes = [
281 281
         'acceptedOffer' => ['Offer'],
282 282
         'billingAddress' => ['PostalAddress'],
283
-        'broker' => ['Organization','Person'],
283
+        'broker' => ['Organization', 'Person'],
284 284
         'confirmationNumber' => ['Text'],
285
-        'customer' => ['Organization','Person'],
286
-        'discount' => ['Number','Text'],
285
+        'customer' => ['Organization', 'Person'],
286
+        'discount' => ['Number', 'Text'],
287 287
         'discountCode' => ['Text'],
288 288
         'discountCurrency' => ['Text'],
289 289
         'isGift' => ['Boolean'],
@@ -291,13 +291,13 @@  discard block
 block discarded – undo
291 291
         'orderDelivery' => ['ParcelDelivery'],
292 292
         'orderNumber' => ['Text'],
293 293
         'orderStatus' => ['OrderStatus'],
294
-        'orderedItem' => ['OrderItem','Product'],
294
+        'orderedItem' => ['OrderItem', 'Product'],
295 295
         'partOfInvoice' => ['Invoice'],
296 296
         'paymentDueDate' => ['DateTime'],
297 297
         'paymentMethod' => ['PaymentMethod'],
298 298
         'paymentMethodId' => ['Text'],
299 299
         'paymentUrl' => ['URL'],
300
-        'seller' => ['Organization','Person']
300
+        'seller' => ['Organization', 'Person']
301 301
     ];
302 302
 
303 303
     /**
@@ -386,7 +386,7 @@  discard block
 block discarded – undo
386 386
     {
387 387
         $rules = parent::rules();
388 388
         $rules = array_merge($rules, [
389
-            [['acceptedOffer','billingAddress','broker','confirmationNumber','customer','discount','discountCode','discountCurrency','isGift','orderDate','orderDelivery','orderNumber','orderStatus','orderedItem','partOfInvoice','paymentDueDate','paymentMethod','paymentMethodId','paymentUrl','seller'], 'validateJsonSchema'],
389
+            [['acceptedOffer', 'billingAddress', 'broker', 'confirmationNumber', 'customer', 'discount', 'discountCode', 'discountCurrency', 'isGift', 'orderDate', 'orderDelivery', 'orderNumber', 'orderStatus', 'orderedItem', 'partOfInvoice', 'paymentDueDate', 'paymentMethod', 'paymentMethodId', 'paymentUrl', 'seller'], 'validateJsonSchema'],
390 390
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
391 391
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
392 392
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/DiscoverAction.php 2 patches
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.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -218,13 +218,13 @@  discard block
 block discarded – undo
218 218
      */
219 219
     static protected $_schemaPropertyExpectedTypes = [
220 220
         'actionStatus' => ['ActionStatusType'],
221
-        'agent' => ['Organization','Person'],
221
+        'agent' => ['Organization', 'Person'],
222 222
         'endTime' => ['DateTime'],
223 223
         'error' => ['Thing'],
224 224
         'instrument' => ['Thing'],
225
-        'location' => ['Place','PostalAddress','Text'],
225
+        'location' => ['Place', 'PostalAddress', 'Text'],
226 226
         'object' => ['Thing'],
227
-        'participant' => ['Organization','Person'],
227
+        'participant' => ['Organization', 'Person'],
228 228
         'result' => ['Thing'],
229 229
         'startTime' => ['DateTime'],
230 230
         'target' => ['EntryPoint']
@@ -307,7 +307,7 @@  discard block
 block discarded – undo
307 307
     {
308 308
         $rules = parent::rules();
309 309
         $rules = array_merge($rules, [
310
-            [['actionStatus','agent','endTime','error','instrument','location','object','participant','result','startTime','target'], 'validateJsonSchema'],
310
+            [['actionStatus', 'agent', 'endTime', 'error', 'instrument', 'location', 'object', 'participant', 'result', 'startTime', 'target'], 'validateJsonSchema'],
311 311
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
312 312
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
313 313
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/ChildCare.php 2 patches
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.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -226,7 +226,7 @@
 block discarded – undo
226 226
     {
227 227
         $rules = parent::rules();
228 228
         $rules = array_merge($rules, [
229
-            [['currenciesAccepted','openingHours','paymentAccepted','priceRange'], 'validateJsonSchema'],
229
+            [['currenciesAccepted', 'openingHours', 'paymentAccepted', 'priceRange'], 'validateJsonSchema'],
230 230
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
231 231
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
232 232
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/ProgramMembership.php 2 patches
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.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -147,7 +147,7 @@  discard block
 block discarded – undo
147 147
      */
148 148
     static protected $_schemaPropertyExpectedTypes = [
149 149
         'hostingOrganization' => ['Organization'],
150
-        'member' => ['Organization','Person'],
150
+        'member' => ['Organization', 'Person'],
151 151
         'membershipNumber' => ['Text'],
152 152
         'programName' => ['Text']
153 153
     ];
@@ -222,7 +222,7 @@  discard block
 block discarded – undo
222 222
     {
223 223
         $rules = parent::rules();
224 224
         $rules = array_merge($rules, [
225
-            [['hostingOrganization','member','membershipNumber','programName'], 'validateJsonSchema'],
225
+            [['hostingOrganization', 'member', 'membershipNumber', 'programName'], 'validateJsonSchema'],
226 226
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
227 227
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
228 228
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/MusicGroup.php 2 patches
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.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -136,8 +136,8 @@  discard block
 block discarded – undo
136 136
      */
137 137
     static protected $_schemaPropertyExpectedTypes = [
138 138
         'album' => ['MusicAlbum'],
139
-        'genre' => ['Text','URL'],
140
-        'track' => ['ItemList','MusicRecording']
139
+        'genre' => ['Text', 'URL'],
140
+        'track' => ['ItemList', 'MusicRecording']
141 141
     ];
142 142
 
143 143
     /**
@@ -209,7 +209,7 @@  discard block
 block discarded – undo
209 209
     {
210 210
         $rules = parent::rules();
211 211
         $rules = array_merge($rules, [
212
-            [['album','genre','track'], 'validateJsonSchema'],
212
+            [['album', 'genre', 'track'], '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/DeleteAction.php 1 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/BookSeries.php 2 patches
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.
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.
src/models/jsonld/AuthorizeAction.php 2 patches
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.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -119,7 +119,7 @@
 block discarded – undo
119 119
      * @var array
120 120
      */
121 121
     static protected $_schemaPropertyExpectedTypes = [
122
-        'recipient' => ['Audience','ContactPoint','Organization','Person']
122
+        'recipient' => ['Audience', 'ContactPoint', 'Organization', 'Person']
123 123
     ];
124 124
 
125 125
     /**
Please login to merge, or discard this patch.
src/models/jsonld/Quantity.php 2 patches
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.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -217,9 +217,9 @@  discard block
 block discarded – undo
217 217
         'alternateName' => ['Text'],
218 218
         'description' => ['Text'],
219 219
         'disambiguatingDescription' => ['Text'],
220
-        'identifier' => ['PropertyValue','Text','URL'],
221
-        'image' => ['ImageObject','URL'],
222
-        'mainEntityOfPage' => ['CreativeWork','URL'],
220
+        'identifier' => ['PropertyValue', 'Text', 'URL'],
221
+        'image' => ['ImageObject', 'URL'],
222
+        'mainEntityOfPage' => ['CreativeWork', 'URL'],
223 223
         'name' => ['Text'],
224 224
         'potentialAction' => ['Action'],
225 225
         'sameAs' => ['URL'],
@@ -303,7 +303,7 @@  discard block
 block discarded – undo
303 303
     {
304 304
         $rules = parent::rules();
305 305
         $rules = array_merge($rules, [
306
-            [['additionalType','alternateName','description','disambiguatingDescription','identifier','image','mainEntityOfPage','name','potentialAction','sameAs','url'], 'validateJsonSchema'],
306
+            [['additionalType', 'alternateName', 'description', 'disambiguatingDescription', 'identifier', 'image', 'mainEntityOfPage', 'name', 'potentialAction', 'sameAs', 'url'], 'validateJsonSchema'],
307 307
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
308 308
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
309 309
         ]);
Please login to merge, or discard this patch.