Current File : /home/kelaby89/muzza.fit/wp-content/plugins/wolf-video-thumbnail-generator/phpcs.xml.dist
<?xml version="1.0"?>
<ruleset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="WordPress Coding Standards">
	<description>A custom PHPCS Ruleset for WordPress Themes and Plugins</description>
	<!-- Check files in this directory and subdirectories. -->
	<file>.</file>
	<!-- Excluse some files -->
	<exclude-pattern>*/wp-config-sample.php</exclude-pattern>
	<exclude-pattern>*/wp-config.php</exclude-pattern>
	<exclude-pattern>./htdocs/index.php</exclude-pattern>
	<!-- Exclude some directories. -->
	<exclude-pattern>*/wp/*</exclude-pattern>
	<exclude-pattern>*/vendor/*</exclude-pattern>
	<exclude-pattern>*/node_modules/*</exclude-pattern>
	<!-- Pass flags to PHPCS:
		 p: Show progress of the run.
		 s: Show sniff codes in all reports.
		 v: Print verbose output.
	-->
	<arg value="psv"/>
	<!-- Strip the filepaths down to the relevant bit. Disabled, bug with VSCode. -->
	<!-- <arg name="basepath" value="./"/> -->
	<!-- Only check PHP files. -->
	<arg name="extensions" value="php,css,scss/css"/>

	<!-- <config name="installed_paths" value="C:\Users\const\Local Sites\dev-temp\app\public\wp-content\themes\wolf-supertheme\vendor\wp-coding-standards\wpcs" /> -->

	<!-- Use the WordPress ruleset -->
	<rule ref="WordPress" />
	<!-- Allow theme-specific exceptions to WordPress filename rules. -->
	<rule ref="WordPress.Files.FileName">
		<properties>
			<property name="is_theme" value="true"/>
		</properties>
	</rule>
	<!-- Verify that no WP functions are used which are deprecated or removed. -->
	<rule ref="WordPress.WP.DeprecatedFunctions">
		<properties>
			<property name="minimum_supported_version" value="5.5"/>
		</properties>
	</rule>
	<!-- Check all globals have the expected prefix. -->
	<!-- <rule ref="WordPress.NamingConventions.PrefixAllGlobals">
		<properties>
			<property name="prefixes" type="array">
				<element value="CHILD_THEME"/>
				<element value="CHILD_TEXT_DOMAIN"/>
				<element value="wvc_kses"/>
				<element value="wvc_"/>
				<element value="wolf_"/>
				<element value="wolftheme_"/>
				<element value="woocommerce_"/>
				<element value="ThemeClass_"/>
				<element value="wvc_"/>
				<element value="mptt_"/>
			</property>
		</properties>
	</rule> -->
	<rule ref="WordPress.Arrays.MultipleStatementAlignment">
		<properties>
			<!-- No need to adjust alignment of large arrays when the item with the largest key is removed. -->
			<property name="exact" value="false"/>
			<!-- Don't align multi-line items if ALL items in the array are multi-line. -->
			<property name="alignMultilineItems" value="!=100"/>
			<!-- Array assignment operator should always be on the same line as the array key. -->
			<property name="ignoreNewlines" value="false"/>
		</properties>
	</rule>
	<rule ref="WordPress.WhiteSpace.ControlStructureSpacing">
		<properties>
			<property name="blank_line_check" value="false"/>
		</properties>
	</rule>
	<rule ref="WordPress.Security.EscapeOutput">
	<properties>
			<property name="customAutoEscapedFunctions" type="array">
				<element value="wvc_kses"/>
				<element value="wvc_sanitize_html_classes"/>
				<element value="wvc_esc_style_attr"/>
				<element value="wvc_sample"/>
				<element value="wvc_background_img"/>
				<element value="wvc_post_thumbnail"/>
				<element value="wvc_sanitize_style_attr"/>
			</property>
		</properties>
	</rule>
	<!-- Enforce PSR1 compatible namespaces. -->
	<rule ref="PSR1.Classes.ClassDeclaration"/>
	<rule ref="PSR2.Methods.FunctionClosingBrace"/>
	<!-- Check code for cross-version PHP compatibility. -->
	<config name="testVersion" value="5.5-"/>
</ruleset>
Page not found – Hello World !