HEX
Server: Apache
System: Linux efa57bbe-abb1-400d-2985-3b056fbc2701.secureserver.net 6.1.147-1.el9.elrepo.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Jul 24 12:33:32 EDT 2025 x86_64
User: root (0)
PHP: 8.0.30.4
Disabled: NONE
Upload Files
File: //var/www/wp-content/mu-plugins/vendor/wpex/stock-photos/phpcs.xml
<?xml version="1.0"?>
<ruleset name="wp-stock-photos">
	<description>Rules for wp-stock-photos</description>

    <arg name="extensions" value="php" />
    <arg name="basepath" value="./" />
    <file>./</file>

    <exclude-pattern>*/build/*</exclude-pattern>
    <exclude-pattern>*/dist/*</exclude-pattern>
    <exclude-pattern>*/vendor/*</exclude-pattern>
    <exclude-pattern>*/node_modules/*</exclude-pattern>
	<exclude-pattern>*/wordpress*/*</exclude-pattern>
    <exclude-pattern>*/\.*</exclude-pattern>
    <exclude-pattern>*/.dev/*</exclude-pattern>

	<arg name="colors"/>
	<arg value="sp"/>

	<!-- Let's also check that everything is properly documented. -->
	<!-- <rule ref="WordPress-Docs"/> -->

	<!-- Check for PHP cross-version compatibility. -->
	<config name="testVersion" value="7.3-"/>
	<rule ref="PHPCompatibilityWP"/>
	<rule ref="WordPress.Security">
		<exclude name="WordPress.Security.ValidatedSanitizedInput"/>
		<exclude name="WordPress.Security.NonceVerification.Recommended"/>
	</rule>

	<!--
	To get the optimal benefits of using WPCS, we should add a couple of
	custom properties.
	Adjust the values of these properties to fit our needs.

	For information on additional custom properties available, check out
	the wiki:
	https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/wiki/Customizable-sniff-properties
	-->
	<config name="minimum_supported_wp_version" value="5.0.0"/>

	<rule ref="WordPress.WP.I18n">
		<properties>
			<property name="text_domain" value="stock-photos"/>
		</properties>
	</rule>

</ruleset>