Repository navigation
Expand file tree
/
Copy pathphpcs-baseline.json
More file actions
138 lines (138 loc) · 15 KB
/
Copy pathphpcs-baseline.json
File metadata and controls
138 lines (138 loc) · 15 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
{
"tests/integration/includes/bootstrap.php|Modernize.FunctionCalls.Dirname.FileConstant": 2,
"tests/integration/includes/bootstrap.php|Squiz.Commenting.FileComment.MissingPackageTag": 1,
"tests/integration/includes/testcase.php|Squiz.Commenting.ClassComment.SpacingAfter": 1,
"tests/integration/includes/testcase.php|Squiz.Commenting.FileComment.Missing": 1,
"tests/integration/tests/test-add-network-existing-site.php|Squiz.Commenting.ClassComment.SpacingAfter": 1,
"tests/integration/tests/test-add-network-existing-site.php|Squiz.Commenting.FileComment.Missing": 1,
"tests/integration/tests/test-add-network-existing-site.php|WordPress.Files.FileName.InvalidClassFileName": 1,
"tests/integration/tests/test-admin-authorization.php|Generic.Formatting.MultipleStatementAlignment.NotSameWarning": 2,
"tests/integration/tests/test-admin-authorization.php|Squiz.Commenting.ClassComment.Missing": 1,
"tests/integration/tests/test-admin-authorization.php|Squiz.Commenting.FileComment.Missing": 1,
"tests/integration/tests/test-admin-authorization.php|Squiz.Commenting.FunctionCommentThrowTag.Missing": 1,
"tests/integration/tests/test-admin-authorization.php|WordPress.Files.FileName.InvalidClassFileName": 1,
"tests/integration/tests/test-admin-authorization.php|WordPress.Security.EscapeOutput.ExceptionNotEscaped": 1,
"tests/integration/tests/test-admin-authorization.php|WordPress.Security.NonceVerification.Missing": 2,
"tests/integration/tests/test-admin-authorization.php|WordPress.Security.NonceVerification.Recommended": 3,
"tests/integration/tests/test-admin-authorization.php|WordPress.WP.Capabilities.Unknown": 2,
"tests/integration/tests/test-blog-network-switch.php|Generic.Formatting.MultipleStatementAlignment.NotSameWarning": 1,
"tests/integration/tests/test-blog-network-switch.php|Squiz.Commenting.ClassComment.SpacingAfter": 1,
"tests/integration/tests/test-blog-network-switch.php|Squiz.Commenting.FileComment.Missing": 1,
"tests/integration/tests/test-blog-network-switch.php|Squiz.Commenting.FunctionComment.Missing": 9,
"tests/integration/tests/test-blog-network-switch.php|Squiz.Functions.MultiLineFunctionDeclaration.SpaceAfterFunction": 2,
"tests/integration/tests/test-blog-network-switch.php|WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned": 4,
"tests/integration/tests/test-blog-network-switch.php|WordPress.Files.FileName.InvalidClassFileName": 1,
"tests/integration/tests/test-blog-network-switch.php|WordPress.WP.GlobalVariablesOverride.Prohibited": 3,
"tests/integration/tests/test-bulk-move-sites.php|Generic.Formatting.MultipleStatementAlignment.NotSameWarning": 6,
"tests/integration/tests/test-bulk-move-sites.php|Squiz.Commenting.ClassComment.Missing": 1,
"tests/integration/tests/test-bulk-move-sites.php|Squiz.Commenting.FileComment.Missing": 1,
"tests/integration/tests/test-bulk-move-sites.php|Squiz.Commenting.FunctionComment.Missing": 9,
"tests/integration/tests/test-bulk-move-sites.php|WordPress.Arrays.ArrayDeclarationSpacing.AssociativeArrayFound": 2,
"tests/integration/tests/test-bulk-move-sites.php|WordPress.Files.FileName.InvalidClassFileName": 1,
"tests/integration/tests/test-bulk-move-sites.php|WordPress.Security.NonceVerification.Missing": 3,
"tests/integration/tests/test-bulk-move-sites.php|WordPress.Security.NonceVerification.Recommended": 3,
"tests/integration/tests/test-bulk-move-sites.php|WordPress.Security.ValidatedSanitizedInput.InputNotSanitized": 2,
"tests/integration/tests/test-bulk-move-sites.php|WordPress.Security.ValidatedSanitizedInput.InputNotValidated": 2,
"tests/integration/tests/test-bulk-move-sites.php|WordPress.Security.ValidatedSanitizedInput.MissingUnslash": 2,
"tests/integration/tests/test-bulk-move-sites.php|WordPress.WP.GlobalVariablesOverride.Prohibited": 3,
"tests/integration/tests/test-networkoperations.php|Generic.Formatting.MultipleStatementAlignment.NotSameWarning": 6,
"tests/integration/tests/test-networkoperations.php|PEAR.Functions.FunctionCallSignature.CloseBracketLine": 1,
"tests/integration/tests/test-networkoperations.php|PEAR.Functions.FunctionCallSignature.ContentAfterOpenBracket": 1,
"tests/integration/tests/test-networkoperations.php|Squiz.Commenting.ClassComment.SpacingAfter": 1,
"tests/integration/tests/test-networkoperations.php|Squiz.Commenting.FileComment.Missing": 1,
"tests/integration/tests/test-networkoperations.php|Squiz.Commenting.FunctionComment.Missing": 16,
"tests/integration/tests/test-networkoperations.php|Squiz.Commenting.InlineComment.InvalidEndChar": 7,
"tests/integration/tests/test-networkoperations.php|Squiz.Commenting.VariableComment.Missing": 1,
"tests/integration/tests/test-networkoperations.php|Squiz.Functions.MultiLineFunctionDeclaration.SpaceAfterFunction": 2,
"tests/integration/tests/test-networkoperations.php|WordPress.Files.FileName.InvalidClassFileName": 1,
"tests/integration/tests/test-rest-networks-controller.php|Generic.Commenting.DocComment.Empty": 4,
"tests/integration/tests/test-rest-networks-controller.php|PSR2.Classes.ClassDeclaration.SpaceAfterKeyword": 1,
"tests/integration/tests/test-rest-networks-controller.php|PSR2.Methods.FunctionClosingBrace.SpacingBeforeClose": 1,
"tests/integration/tests/test-rest-networks-controller.php|Squiz.Commenting.ClassComment.Missing": 1,
"tests/integration/tests/test-rest-networks-controller.php|Squiz.Commenting.FileComment.Missing": 1,
"tests/integration/tests/test-rest-networks-controller.php|Squiz.Commenting.FunctionComment.Missing": 17,
"tests/integration/tests/test-rest-networks-controller.php|Squiz.Commenting.VariableComment.Missing": 4,
"tests/integration/tests/test-root-site-search.php|Squiz.Commenting.ClassComment.Missing": 1,
"tests/integration/tests/test-root-site-search.php|Squiz.Commenting.FileComment.Missing": 1,
"tests/integration/tests/test-root-site-search.php|WordPress.Arrays.ArrayDeclarationSpacing.AssociativeArrayFound": 2,
"tests/integration/tests/test-root-site-search.php|WordPress.Files.FileName.InvalidClassFileName": 1,
"tests/integration/tests/test-site-assignment-metabox.php|Squiz.Commenting.ClassComment.Missing": 1,
"tests/integration/tests/test-site-assignment-metabox.php|Squiz.Commenting.FileComment.Missing": 1,
"tests/integration/tests/test-site-assignment-metabox.php|Squiz.Commenting.FunctionComment.Missing": 4,
"tests/integration/tests/test-site-assignment-metabox.php|WordPress.Files.FileName.InvalidClassFileName": 1,
"tests/integration/tests/test-site-info-network.php|Generic.Formatting.MultipleStatementAlignment.NotSameWarning": 20,
"tests/integration/tests/test-site-info-network.php|Squiz.Commenting.ClassComment.Missing": 1,
"tests/integration/tests/test-site-info-network.php|Squiz.Commenting.FileComment.Missing": 1,
"tests/integration/tests/test-site-info-network.php|Squiz.Commenting.FunctionComment.Missing": 6,
"tests/integration/tests/test-site-info-network.php|WordPress.Files.FileName.InvalidClassFileName": 1,
"tests/integration/tests/test-site-info-network.php|WordPress.Security.NonceVerification.Missing": 4,
"tests/integration/tests/test-site-info-network.php|WordPress.Security.NonceVerification.Recommended": 4,
"tests/integration/tests/test-site-info-network.php|WordPress.WP.Capabilities.Unknown": 1,
"tests/integration/tests/test-site-info-network.php|WordPress.WP.GlobalVariablesOverride.Prohibited": 12,
"tests/integration/tests/test-upload-paths.php|Generic.Formatting.MultipleStatementAlignment.NotSameWarning": 1,
"tests/integration/tests/test-upload-paths.php|PEAR.Functions.FunctionCallSignature.CloseBracketLine": 2,
"tests/integration/tests/test-upload-paths.php|PEAR.Functions.FunctionCallSignature.ContentAfterOpenBracket": 2,
"tests/integration/tests/test-upload-paths.php|PEAR.Functions.FunctionCallSignature.MultipleArguments": 1,
"tests/integration/tests/test-upload-paths.php|Squiz.Commenting.ClassComment.SpacingAfter": 1,
"tests/integration/tests/test-upload-paths.php|Squiz.Commenting.FileComment.Missing": 1,
"tests/integration/tests/test-upload-paths.php|WordPress.DB.DirectDatabaseQuery.DirectQuery": 1,
"tests/integration/tests/test-upload-paths.php|WordPress.DB.DirectDatabaseQuery.NoCaching": 1,
"tests/integration/tests/test-upload-paths.php|WordPress.DB.SlowDBQuery.slow_db_query_meta_key": 1,
"tests/integration/tests/test-upload-paths.php|WordPress.Files.FileName.InvalidClassFileName": 1,
"tests/integration/tests/test-upload-repair-cli.php|Generic.Files.OneObjectStructurePerFile.MultipleFound": 1,
"tests/integration/tests/test-upload-repair-cli.php|Generic.Formatting.MultipleStatementAlignment.NotSameWarning": 12,
"tests/integration/tests/test-upload-repair-cli.php|PEAR.Functions.FunctionCallSignature.CloseBracketLine": 4,
"tests/integration/tests/test-upload-repair-cli.php|PEAR.Functions.FunctionCallSignature.ContentAfterOpenBracket": 4,
"tests/integration/tests/test-upload-repair-cli.php|PEAR.Functions.FunctionCallSignature.MultipleArguments": 1,
"tests/integration/tests/test-upload-repair-cli.php|Squiz.Commenting.FileComment.MissingPackageTag": 1,
"tests/integration/tests/test-upload-repair-cli.php|Squiz.Commenting.FunctionComment.Missing": 5,
"tests/integration/tests/test-upload-repair-cli.php|Squiz.Commenting.VariableComment.Missing": 2,
"tests/integration/tests/test-upload-repair-cli.php|Universal.NamingConventions.NoReservedKeywordParameterNames.classFound": 1,
"tests/integration/tests/test-upload-repair-cli.php|WordPress.Arrays.ArrayDeclarationSpacing.AssociativeArrayFound": 12,
"tests/integration/tests/test-upload-repair-cli.php|WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned": 6,
"tests/integration/tests/test-upload-repair-cli.php|WordPress.Files.FileName.InvalidClassFileName": 1,
"tests/integration/tests/test-upload-repair-cli.php|WordPress.Security.EscapeOutput.ExceptionNotEscaped": 2,
"tests/integration/tests/test-upload-repair-cli.php|WordPress.WP.AlternativeFunctions.file_system_operations_file_put_contents": 7,
"tests/integration/tests/test-upload-repair-cli.php|WordPress.WP.AlternativeFunctions.unlink_unlink": 8,
"tests/integration/tests/test-upload-repair.php|Generic.Formatting.MultipleStatementAlignment.NotSameWarning": 11,
"tests/integration/tests/test-upload-repair.php|PEAR.Functions.FunctionCallSignature.CloseBracketLine": 19,
"tests/integration/tests/test-upload-repair.php|PEAR.Functions.FunctionCallSignature.ContentAfterOpenBracket": 19,
"tests/integration/tests/test-upload-repair.php|PEAR.Functions.FunctionCallSignature.MultipleArguments": 21,
"tests/integration/tests/test-upload-repair.php|Squiz.Commenting.FileComment.Missing": 1,
"tests/integration/tests/test-upload-repair.php|Squiz.Functions.MultiLineFunctionDeclaration.SpaceAfterFunction": 4,
"tests/integration/tests/test-upload-repair.php|WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned": 9,
"tests/integration/tests/test-upload-repair.php|WordPress.Files.FileName.InvalidClassFileName": 1,
"tests/integration/tests/test-upload-repair.php|WordPress.Security.ValidatedSanitizedInput.InputNotSanitized": 1,
"tests/integration/tests/test-upload-repair.php|WordPress.Security.ValidatedSanitizedInput.MissingUnslash": 1,
"tests/integration/tests/test-upload-repair.php|WordPress.WP.AlternativeFunctions.file_get_contents_file_get_contents": 10,
"tests/integration/tests/test-upload-repair.php|WordPress.WP.AlternativeFunctions.file_system_operations_chmod": 1,
"tests/integration/tests/test-upload-repair.php|WordPress.WP.AlternativeFunctions.file_system_operations_fclose": 2,
"tests/integration/tests/test-upload-repair.php|WordPress.WP.AlternativeFunctions.file_system_operations_file_put_contents": 27,
"tests/integration/tests/test-upload-repair.php|WordPress.WP.AlternativeFunctions.file_system_operations_fopen": 2,
"tests/integration/tests/test-upload-repair.php|WordPress.WP.AlternativeFunctions.file_system_operations_rmdir": 11,
"tests/integration/tests/test-upload-repair.php|WordPress.WP.AlternativeFunctions.unlink_unlink": 39,
"wp-multi-network/includes/classes/class-wp-ms-network-command.php|PEAR.Functions.FunctionCallSignature.MultipleArguments": 4,
"wp-multi-network/includes/classes/class-wp-ms-networks-admin-bar.php|PEAR.Functions.FunctionCallSignature.CloseBracketLine": 10,
"wp-multi-network/includes/classes/class-wp-ms-networks-admin-bar.php|PEAR.Functions.FunctionCallSignature.ContentAfterOpenBracket": 10,
"wp-multi-network/includes/classes/class-wp-ms-networks-admin-bar.php|WordPress.WP.Capabilities.Unknown": 1,
"wp-multi-network/includes/classes/class-wp-ms-networks-admin.php|PEAR.Functions.FunctionCallSignature.CloseBracketLine": 1,
"wp-multi-network/includes/classes/class-wp-ms-networks-admin.php|PEAR.Functions.FunctionCallSignature.ContentAfterOpenBracket": 1,
"wp-multi-network/includes/classes/class-wp-ms-networks-admin.php|WordPress.Security.ValidatedSanitizedInput.MissingUnslash": 7,
"wp-multi-network/includes/classes/class-wp-ms-networks-admin.php|WordPress.WP.Capabilities.Unknown": 15,
"wp-multi-network/includes/classes/class-wp-ms-networks-admin.php|WordPress.WP.GlobalVariablesOverride.Prohibited": 2,
"wp-multi-network/includes/classes/class-wp-ms-networks-list-table.php|WordPress.Security.ValidatedSanitizedInput.MissingUnslash": 1,
"wp-multi-network/includes/classes/class-wp-ms-networks-list-table.php|WordPress.WP.Capabilities.Unknown": 6,
"wp-multi-network/includes/classes/class-wp-ms-rest-networks-controller.php|PEAR.Functions.FunctionCallSignature.MultipleArguments": 16,
"wp-multi-network/includes/classes/class-wp-ms-rest-networks-controller.php|WordPress.WP.Capabilities.Unknown": 4,
"wp-multi-network/includes/classes/class-wp-ms-upload-repair.php|PEAR.Functions.FunctionCallSignature.CloseBracketLine": 1,
"wp-multi-network/includes/classes/class-wp-ms-upload-repair.php|PEAR.Functions.FunctionCallSignature.ContentAfterOpenBracket": 1,
"wp-multi-network/includes/classes/class-wp-ms-upload-repair.php|WordPress.WP.AlternativeFunctions.file_system_operations_chmod": 1,
"wp-multi-network/includes/classes/class-wp-ms-upload-repair.php|WordPress.WP.AlternativeFunctions.file_system_operations_fclose": 7,
"wp-multi-network/includes/classes/class-wp-ms-upload-repair.php|WordPress.WP.AlternativeFunctions.file_system_operations_is_writable": 1,
"wp-multi-network/includes/classes/class-wp-ms-upload-repair.php|WordPress.WP.AlternativeFunctions.unlink_unlink": 1,
"wp-multi-network/includes/functions.php|PEAR.Functions.FunctionCallSignature.CloseBracketLine": 7,
"wp-multi-network/includes/functions.php|PEAR.Functions.FunctionCallSignature.ContentAfterOpenBracket": 7,
"wp-multi-network/includes/functions.php|PEAR.Functions.FunctionCallSignature.MultipleArguments": 6,
"wp-multi-network/includes/functions.php|WordPress.DB.SlowDBQuery.slow_db_query_meta_key": 2,
"wp-multi-network/includes/functions.php|WordPress.WP.GlobalVariablesOverride.Prohibited": 4
}