File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 9292 Miscellaneous other exclusions.
9393 ========================================================================== -->
9494
95- <!-- This repo complies with PSR 0 for filename conventions. -->
95+ <!-- This repo complies with PSR 4 for filename conventions. -->
9696 <exclude name =" WordPress.Files.FileName" />
9797
9898 <!-- WPCS demands long arrays. We'll be using short arrays from now on. -->
214214 #############################################################################
215215 -->
216216
217- <!-- ==========================================================================
218- Package code
219- ========================================================================== -->
220-
221- <!-- Don't rename existing classes to prevent a BC break. -->
222- <rule ref =" PEAR.NamingConventions.ValidClassName.Invalid" >
223- <exclude-pattern >*/library/Deprecated\.php$</exclude-pattern >
224- </rule >
225-
226- <rule ref =" Generic.Files.OneObjectStructurePerFile.MultipleFound" >
227- <exclude-pattern >*/library/Deprecated\.php$</exclude-pattern >
228- </rule >
229-
230217 <!-- ==========================================================================
231218 Example code
232219 ========================================================================== -->
233220
234- <!-- Using short arrays in example code is fine. -->
235- <rule ref =" Generic.Arrays.DisallowShortArraySyntax.Found" >
236- <exclude-pattern >/examples/cookie_jar\.php$</exclude-pattern >
237- </rule >
238-
239221 <!-- Using var_dump() in example code is fine. -->
240222 <rule ref =" WordPress.PHP.DevelopmentFunctions.error_log_var_dump" >
241223 <exclude-pattern >/examples/[^/]+\.php$</exclude-pattern >
You can’t perform that action at this time.
0 commit comments