# imsanity/trunk/phpcs.ruleset.xml

Imsanity, version trunk. 31 lines.

- Page: https://pluginprobe.com/plugins/imsanity/trunk/code/phpcs.ruleset.xml
- Raw: https://pluginprobe.com/plugins/imsanity/trunk/raw/phpcs.ruleset.xml
- Modified: 2025-08-06T17:19:10+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/imsanity/trunk/code/phpcs.ruleset.xml#L10-L20`.

```xml
<?xml version="1.0"?>
<ruleset name="WordPress Coding Standards for Plugins">
	<description>Generally-applicable sniffs for WordPress plugins</description>

	<exclude-pattern>*/vendor/*</exclude-pattern>
	<exclude-pattern>*/tests/*</exclude-pattern>

	<rule ref="WordPress-Core" />
	<rule ref="WordPress-Docs" />
	<rule ref="WordPress.PHP.NoSilencedErrors">
		<properties>
			<property name="customAllowedFunctionsList" type="array">
				<element value="exif_read_data"/>
			</property>
		</properties>
	</rule>

	<config name="testVersion">7.4-</config>
	<rule ref="PHPCompatibilityWP">
		<severity>10</severity>
	</rule>

	<rule ref="WordPress.Security">
		<severity>10</severity>
	</rule>

	<rule ref="WordPress.DB.PreparedSQL">
		<severity>10</severity>
	</rule>
</ruleset>

```
