Skip to content
Snippets Groups Projects
Select Git revision
  • 2d5cb9e473bb8ede4fa2290b74f03115aba275f5
  • master default protected
  • feat/message-handling
  • feat/request-id
  • 1.13.2
  • 1.13.1
  • 1.13.0
  • 1.12.1
  • 1.12.0
  • 1.11.0
  • 1.11.0-beta2
  • 1.11.0-beta1
  • 1.10.2
  • 1.10.1
  • 1.10.0
  • 1.9.0
  • 1.8.0
  • 1.7.4
  • 1.7.3
  • 1.7.2
  • 1.7.1
  • 1.7.0
  • 1.6.2
  • 1.6.2-beta2
24 results

phpcs.xml.dist

Blame
  • phpcs.xml.dist 1.54 KiB
    <?xml version="1.0"?>
    <ruleset name="WordPress Coding Standards for WP Desk Plugin">
    
    	<!--
    	#############################################################################
    	COMMAND LINE ARGUMENTS
    	https://github.com/squizlabs/PHP_CodeSniffer/wiki/Annotated-ruleset.xml
    	#############################################################################
    	-->
    
    	<!-- Scan all files. -->
    	<file>./src</file>
    
    	<!-- Only check PHP files. -->
    	<arg name="extensions" value="php"/>
    
    	<!-- Show progress, show the error codes for each message (source). -->
    	<arg value="sp"/>
    
    	<!-- Check up to 8 files simultaneously. -->
    	<arg name="parallel" value="8"/>
    
    	<!-- Cache outcomes for better performance. Remember to add the file to .gitignore. -->
    	<arg name="cache" value="./.phpcs-cache"/>
    
    	<!--
    	#############################################################################
    	USE THE WPDeskCS RULESET
    	#############################################################################
    	-->
    
    	<!-- Define plugin text domain for i18n. -->
    	<config name="text_domain" value="wp-logs"/>
    
    	<!-- This value should be aligned with WordPress support version declared in plugin header -->
    	<config name="minimum_supported_wp_version" value="5.0"/>
    
    	<!-- Set value aligned with supported PHP Version for PHPCompatibilityWP check. -->
    	<config name="testVersion" value="7.0-"/>
    
    	<rule ref="WPDeskPlugin"/>
    
    	<!--
    	##############################################################################
    	CUSTOM RULES
    	##############################################################################
    	-->
    </ruleset>