Uname: Linux webm012.cluster130.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
Software: Apache
PHP version: 8.0.30 [ PHP INFO ] PHP os: Linux
Server Ip: 145.239.37.162
Your Ip: 216.73.216.190
User: dreampi (1009562) | Group: users (100)
Safe Mode: OFF
Disable Function:
_dyuweyrj4,_dyuweyrj4r,dl

name : phpcs.xml
<?xml version="1.0"?>
<ruleset name="Custom WordPress Standards">
	<!-- Set the base standard to WordPress -->
	<rule ref="WordPress"/>

	<!-- Define files and folders to scan -->
	<file>.</file>

	<!-- Exclude test files from FileName rules because we need to match Codeception autoload -->
	<rule ref="WordPress.Files.FileName">
		<exclude-pattern>tests/*</exclude-pattern>
	</rule>

	<!-- We should use WP_Filesystem or another safer solution but this change can be more complex -->
	<rule ref="WordPress.WP.AlternativeFunctions.file_get_contents_file_get_contents">
		<exclude-pattern>src</exclude-pattern>
	</rule>

	<!-- Exclude bootstrap from the SeparateFunctionsFromOO.Mixed rule -->
	<rule ref="Universal.Files.SeparateFunctionsFromOO.Mixed">
		<exclude-pattern>tests/unit/_bootstrap.php</exclude-pattern>
	</rule>

	<!-- Exclude test files from the PSR2.Methods.MethodDeclaration.Underscore rule due to methods _after() and _before() -->
	<rule ref="PSR2.Methods.MethodDeclaration.Underscore">
		<exclude-pattern>tests/integration</exclude-pattern>
		<exclude-pattern>tests/unit</exclude-pattern>
	</rule>

	<!-- Skip the vendor directory -->
	<exclude-pattern>vendor/*</exclude-pattern>
</ruleset>
© 2026 GrazzMean-Shell