Changeset 53800 for trunk/phpcs.xml.dist
- Timestamp:
- 07/30/2022 02:08:13 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/phpcs.xml.dist
r53749 r53800 164 164 <exclude-pattern>/src/wp-content/themes/(?!twenty)*</exclude-pattern> 165 165 166 <!-- Whitelistthe WP DB Class and related tests for usage of direct database access functions. -->166 <!-- Allow the WP DB Class and related tests for usage of direct database access functions. --> 167 167 <rule ref="WordPress.DB.RestrictedFunctions"> 168 168 <exclude-pattern>/src/wp-includes/class-wpdb\.php</exclude-pattern> … … 170 170 </rule> 171 171 172 <!-- Whitelistthe WP DB related tests for issues with prepared SQL placeholders172 <!-- Allow the WP DB related tests for issues with prepared SQL placeholders 173 173 (as the handling of those are being tested). --> 174 174 <rule ref="WordPress.DB.PreparedSQLPlaceholders.UnfinishedPrepare"> … … 186 186 </rule> 187 187 188 <!-- Whitelist the I18n functions file fromissues identified by the I18n sniff188 <!-- Allow the I18n functions file for issues identified by the I18n sniff 189 189 (such as calling the low-level translate() function). --> 190 190 <rule ref="WordPress.WP.I18n"> … … 208 208 <!-- Exclude checking of line endings when reporting errors, but fix them when running phpcbf. 209 209 Git and SVN manage these pretty well cross-platform as "native". 210 Whitelistconfiguration files. -->210 Allow configuration files. --> 211 211 <rule ref="Generic.Files.LineEndings"> 212 212 <exclude-pattern>/wp-config\.php</exclude-pattern> … … 228 228 </rule> 229 229 230 <!-- Whitelisttest classes for select sniffs. -->230 <!-- Allow test classes for select sniffs. --> 231 231 <rule ref="WordPress.Files.FileName"> 232 232 <properties>
Note: See TracChangeset
for help on using the changeset viewer.