HEX
Server: Apache/2
System: Linux s01 6.1.0-34-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.135-1 (2025-04-25) x86_64
User: beestg (1003)
PHP: 8.3.25
Disabled: exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: /home/beestg/public_html/wp-content/plugins/mailpoet/vendor/mailpoet/email-editor/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>