<?xml version="1.0"?>
<ruleset name="MarkSimple Ruleset">
	<!-- See https://github.com/squizlabs/PHP_CodeSniffer/wiki/Annotated-ruleset.xml -->
	<!-- @see https://github.com/squizlabs/PHP_CodeSniffer/wiki/Advanced-Usage#using-a-default-configuration-file -->
	<description>Store the rule set changes for default packages.</description>

	<file>*.php</file>
	<file>test/*.php</file>

	<exclude-pattern>vendor/*</exclude-pattern>
	<exclude-pattern>node_modules/*</exclude-pattern>
	<exclude-pattern>*.min.js</exclude-pattern>

	<!-- I write lot of WordPress stuff, so that I use this rules also on NonWordPress topics. -->
	<!-- Include the WordPress ruleset, with exclusions. -->

	<rule ref="PSR2">
	</rule>
</ruleset>
<?xml version="1.0"?>
<ruleset name="MarkSimple Ruleset">
	<!-- See https://github.com/squizlabs/PHP_CodeSniffer/wiki/Annotated-ruleset.xml -->
	<!-- @see https://github.com/squizlabs/PHP_CodeSniffer/wiki/Advanced-Usage#using-a-default-configuration-file -->
	<description>Store the rule set changes for default packages.</description>

	<file>src/*.php</file>
	<file>test/*.php</file>
	<file>tests/*.php</file>

	<exclude-pattern>vendor/*</exclude-pattern>
	<exclude-pattern>node_modules/*</exclude-pattern>
	<exclude-pattern>*.min.js</exclude-pattern>

	<!-- I write lot of WordPress stuff, so that I use this rules also on NonWordPress topics. -->
	<!-- Include the WordPress ruleset, with exclusions. -->

	<rule ref="PSR2">
	</rule>
</ruleset>
Set psr rules only for php files
Set psr rules only for php files
