Repository navigation
Expand file tree
/
Copy pathphpcs-baseline.json
More file actions
820 lines (820 loc) · 46 KB
/
Copy pathphpcs-baseline.json
File metadata and controls
820 lines (820 loc) · 46 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
{
"version": 1,
"totals": {
"errors": 1130,
"warnings": 540
},
"files": {
"encrypt-secrets.php": {
"ERROR|Squiz.Commenting.FileComment.Missing": 1
},
"inc/admin-pages/class-top-admin-nav-menu.php": {
"WARNING|WordPress.WP.Capabilities.Unknown": 1
},
"inc/admin-pages/class-webhook-list-admin-page.php": {
"ERROR|Squiz.Scope.MethodScope.Missing": 1,
"WARNING|Squiz.PHP.CommentedOutCode.Found": 1
},
"inc/checkout/class-legacy-checkout.php": {
"ERROR|Generic.CodeAnalysis.EmptyStatement.DetectedIf": 1,
"WARNING|Squiz.PHP.CommentedOutCode.Found": 6,
"WARNING|Universal.NamingConventions.NoReservedKeywordParameterNames.dieFound": 1,
"WARNING|Universal.Operators.StrictComparisons.LooseEqual": 1,
"WARNING|Universal.Operators.StrictComparisons.LooseNotEqual": 1
},
"inc/checkout/signup-fields/class-signup-field-discount-code.php": {
"ERROR|Squiz.Commenting.BlockComment.NoEmptyLineBefore": 1
},
"inc/class-license.php": {
"ERROR|Squiz.Commenting.FileComment.Missing": 1
},
"inc/compat/class-anspress-compat.php": {
"ERROR|Squiz.Commenting.BlockComment.HasEmptyLineBefore": 2,
"WARNING|Squiz.PHP.CommentedOutCode.Found": 2,
"WARNING|Universal.NamingConventions.NoReservedKeywordParameterNames.classFound": 1
},
"inc/compat/class-legacy-shortcodes.php": {
"WARNING|Generic.CodeAnalysis.UnusedFunctionParameter.FoundAfterLastUsed": 2
},
"inc/contracts/Session.php": {
"ERROR|WordPress.Files.FileName.NotHyphenatedLowercase": 1
},
"inc/database/customers/class-customer-query.php": {
"WARNING|Generic.CodeAnalysis.UselessOverridingMethod.Found": 1,
"WARNING|Squiz.PHP.CommentedOutCode.Found": 1
},
"inc/database/customers/class-customers-meta-table.php": {
"WARNING|Generic.CodeAnalysis.UselessOverridingMethod.Found": 1
},
"inc/database/domains/class-domain-query.php": {
"WARNING|Generic.CodeAnalysis.UselessOverridingMethod.Found": 1
},
"inc/database/engine/class-enum.php": {
"ERROR|Generic.NamingConventions.UpperCaseConstantName.ClassConstantNotUpperCase": 1
},
"inc/database/sites/class-site-query.php": {
"WARNING|WordPress.DB.SlowDBQuery.slow_db_query_meta_query": 1
},
"inc/deprecated/deprecated.php": {
"ERROR|Generic.Files.OneObjectStructurePerFile.MultipleFound": 20,
"ERROR|WordPress.Files.FileName.InvalidClassFileName": 1,
"WARNING|Generic.CodeAnalysis.UnusedFunctionParameter.Found": 3,
"WARNING|Generic.CodeAnalysis.UnusedFunctionParameter.FoundAfterLastUsed": 18,
"WARNING|Universal.NamingConventions.NoReservedKeywordParameterNames.arrayFound": 1,
"WARNING|Universal.NamingConventions.NoReservedKeywordParameterNames.defaultFound": 1
},
"inc/deprecated/early-deprecated.php": {
"ERROR|WordPress.Files.FileName.InvalidClassFileName": 1
},
"inc/deprecated/mercator.php": {
"ERROR|WordPress.Files.FileName.InvalidClassFileName": 1
},
"inc/development/bootstrap.php": {
"WARNING|Squiz.PHP.NonExecutableCode.Unreachable": 7
},
"inc/documentation/generate-berlindb-hooks.php": {
"ERROR|PHPCompatibility.Extensions.RemovedExtensions.mysql_DeprecatedRemoved": 1,
"ERROR|Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace": 1,
"ERROR|WordPress.DB.RestrictedFunctions.mysql_mysql_type_to_phpdoc": 1,
"ERROR|WordPress.PHP.YodaConditions.NotYoda": 1,
"ERROR|WordPress.Security.EscapeOutput.HeredocOutputNotEscaped": 30,
"ERROR|WordPress.Security.EscapeOutput.OutputNotEscaped": 2,
"WARNING|Squiz.PHP.CommentedOutCode.Found": 2,
"WARNING|WordPress.WP.AlternativeFunctions.file_get_contents_file_get_contents": 2,
"WARNING|WordPress.WP.AlternativeFunctions.file_system_operations_file_put_contents": 1,
"WARNING|WordPress.WP.AlternativeFunctions.file_system_operations_fwrite": 7
},
"inc/domain-mapping/class-helper.php": {
"ERROR|PSR2.Classes.PropertyDeclaration.ScopeMissing": 1,
"ERROR|Squiz.Commenting.FunctionCommentThrowTag.Missing": 1,
"WARNING|WordPress.PHP.NoSilencedErrors.Discouraged": 1
},
"inc/duplication/functions.php": {
"ERROR|Squiz.Commenting.FileComment.Missing": 1,
"ERROR|WordPress.Files.FileName.InvalidClassFileName": 1,
"ERROR|WordPress.NamingConventions.ValidFunctionName.MethodNameInvalid": 1,
"WARNING|Generic.CodeAnalysis.UnusedFunctionParameter.Found": 1,
"WARNING|Universal.NamingConventions.NoReservedKeywordParameterNames.arrayFound": 1,
"WARNING|Universal.Operators.StrictComparisons.LooseEqual": 4,
"WARNING|Universal.Operators.StrictComparisons.LooseNotEqual": 1
},
"inc/duplication/log.php": {
"ERROR|Generic.Strings.UnnecessaryStringConcat.Found": 1,
"ERROR|Squiz.Commenting.FileComment.Missing": 1,
"ERROR|Squiz.Commenting.VariableComment.MissingVar": 2,
"ERROR|Squiz.PHP.DisallowMultipleAssignments.FoundInControlStructure": 1,
"ERROR|WordPress.Files.FileName.InvalidClassFileName": 1,
"WARNING|Generic.CodeAnalysis.AssignmentInCondition.Found": 1,
"WARNING|WordPress.PHP.NoSilencedErrors.Discouraged": 3
},
"inc/duplication/option.php": {
"ERROR|Squiz.Commenting.FileComment.Missing": 1,
"ERROR|WordPress.Files.FileName.InvalidClassFileName": 1,
"WARNING|WordPress.PHP.StrictInArray.MissingTrueStrict": 1
},
"inc/functions/array-helpers.php": {
"WARNING|Universal.NamingConventions.NoReservedKeywordParameterNames.arrayFound": 6,
"WARNING|Universal.NamingConventions.NoReservedKeywordParameterNames.callableFound": 1,
"WARNING|Universal.Operators.StrictComparisons.LooseNotEqual": 1
},
"inc/functions/compatiblity.php": {
"WARNING|WordPress.WP.DeprecatedFunctions.current_user_can_for_blogFound": 1
},
"inc/functions/exporter.php": {
"WARNING|WordPress.DB.DirectDatabaseQuery.DirectQuery": 1
},
"inc/functions/markup-helpers.php": {
"WARNING|Squiz.PHP.CommentedOutCode.Found": 1
},
"inc/gateways/class-manual-gateway.php": {
"ERROR|Generic.CodeAnalysis.EmptyStatement.DetectedElseif": 1,
"ERROR|Generic.CodeAnalysis.EmptyStatement.DetectedIf": 1,
"ERROR|Squiz.Commenting.FunctionCommentThrowTag.Missing": 1
},
"inc/helpers/class-arr.php": {
"ERROR|Squiz.PHP.DisallowSizeFunctionsInLoops.Found": 1
},
"inc/helpers/validation-rules/class-exists.php": {
"ERROR|WordPress.PHP.YodaConditions.NotYoda": 4
},
"inc/helpers/validation-rules/class-price-variations.php": {
"WARNING|Universal.Operators.StrictComparisons.LooseEqual": 1
},
"inc/helpers/validation-rules/class-unique-customer-email.php": {
"WARNING|WordPress.DB.DirectDatabaseQuery.DirectQuery": 1,
"WARNING|WordPress.DB.DirectDatabaseQuery.NoCaching": 1
},
"inc/installers/class-migrator.php": {
"WARNING|PSR2.Methods.MethodDeclaration.Underscore": 15,
"WARNING|Squiz.PHP.CommentedOutCode.Found": 1
},
"inc/integrations/providers/laravel-forge/class-laravel-forge-domain-mapping.php": {
"ERROR|WordPress.Files.FileName.InvalidClassFileName": 1
},
"inc/interfaces/interface-singleton.php": {
"ERROR|Squiz.Commenting.FileComment.Missing": 1
},
"inc/list-tables/class-base-list-table.php": {
"ERROR|WordPress.PHP.YodaConditions.NotYoda": 1
},
"inc/list-tables/class-membership-list-table-widget.php": {
"ERROR|WordPress.PHP.YodaConditions.NotYoda": 1
},
"inc/list-tables/class-payment-list-table-widget.php": {
"ERROR|WordPress.PHP.YodaConditions.NotYoda": 1
},
"inc/models/class-base-model.php": {
"WARNING|PSR2.Classes.PropertyDeclaration.Underscore": 3,
"WARNING|PSR2.Methods.MethodDeclaration.Underscore": 1,
"WARNING|Squiz.PHP.CommentedOutCode.Found": 2
},
"inc/site-exporter/class-network-exporter.php": {
"WARNING|Generic.CodeAnalysis.AssignmentInCondition.FoundInWhileCondition": 1,
"WARNING|Generic.CodeAnalysis.UnusedFunctionParameter.FoundAfterLastUsed": 1,
"WARNING|WordPress.DB.DirectDatabaseQuery.DirectQuery": 10,
"WARNING|WordPress.DB.DirectDatabaseQuery.NoCaching": 10,
"WARNING|WordPress.DB.PreparedSQLPlaceholders.UnfinishedPrepare": 2,
"WARNING|WordPress.WP.AlternativeFunctions.file_get_contents_file_get_contents": 1,
"WARNING|WordPress.WP.AlternativeFunctions.file_system_operations_fclose": 1,
"WARNING|WordPress.WP.AlternativeFunctions.file_system_operations_file_put_contents": 2,
"WARNING|WordPress.WP.AlternativeFunctions.file_system_operations_fopen": 1,
"WARNING|WordPress.WP.AlternativeFunctions.file_system_operations_mkdir": 5,
"WARNING|WordPress.WP.AlternativeFunctions.file_system_operations_rmdir": 1,
"WARNING|WordPress.WP.AlternativeFunctions.unlink_unlink": 2
},
"inc/site-exporter/class-self-boot-builder.php": {
"WARNING|WordPress.WP.AlternativeFunctions.file_get_contents_file_get_contents": 2,
"WARNING|WordPress.WP.AlternativeFunctions.file_system_operations_file_put_contents": 2,
"WARNING|WordPress.WP.AlternativeFunctions.file_system_operations_mkdir": 2
},
"inc/stuff.php": {
"ERROR|Squiz.Commenting.FileComment.Missing": 1
},
"mu-plugins/email-smtp-dev/email-smtp-dev.php": {
"ERROR|Squiz.Commenting.FileComment.WrongStyle": 1,
"ERROR|Squiz.Commenting.FunctionComment.WrongStyle": 1,
"ERROR|WordPress.NamingConventions.ValidFunctionName.FunctionNameInvalid": 1,
"ERROR|WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase": 9,
"WARNING|WordPress.PHP.DevelopmentFunctions.error_log_error_log": 1
},
"mu-plugins/email-smtp-test/email-smtp-test.php": {
"ERROR|Squiz.Commenting.FileComment.WrongStyle": 1,
"ERROR|Squiz.Commenting.FunctionComment.WrongStyle": 1,
"ERROR|WordPress.NamingConventions.ValidFunctionName.FunctionNameInvalid": 1,
"ERROR|WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase": 9,
"WARNING|WordPress.PHP.DevelopmentFunctions.error_log_error_log": 1
},
"rector.php": {
"ERROR|Squiz.Commenting.FileComment.Missing": 1
},
"scripts/remove-mpdf-fonts.php": {
"ERROR|Squiz.Commenting.FileComment.Missing": 1,
"ERROR|WordPress.NamingConventions.ValidVariableName.VariableNotSnakeCase": 3,
"ERROR|WordPress.Security.EscapeOutput.OutputNotEscaped": 2,
"WARNING|WordPress.WP.AlternativeFunctions.unlink_unlink": 1
},
"sunrise.php": {
"ERROR|Squiz.Commenting.FileComment.WrongStyle": 1
},
"tests/Admin_Pages/Base_Admin_Page_Test.php": {
"ERROR|Generic.Commenting.DocComment.ShortNotCapital": 62,
"ERROR|Generic.Files.OneObjectStructurePerFile.MultipleFound": 3
},
"tests/Admin_Pages/Checkout_Form_Edit_Admin_Page_Test.php": {
"ERROR|Generic.Commenting.DocComment.ShortNotCapital": 65,
"ERROR|Squiz.Commenting.VariableComment.MissingVar": 2
},
"tests/Admin_Pages/Dashboard_Admin_Page_Test.php": {
"ERROR|Generic.Commenting.DocComment.ShortNotCapital": 54,
"WARNING|Generic.CodeAnalysis.UnusedFunctionParameter.FoundAfterLastUsed": 1
},
"tests/Admin_Pages/Invoice_Template_Customize_Admin_Page_Test.php": {
"ERROR|Generic.CodeAnalysis.EmptyStatement.DetectedCatch": 14,
"ERROR|Generic.Commenting.DocComment.ShortNotCapital": 30
},
"tests/Admin_Pages/Wizard_Admin_Page_Test.php": {
"ERROR|Generic.Commenting.DocComment.LongNotCapital": 2,
"ERROR|Generic.Commenting.DocComment.ShortNotCapital": 41,
"ERROR|Generic.Files.OneObjectStructurePerFile.MultipleFound": 2
},
"tests/Builders/Block_Editor/Block_Editor_Widget_Manager.php": {
"ERROR|WordPress.NamingConventions.ValidVariableName.VariableNotSnakeCase": 9
},
"tests/WP_Ultimo/Admin_Pages/Addons_Admin_Page_Test.php": {
"ERROR|Generic.CodeAnalysis.EmptyStatement.DetectedCatch": 2,
"ERROR|Generic.Commenting.DocComment.LongNotCapital": 2,
"ERROR|WordPress.Security.EscapeOutput.ExceptionNotEscaped": 1,
"WARNING|Generic.CodeAnalysis.UnusedFunctionParameter.FoundAfterLastUsed": 12
},
"tests/WP_Ultimo/Admin_Pages/Base_Customer_Facing_Admin_Page_Test.php": {
"ERROR|Generic.Commenting.DocComment.ShortNotCapital": 27
},
"tests/WP_Ultimo/Admin_Pages/Customer_Edit_Admin_Page_Test.php": {
"ERROR|Generic.Commenting.DocComment.ShortNotCapital": 64
},
"tests/WP_Ultimo/Admin_Pages/Customer_List_Admin_Page_Test.php": {
"ERROR|Generic.Commenting.DocComment.ShortNotCapital": 11
},
"tests/WP_Ultimo/Admin_Pages/Customer_Panel/Checkout_Admin_Page_Test.php": {
"ERROR|Generic.Commenting.DocComment.ShortNotCapital": 9
},
"tests/WP_Ultimo/Admin_Pages/Customer_Panel/Template_Switching_Admin_Page_Test.php": {
"ERROR|Generic.Commenting.DocComment.ShortNotCapital": 6
},
"tests/WP_Ultimo/Admin_Pages/Customizer_Admin_Page_Test.php": {
"ERROR|Generic.Commenting.DocComment.ShortNotCapital": 10
},
"tests/WP_Ultimo/Admin_Pages/Debug/Debug_Admin_Page_Test.php": {
"ERROR|Generic.Commenting.DocComment.ShortNotCapital": 9
},
"tests/WP_Ultimo/Admin_Pages/Discount_Code_Edit_Admin_Page_Test.php": {
"ERROR|Generic.Files.OneObjectStructurePerFile.MultipleFound": 1,
"ERROR|WordPress.Security.NonceVerification.Missing": 15,
"ERROR|WordPress.Security.ValidatedSanitizedInput.InputNotSanitized": 15,
"ERROR|WordPress.Security.ValidatedSanitizedInput.InputNotValidated": 15,
"ERROR|WordPress.Security.ValidatedSanitizedInput.MissingUnslash": 15,
"WARNING|Generic.CodeAnalysis.UnusedFunctionParameter.Found": 1,
"WARNING|Universal.NamingConventions.NoReservedKeywordParameterNames.objectFound": 1
},
"tests/WP_Ultimo/Admin_Pages/Domain_Edit_Admin_Page_Test.php": {
"ERROR|Generic.Commenting.DocComment.LongNotCapital": 1,
"ERROR|Generic.Files.OneObjectStructurePerFile.MultipleFound": 1,
"ERROR|WordPress.Security.NonceVerification.Missing": 4,
"ERROR|WordPress.Security.ValidatedSanitizedInput.InputNotSanitized": 4,
"ERROR|WordPress.Security.ValidatedSanitizedInput.InputNotValidated": 4,
"ERROR|WordPress.Security.ValidatedSanitizedInput.MissingUnslash": 4
},
"tests/WP_Ultimo/Admin_Pages/Domain_List_Admin_Page_Test.php": {
"ERROR|WordPress.Security.EscapeOutput.ExceptionNotEscaped": 1,
"ERROR|WordPress.Security.ValidatedSanitizedInput.InputNotSanitized": 3,
"ERROR|WordPress.Security.ValidatedSanitizedInput.InputNotValidated": 3,
"ERROR|WordPress.Security.ValidatedSanitizedInput.MissingUnslash": 3,
"WARNING|Universal.NamingConventions.NoReservedKeywordParameterNames.callableFound": 1,
"WARNING|WordPress.Security.NonceVerification.Recommended": 3
},
"tests/WP_Ultimo/Admin_Pages/Edit_Admin_Page_Test.php": {
"ERROR|Generic.Commenting.DocComment.ShortNotCapital": 59,
"ERROR|Generic.Files.OneObjectStructurePerFile.MultipleFound": 1
},
"tests/WP_Ultimo/Admin_Pages/Email_Edit_Admin_Page_Test.php": {
"ERROR|WordPress.Security.NonceVerification.Missing": 6
},
"tests/WP_Ultimo/Admin_Pages/Email_List_Admin_Page_Test.php": {
"ERROR|WordPress.Security.EscapeOutput.ExceptionNotEscaped": 1,
"WARNING|Squiz.PHP.CommentedOutCode.Found": 1,
"WARNING|Universal.NamingConventions.NoReservedKeywordParameterNames.callableFound": 1
},
"tests/WP_Ultimo/Admin_Pages/Email_Template_Customize_Admin_Page_Test.php": {
"ERROR|Generic.CodeAnalysis.EmptyStatement.DetectedCatch": 22
},
"tests/WP_Ultimo/Admin_Pages/External_Cron_Admin_Page_Test.php": {
"ERROR|Generic.CodeAnalysis.EmptyStatement.DetectedCatch": 4,
"ERROR|WordPress.Security.EscapeOutput.ExceptionNotEscaped": 1
},
"tests/WP_Ultimo/Admin_Pages/Hosting_Integration_Wizard_Admin_Page_Test.php": {
"ERROR|Generic.CodeAnalysis.EmptyStatement.DetectedCatch": 1,
"ERROR|Generic.Commenting.DocComment.ShortNotCapital": 39,
"WARNING|Generic.CodeAnalysis.UnusedFunctionParameter.Found": 1
},
"tests/WP_Ultimo/Admin_Pages/Jobs_List_Admin_Page_Test.php": {
"ERROR|Generic.Commenting.DocComment.ShortNotCapital": 8
},
"tests/WP_Ultimo/Admin_Pages/Multisite_Setup_Admin_Page_Test.php": {
"ERROR|Generic.Commenting.DocComment.LongNotCapital": 2,
"ERROR|Generic.Commenting.DocComment.ShortNotCapital": 47
},
"tests/WP_Ultimo/Admin_Pages/PayPal_Setup_Wizard_Admin_Page_Test.php": {
"ERROR|Generic.CodeAnalysis.EmptyStatement.DetectedCatch": 3,
"ERROR|Generic.Commenting.DocComment.ShortNotCapital": 2,
"ERROR|WordPress.Security.EscapeOutput.ExceptionNotEscaped": 4,
"WARNING|Generic.CodeAnalysis.UnusedFunctionParameter.FoundAfterLastUsed": 2,
"WARNING|Universal.NamingConventions.NoReservedKeywordParameterNames.fnFound": 1
},
"tests/WP_Ultimo/Admin_Pages/Placeholders_Admin_Page_Test.php": {
"ERROR|Generic.Commenting.DocComment.ShortNotCapital": 8
},
"tests/WP_Ultimo/Admin_Pages/Product_Edit_Admin_Page_Test.php": {
"ERROR|Generic.Files.OneObjectStructurePerFile.MultipleFound": 1,
"ERROR|WordPress.Security.NonceVerification.Missing": 9,
"ERROR|WordPress.Security.ValidatedSanitizedInput.InputNotSanitized": 9,
"ERROR|WordPress.Security.ValidatedSanitizedInput.InputNotValidated": 9,
"ERROR|WordPress.Security.ValidatedSanitizedInput.MissingUnslash": 9,
"WARNING|Generic.CodeAnalysis.UnusedFunctionParameter.Found": 1,
"WARNING|Universal.NamingConventions.NoReservedKeywordParameterNames.objectFound": 1
},
"tests/WP_Ultimo/Admin_Pages/Shortcodes_Admin_Page_Test.php": {
"ERROR|Generic.Commenting.DocComment.ShortNotCapital": 7
},
"tests/WP_Ultimo/Admin_Pages/System_Info_Admin_Page_Test.php": {
"ERROR|WordPress.Security.ValidatedSanitizedInput.InputNotSanitized": 1,
"ERROR|WordPress.Security.ValidatedSanitizedInput.MissingUnslash": 1
},
"tests/WP_Ultimo/Admin_Pages/Tax_Rates_Admin_Page_Test.php": {
"ERROR|Generic.Commenting.DocComment.ShortNotCapital": 6,
"WARNING|Generic.CodeAnalysis.UselessOverridingMethod.Found": 1
},
"tests/WP_Ultimo/Admin_Pages/Template_Previewer_Customize_Admin_Page_Test.php": {
"ERROR|Generic.CodeAnalysis.EmptyStatement.DetectedCatch": 10
},
"tests/WP_Ultimo/Admin_Pages/View_Logs_Admin_Page_Test.php": {
"ERROR|Generic.Commenting.DocComment.ShortNotCapital": 3,
"WARNING|WordPress.WP.AlternativeFunctions.file_system_operations_file_put_contents": 1,
"WARNING|WordPress.WP.AlternativeFunctions.unlink_unlink": 1
},
"tests/WP_Ultimo/Ajax_Test.php": {
"ERROR|WordPress.Security.EscapeOutput.ExceptionNotEscaped": 1,
"WARNING|Generic.CodeAnalysis.UnusedFunctionParameter.Found": 1,
"WARNING|Universal.NamingConventions.NoReservedKeywordParameterNames.callableFound": 1
},
"tests/WP_Ultimo/Apis/MCP_Abilities_Test.php": {
"WARNING|Squiz.PHP.CommentedOutCode.Found": 1
},
"tests/WP_Ultimo/Apis/Rest_Api_Trait_Test.php": {
"ERROR|Generic.Commenting.DocComment.LongNotCapital": 1,
"ERROR|Generic.Commenting.DocComment.ShortNotCapital": 58,
"ERROR|Generic.Files.OneObjectStructurePerFile.MultipleFound": 2,
"ERROR|Squiz.PHP.Eval.Discouraged": 1,
"WARNING|WordPress.WP.AlternativeFunctions.json_encode_json_encode": 12
},
"tests/WP_Ultimo/Checkout/Cart_Coverage_Test.php": {
"WARNING|Generic.CodeAnalysis.UnusedFunctionParameter.Found": 3
},
"tests/WP_Ultimo/Checkout/Checkout_Pages_Test.php": {
"WARNING|Generic.CodeAnalysis.UnusedFunctionParameter.FoundAfterLastUsed": 3,
"WARNING|Universal.NamingConventions.NoReservedKeywordParameterNames.listFound": 1
},
"tests/WP_Ultimo/Checkout/Checkout_Test.php": {
"WARNING|Generic.Formatting.MultipleStatementAlignment.NotSameWarning": 4
},
"tests/WP_Ultimo/Checkout/Line_Item_Test.php": {
"WARNING|WordPress.WP.AlternativeFunctions.json_encode_json_encode": 1
},
"tests/WP_Ultimo/Checkout/Signup_Fields/Base_Signup_Field_Test.php": {
"ERROR|Generic.Files.OneObjectStructurePerFile.MultipleFound": 3
},
"tests/WP_Ultimo/Country/Country_Test.php": {
"WARNING|Generic.CodeAnalysis.UnusedFunctionParameter.Found": 2
},
"tests/WP_Ultimo/Domain_Mapping/Helper_Test.php": {
"WARNING|Generic.CodeAnalysis.UnusedFunctionParameter.FoundAfterLastUsed": 1
},
"tests/WP_Ultimo/Domain_Mapping/SSO_Test.php": {
"WARNING|WordPress.PHP.StrictInArray.MissingTrueStrict": 1,
"WARNING|WordPress.WP.AlternativeFunctions.file_get_contents_file_get_contents": 1
},
"tests/WP_Ultimo/Duplication/MUCD_Data_Test.php": {
"WARNING|WordPress.DB.SlowDBQuery.slow_db_query_meta_key": 1,
"WARNING|WordPress.DB.SlowDBQuery.slow_db_query_meta_value": 19,
"WARNING|WordPress.PHP.DevelopmentFunctions.error_log_set_error_handler": 1,
"WARNING|WordPress.PHP.DiscouragedPHPFunctions.serialize_serialize": 15,
"WARNING|WordPress.PHP.DiscouragedPHPFunctions.serialize_unserialize": 11,
"WARNING|WordPress.PHP.NoSilencedErrors.Discouraged": 6,
"WARNING|WordPress.WP.AlternativeFunctions.json_encode_json_encode": 1
},
"tests/WP_Ultimo/Functions/Array_Helpers_Test.php": {
"WARNING|Squiz.PHP.CommentedOutCode.Found": 1
},
"tests/WP_Ultimo/Functions/Country_Functions_Test.php": {
"WARNING|Generic.CodeAnalysis.UnusedFunctionParameter.Found": 2
},
"tests/WP_Ultimo/Functions/Danger_Functions_Test.php": {
"ERROR|Generic.Commenting.DocComment.LongNotCapital": 1,
"WARNING|Generic.CodeAnalysis.UnusedFunctionParameter.Found": 1
},
"tests/WP_Ultimo/Functions/Date_Functions_Test.php": {
"ERROR|WordPress.DateTime.RestrictedFunctions.date_date": 5
},
"tests/WP_Ultimo/Functions/Generator_Functions_Test.php": {
"WARNING|WordPress.PHP.NoSilencedErrors.Discouraged": 2
},
"tests/WP_Ultimo/Gateways/Base_PayPal_Gateway_Test.php": {
"ERROR|Generic.Files.OneObjectStructurePerFile.MultipleFound": 1
},
"tests/WP_Ultimo/Gateways/Base_Stripe_Gateway_Test.php": {
"ERROR|Generic.CodeAnalysis.EmptyStatement.DetectedCatch": 1,
"ERROR|Generic.Files.OneObjectStructurePerFile.MultipleFound": 1,
"ERROR|Squiz.Commenting.FunctionCommentThrowTag.Missing": 1,
"ERROR|WordPress.Security.EscapeOutput.ExceptionNotEscaped": 1
},
"tests/WP_Ultimo/Gateways/Manual_Gateway_Checkout_Process_Test.php": {
"WARNING|Generic.CodeAnalysis.UselessOverridingMethod.Found": 1
},
"tests/WP_Ultimo/Gateways/PayPal_REST_Gateway_Test.php": {
"ERROR|Generic.CodeAnalysis.EmptyStatement.DetectedCatch": 1
},
"tests/WP_Ultimo/Gateways/Stripe_Gateway_Process_Checkout_Test.php": {
"ERROR|Generic.CodeAnalysis.EmptyStatement.DetectedIf": 1
},
"tests/WP_Ultimo/Helpers/Credential_Store_Test.php": {
"WARNING|WordPress.PHP.DiscouragedPHPFunctions.obfuscation_base64_encode": 1
},
"tests/WP_Ultimo/Helpers/Site_Duplicator_Postmeta_Test.php": {
"WARNING|Generic.CodeAnalysis.UselessOverridingMethod.Found": 8,
"WARNING|WordPress.PHP.DiscouragedPHPFunctions.serialize_serialize": 2,
"WARNING|WordPress.WP.AlternativeFunctions.file_get_contents_file_get_contents": 4
},
"tests/WP_Ultimo/Helpers/WP_Config_Test.php": {
"WARNING|WordPress.WP.AlternativeFunctions.file_get_contents_file_get_contents": 3,
"WARNING|WordPress.WP.AlternativeFunctions.file_system_operations_file_put_contents": 1,
"WARNING|WordPress.WP.AlternativeFunctions.unlink_unlink": 1
},
"tests/WP_Ultimo/Helpers/WooCommerce_API_Client_Test.php": {
"WARNING|Generic.CodeAnalysis.UnusedFunctionParameter.FoundAfterLastUsed": 1
},
"tests/WP_Ultimo/Installers/Migrator_Test.php": {
"ERROR|WordPress.DB.PreparedSQL.InterpolatedNotPrepared": 4,
"WARNING|Generic.CodeAnalysis.UnusedFunctionParameter.Found": 1,
"WARNING|Universal.NamingConventions.NoReservedKeywordParameterNames.callableFound": 1,
"WARNING|WordPress.DB.SlowDBQuery.slow_db_query_meta_key": 3,
"WARNING|WordPress.DB.SlowDBQuery.slow_db_query_meta_value": 1,
"WARNING|WordPress.PHP.DiscouragedPHPFunctions.serialize_serialize": 2
},
"tests/WP_Ultimo/Installers/Multisite_Network_Installer_Test.php": {
"ERROR|Generic.Commenting.DocComment.ShortNotCapital": 10,
"ERROR|WordPress.DB.PreparedSQL.InterpolatedNotPrepared": 4,
"WARNING|WordPress.DB.SlowDBQuery.slow_db_query_meta_key": 2,
"WARNING|WordPress.DB.SlowDBQuery.slow_db_query_meta_value": 5,
"WARNING|WordPress.PHP.DiscouragedPHPFunctions.serialize_serialize": 5
},
"tests/WP_Ultimo/Integrations/Host_Providers/Base_Host_Provider_Test.php": {
"ERROR|Generic.Files.OneObjectStructurePerFile.MultipleFound": 3,
"WARNING|Generic.CodeAnalysis.UselessOverridingMethod.Found": 1
},
"tests/WP_Ultimo/Integrations/Host_Providers/Hestia_Host_Provider_Test.php": {
"WARNING|Generic.CodeAnalysis.UnusedFunctionParameter.FoundAfterLastUsed": 6
},
"tests/WP_Ultimo/Integrations/Host_Providers/class-cpanel-dns-test.php": {
"WARNING|Squiz.PHP.CommentedOutCode.Found": 1
},
"tests/WP_Ultimo/Integrations/Providers/Rocket_Domain_Mapping_Test.php": {
"WARNING|WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned": 4
},
"tests/WP_Ultimo/Invoices/Invoice_Test.php": {
"WARNING|WordPress.WP.AlternativeFunctions.file_get_contents_file_get_contents": 2,
"WARNING|WordPress.WP.AlternativeFunctions.unlink_unlink": 7
},
"tests/WP_Ultimo/Light_Ajax_Test.php": {
"WARNING|WordPress.PHP.DiscouragedPHPFunctions.obfuscation_base64_encode": 6
},
"tests/WP_Ultimo/Limitations/Limit_Domain_Mapping_Test.php": {
"ERROR|Generic.CodeAnalysis.EmptyStatement.DetectedIf": 1,
"WARNING|Squiz.PHP.CommentedOutCode.Found": 1
},
"tests/WP_Ultimo/Limits/Disk_Space_Limits_Test.php": {
"WARNING|Generic.CodeAnalysis.UnusedFunctionParameter.FoundAfterLastUsed": 4
},
"tests/WP_Ultimo/Limits/Site_Template_Limits_Test.php": {
"WARNING|Generic.CodeAnalysis.UnusedFunctionParameter.FoundAfterLastUsed": 2
},
"tests/WP_Ultimo/List_Tables/Base_List_Table_Test.php": {
"ERROR|Generic.Files.OneObjectStructurePerFile.MultipleFound": 2,
"WARNING|Generic.CodeAnalysis.UnusedFunctionParameter.FoundAfterLastUsed": 2
},
"tests/WP_Ultimo/Logger_Test.php": {
"WARNING|Generic.CodeAnalysis.UnusedFunctionParameter.FoundAfterLastUsed": 3,
"WARNING|WordPress.PHP.NoSilencedErrors.Discouraged": 5,
"WARNING|WordPress.WP.AlternativeFunctions.file_get_contents_file_get_contents": 4,
"WARNING|WordPress.WP.AlternativeFunctions.file_system_operations_file_put_contents": 1,
"WARNING|WordPress.WP.AlternativeFunctions.unlink_unlink": 5
},
"tests/WP_Ultimo/Managers/Domain_Manager_Test.php": {
"ERROR|Generic.CodeAnalysis.EmptyStatement.DetectedCatch": 1,
"ERROR|Generic.Commenting.DocComment.ShortNotCapital": 1,
"WARNING|Generic.CodeAnalysis.UnusedFunctionParameter.Found": 1,
"WARNING|Generic.CodeAnalysis.UnusedFunctionParameter.FoundAfterLastUsed": 2,
"WARNING|WordPress.PHP.DevelopmentFunctions.error_log_var_export": 4
},
"tests/WP_Ultimo/Managers/Event_Manager_Test.php": {
"ERROR|Generic.Commenting.DocComment.LongNotCapital": 1,
"ERROR|Generic.Commenting.DocComment.ShortNotCapital": 22,
"WARNING|PSR2.Methods.MethodDeclaration.Underscore": 2
},
"tests/WP_Ultimo/Managers/Form_Manager_Test.php": {
"ERROR|Generic.Commenting.DocComment.LongNotCapital": 3,
"ERROR|WordPress.Security.EscapeOutput.ExceptionNotEscaped": 2,
"WARNING|Generic.CodeAnalysis.UnusedFunctionParameter.FoundAfterLastUsed": 7,
"WARNING|Universal.NamingConventions.NoReservedKeywordParameterNames.callableFound": 2,
"WARNING|WordPress.DB.SlowDBQuery.slow_db_query_meta_key": 1
},
"tests/WP_Ultimo/Managers/Limitation_Manager_Test.php": {
"WARNING|Generic.CodeAnalysis.UnusedFunctionParameter.Found": 1,
"WARNING|Universal.NamingConventions.NoReservedKeywordParameterNames.listFound": 2,
"WARNING|WordPress.PHP.DiscouragedPHPFunctions.serialize_serialize": 1,
"WARNING|WordPress.PHP.DiscouragedPHPFunctions.serialize_unserialize": 1,
"WARNING|WordPress.WP.AlternativeFunctions.json_encode_json_encode": 1
},
"tests/WP_Ultimo/Managers/Manager_Test_Trait.php": {
"WARNING|Universal.NamingConventions.NoReservedKeywordParameterNames.objectFound": 1
},
"tests/WP_Ultimo/Managers/Notes_Manager_Test.php": {
"ERROR|WordPress.Security.EscapeOutput.ExceptionNotEscaped": 1,
"WARNING|Universal.NamingConventions.NoReservedKeywordParameterNames.callableFound": 1
},
"tests/WP_Ultimo/Managers/Site_Manager_Test.php": {
"WARNING|Generic.CodeAnalysis.UnusedFunctionParameter.FoundAfterLastUsed": 5,
"WARNING|WordPress.WP.EnqueuedResourceParameters.MissingVersion": 1
},
"tests/WP_Ultimo/Models/Broadcast_Test.php": {
"ERROR|Generic.Commenting.DocComment.LongNotCapital": 1
},
"tests/WP_Ultimo/Models/Checkout_Form_Test.php": {
"ERROR|Generic.Commenting.DocComment.LongNotCapital": 1,
"WARNING|WordPress.PHP.DiscouragedPHPFunctions.serialize_serialize": 4
},
"tests/WP_Ultimo/Models/Payment_Test.php": {
"ERROR|Generic.Commenting.DocComment.LongNotCapital": 1
},
"tests/WP_Ultimo/Models/Post_Base_Model_Test.php": {
"WARNING|WordPress.WP.AlternativeFunctions.strip_tags_strip_tags": 1
},
"tests/WP_Ultimo/Models/Product_Test.php": {
"ERROR|Generic.Commenting.DocComment.LongNotCapital": 1
},
"tests/WP_Ultimo/Session_Cookie_Test.php": {
"WARNING|WordPress.PHP.NoSilencedErrors.Discouraged": 2
},
"tests/WP_Ultimo/Signup_Metrics_Test.php": {
"ERROR|Generic.Commenting.DocComment.LongNotCapital": 1
},
"tests/WP_Ultimo/Site_Exporter/Network_Exporter_Test.php": {
"WARNING|WordPress.WP.AlternativeFunctions.file_get_contents_file_get_contents": 1,
"WARNING|WordPress.WP.AlternativeFunctions.file_system_operations_mkdir": 1,
"WARNING|WordPress.WP.AlternativeFunctions.file_system_operations_rmdir": 1,
"WARNING|WordPress.WP.AlternativeFunctions.unlink_unlink": 1
},
"tests/WP_Ultimo/Site_Exporter/Self_Boot_Builder_Test.php": {
"WARNING|WordPress.PHP.DiscouragedPHPFunctions.system_calls_exec": 1,
"WARNING|WordPress.PHP.DiscouragedPHPFunctions.system_calls_proc_open": 1,
"WARNING|WordPress.WP.AlternativeFunctions.file_get_contents_file_get_contents": 2,
"WARNING|WordPress.WP.AlternativeFunctions.file_system_operations_fclose": 3,
"WARNING|WordPress.WP.AlternativeFunctions.file_system_operations_file_put_contents": 5,
"WARNING|WordPress.WP.AlternativeFunctions.file_system_operations_mkdir": 2,
"WARNING|WordPress.WP.AlternativeFunctions.file_system_operations_rmdir": 2,
"WARNING|WordPress.WP.AlternativeFunctions.json_encode_json_encode": 2,
"WARNING|WordPress.WP.AlternativeFunctions.unlink_unlink": 1
},
"tests/WP_Ultimo/Site_Exporter_Import_Move_Test.php": {
"WARNING|WordPress.PHP.NoSilencedErrors.Discouraged": 5,
"WARNING|WordPress.WP.AlternativeFunctions.file_get_contents_file_get_contents": 1,
"WARNING|WordPress.WP.AlternativeFunctions.file_system_operations_file_put_contents": 2,
"WARNING|WordPress.WP.AlternativeFunctions.file_system_operations_mkdir": 4,
"WARNING|WordPress.WP.AlternativeFunctions.file_system_operations_rmdir": 3,
"WARNING|WordPress.WP.AlternativeFunctions.unlink_unlink": 2
},
"tests/WP_Ultimo/Site_Exporter_Round_Trip_Test.php": {
"ERROR|WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase": 1,
"WARNING|WordPress.PHP.NoSilencedErrors.Discouraged": 2,
"WARNING|WordPress.WP.AlternativeFunctions.file_system_operations_file_put_contents": 4,
"WARNING|WordPress.WP.AlternativeFunctions.file_system_operations_mkdir": 7,
"WARNING|WordPress.WP.AlternativeFunctions.file_system_operations_rmdir": 1,
"WARNING|WordPress.WP.AlternativeFunctions.unlink_unlink": 1
},
"tests/WP_Ultimo/Site_Exporter_Zip_Contents_Test.php": {
"ERROR|WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase": 1,
"WARNING|WordPress.PHP.NoSilencedErrors.Discouraged": 2,
"WARNING|WordPress.WP.AlternativeFunctions.file_system_operations_file_put_contents": 8,
"WARNING|WordPress.WP.AlternativeFunctions.file_system_operations_mkdir": 5,
"WARNING|WordPress.WP.AlternativeFunctions.file_system_operations_rmdir": 1,
"WARNING|WordPress.WP.AlternativeFunctions.unlink_unlink": 1
},
"tests/WP_Ultimo/Sunrise_Test.php": {
"ERROR|Generic.Commenting.DocComment.LongNotCapital": 1
},
"tests/WP_Ultimo/Tax/Dashboard_Taxes_Tab_Test.php": {
"WARNING|Generic.CodeAnalysis.UselessOverridingMethod.Found": 1
},
"tests/WP_Ultimo/Tax/Tax_Test.php": {
"WARNING|Generic.CodeAnalysis.UnusedFunctionParameter.FoundAfterLastUsed": 1
},
"tests/WP_Ultimo/UI/Form_Test.php": {
"WARNING|Generic.CodeAnalysis.UnusedFunctionParameter.Found": 2,
"WARNING|WordPress.WP.AlternativeFunctions.json_encode_json_encode": 1
},
"tests/WP_Ultimo_Test.php": {
"ERROR|WordPress.NamingConventions.ValidVariableName.VariableNotSnakeCase": 9
},
"tests/e2e/cypress/fixtures/advance-stripe-test-clock.php": {
"ERROR|WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase": 2
},
"tests/e2e/cypress/fixtures/cleanup-stripe-test-clock.php": {
"ERROR|WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase": 1
},
"tests/e2e/cypress/fixtures/setup-sso-test.php": {
"ERROR|WordPress.DB.PreparedSQL.InterpolatedNotPrepared": 1
},
"tests/e2e/cypress/fixtures/setup-stripe-renewal-test.php": {
"ERROR|WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase": 3
},
"tests/functional/SSO_Functional_Test.php": {
"WARNING|Generic.CodeAnalysis.UnusedFunctionParameter.FoundAfterLastUsed": 2,
"WARNING|Universal.NamingConventions.NoReservedKeywordParameterNames.defaultFound": 1
},
"tests/performance-benchmark.php": {
"ERROR|WordPress.DB.PreparedSQL.InterpolatedNotPrepared": 1,
"ERROR|WordPress.DateTime.RestrictedFunctions.date_date": 2,
"ERROR|WordPress.Security.EscapeOutput.OutputNotEscaped": 2,
"ERROR|WordPress.Security.ValidatedSanitizedInput.InputNotSanitized": 1,
"ERROR|WordPress.Security.ValidatedSanitizedInput.InputNotValidated": 1,
"ERROR|WordPress.Security.ValidatedSanitizedInput.MissingUnslash": 1,
"WARNING|WordPress.WP.AlternativeFunctions.file_system_operations_file_put_contents": 1,
"WARNING|WordPress.WP.AlternativeFunctions.json_encode_json_encode": 2
},
"tests/performance-comparator.php": {
"ERROR|Squiz.Commenting.VariableComment.MissingVar": 1,
"ERROR|Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace": 2,
"ERROR|WordPress.DateTime.RestrictedFunctions.date_date": 1,
"ERROR|WordPress.Security.EscapeOutput.ExceptionNotEscaped": 2,
"ERROR|WordPress.Security.EscapeOutput.OutputNotEscaped": 2,
"ERROR|WordPress.Security.ValidatedSanitizedInput.InputNotSanitized": 1,
"ERROR|WordPress.Security.ValidatedSanitizedInput.InputNotValidated": 1,
"ERROR|WordPress.Security.ValidatedSanitizedInput.MissingUnslash": 1,
"WARNING|Universal.Operators.StrictComparisons.LooseEqual": 1,
"WARNING|WordPress.WP.AlternativeFunctions.file_get_contents_file_get_contents": 1,
"WARNING|WordPress.WP.AlternativeFunctions.file_system_operations_file_put_contents": 1,
"WARNING|WordPress.WP.AlternativeFunctions.json_encode_json_encode": 1
},
"tests/simple-performance-test.php": {
"ERROR|Universal.Files.SeparateFunctionsFromOO.Mixed": 1,
"ERROR|WordPress.DateTime.RestrictedFunctions.date_date": 2,
"ERROR|WordPress.Security.ValidatedSanitizedInput.InputNotSanitized": 1,
"ERROR|WordPress.Security.ValidatedSanitizedInput.InputNotValidated": 1,
"ERROR|WordPress.Security.ValidatedSanitizedInput.MissingUnslash": 1,
"WARNING|Generic.CodeAnalysis.UnusedFunctionParameter.Found": 1,
"WARNING|WordPress.WP.AlternativeFunctions.file_system_operations_file_put_contents": 1,
"WARNING|WordPress.WP.AlternativeFunctions.file_system_operations_fwrite": 9,
"WARNING|WordPress.WP.AlternativeFunctions.json_encode_json_encode": 2
},
"tests/unit/VueBuild_Test.php": {
"WARNING|WordPress.WP.AlternativeFunctions.file_get_contents_file_get_contents": 2
},
"utils/rector/src/Rector/YodaConditionsRector.php": {
"ERROR|Squiz.Commenting.FileComment.Missing": 1,
"ERROR|Squiz.Commenting.FunctionComment.IncorrectTypeHint": 1,
"ERROR|Squiz.Commenting.FunctionComment.MissingParamComment": 1,
"ERROR|WordPress.Files.FileName.InvalidClassFileName": 1,
"ERROR|WordPress.Files.FileName.NotHyphenatedLowercase": 1
},
"utils/rector/tests/Rector/YodaConditionsRector/YodaConditionsRectorTest.php": {
"ERROR|WordPress.NamingConventions.ValidVariableName.VariableNotSnakeCase": 2
},
"utils/rector/tests/Rector/YodaConditionsRector/config/configured_rule.php": {
"ERROR|WordPress.NamingConventions.ValidVariableName.VariableNotSnakeCase": 2
},
"views/base/filter.php": {
"WARNING|Generic.CodeAnalysis.UnconditionalIfStatement.Found": 1
},
"views/base/wizard-body.php": {
"ERROR|Squiz.Commenting.FileComment.Missing": 1
},
"views/checkout/fields/field-hidden.php": {
"ERROR|Squiz.Commenting.FileComment.Missing": 1
},
"views/checkout/fields/field-products.php": {
"WARNING|Universal.Operators.StrictComparisons.LooseEqual": 1
},
"views/checkout/fields/field-radio.php": {
"WARNING|Universal.Operators.StrictComparisons.LooseEqual": 1
},
"views/checkout/register.php": {
"ERROR|Squiz.Commenting.FileComment.Missing": 1
},
"views/checkout/templates/steps/clean.php": {
"WARNING|WordPress.PHP.StrictInArray.MissingTrueStrict": 2
},
"views/checkout/templates/steps/legacy.php": {
"WARNING|WordPress.PHP.StrictInArray.MissingTrueStrict": 2
},
"views/checkout/templates/steps/minimal.php": {
"WARNING|WordPress.PHP.StrictInArray.MissingTrueStrict": 2
},
"views/classes.php": {
"ERROR|Squiz.Commenting.FileComment.Missing": 1
},
"views/dashboard-widgets/account-summary.php": {
"ERROR|WordPress.NamingConventions.ValidVariableName.VariableNotSnakeCase": 1
},
"views/dashboard-widgets/current-membership.php": {
"ERROR|WordPress.NamingConventions.ValidVariableName.VariableNotSnakeCase": 1
},
"views/dashboard-widgets/current-site.php": {
"ERROR|WordPress.NamingConventions.ValidVariableName.VariableNotSnakeCase": 1
},
"views/dashboard-widgets/limits-and-quotas.php": {
"ERROR|WordPress.NamingConventions.ValidVariableName.VariableNotSnakeCase": 1,
"WARNING|Universal.Operators.StrictComparisons.LooseEqual": 1
},
"views/dashboard-widgets/login-additional-forms.php": {
"ERROR|WordPress.NamingConventions.ValidVariableName.VariableNotSnakeCase": 1
},
"views/dashboard-widgets/login-form.php": {
"ERROR|WordPress.NamingConventions.ValidVariableName.VariableNotSnakeCase": 1
},
"views/dashboard-widgets/my-sites.php": {
"ERROR|WordPress.NamingConventions.ValidVariableName.VariableNotSnakeCase": 1,
"WARNING|Universal.Operators.StrictComparisons.LooseEqual": 1
},
"views/dashboard-widgets/simple-text.php": {
"ERROR|WordPress.NamingConventions.ValidVariableName.VariableNotSnakeCase": 1
},
"views/dashboard-widgets/site-actions.php": {
"ERROR|WordPress.NamingConventions.ValidVariableName.VariableNotSnakeCase": 1,
"WARNING|Generic.CodeAnalysis.UnconditionalIfStatement.Found": 2
},
"views/dashboard-widgets/site-maintenance.php": {
"ERROR|WordPress.NamingConventions.ValidVariableName.VariableNotSnakeCase": 1
},
"views/events/ascii-badge.php": {
"ERROR|Squiz.Commenting.FileComment.Missing": 1
},
"views/events/widget-initiator.php": {
"WARNING|Universal.Operators.StrictComparisons.LooseEqual": 1
},
"views/legacy/signup/pricing-table/plan.php": {
"WARNING|Universal.Operators.StrictComparisons.LooseEqual": 1,
"WARNING|Universal.Operators.StrictComparisons.LooseNotEqual": 1
},
"views/legacy/signup/signup-main.php": {
"WARNING|Squiz.PHP.CommentedOutCode.Found": 1
},
"views/limitations/plugin-selector.php": {
"ERROR|Generic.Commenting.DocComment.ShortNotCapital": 1
},
"views/limitations/theme-selector.php": {
"ERROR|Generic.Commenting.DocComment.ShortNotCapital": 1
},
"views/settings/fields/field-ajax_button.php": {
"ERROR|WordPress.Files.FileName.NotHyphenatedLowercase": 1
},
"views/settings/fields/field-color.php": {
"WARNING|Squiz.PHP.CommentedOutCode.Found": 1
},
"views/settings/fields/field-heading_collapsible.php": {
"ERROR|WordPress.Files.FileName.NotHyphenatedLowercase": 1
},
"views/settings/fields/field-multi_checkbox.php": {
"ERROR|WordPress.Files.FileName.NotHyphenatedLowercase": 1
},
"views/settings/fields/field-note.php": {
"WARNING|Squiz.PHP.CommentedOutCode.Found": 1
},
"views/settings/fields/field-select.php": {
"WARNING|Squiz.PHP.CommentedOutCode.Found": 1
},
"views/settings/fields/field-textarea.php": {
"WARNING|Squiz.PHP.CommentedOutCode.Found": 1
},
"views/settings/fields/field-wp_editor.php": {
"ERROR|WordPress.Files.FileName.NotHyphenatedLowercase": 1,
"WARNING|Squiz.PHP.CommentedOutCode.Found": 1
},
"views/wizards/setup/installation_steps.php": {
"ERROR|WordPress.Files.FileName.NotHyphenatedLowercase": 1
},
"views/wizards/setup/requirements_table.php": {
"ERROR|WordPress.Files.FileName.NotHyphenatedLowercase": 1
},
"views/wizards/setup/support_terms.php": {
"ERROR|WordPress.Files.FileName.NotHyphenatedLowercase": 1
}
}
}