ChromatixAU / phpcs-config-chromatix

Chromatix custom config for phpcs. Based heavily on the WordPress Coding Standards but with some of our own too.
https://www.chromatix.com.au
MIT License
1 stars 0 forks source link

Look into the WP replacement functions (including VIP) for eg. file_get_contents and see whether we should implement and use them, then reinstate the rule that requires them #11

Open tdmalone opened 7 years ago

tdmalone commented 7 years ago

Currently excluded until we can do this:

<exclude name="WordPress.VIP.RestrictedFunctions.file_get_contents"/>
<exclude name="WordPress.VIP.RestrictedFunctions.file_get_contents_file_get_contents"/>
<exclude name="WordPress.WP.AlternativeFunctions.file_get_contents"/>
<exclude name="WordPress.WP.AlternativeFunctions.file_get_contents_file_get_contents"/>
<exclude name="WordPress.WP.AlternativeFunctions.file_system_read_file_get_contents"/>