Skip to content
Snippets Groups Projects
Select Git revision
  • c982edaa791b6391f86ce3cd66f673c05dce7218
  • master default protected
  • bugfix/wordpress-review
  • fix/duplicate
  • bugfix/get_current_screen_fail
  • feature/dismiss-nonce
  • replace-dodgy-path
  • bugfix/notice-not-show
  • devel
  • 3.3.0
  • 3.2.5
  • 3.2.4
  • 3.2.3
  • 3.2.2
  • 3.2.1
  • 3.2.0
  • 3.2.0-beta7
  • 3.2.0-beta6
  • 3.2.0-beta5
  • 3.2.0-beta4
  • 3.2.0-beta3
  • 3.2.0-beta2
  • 3.2.0-beta1
  • 3.1.4
  • 3.1.4-beta1
  • 3.1.3
  • 3.1.1
  • 3.1
  • 3.0
29 results

phpunit-integration.xml

Blame
  • phpcs.xml.dist 1.40 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>
    	<file>./templates</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="enter-plugin-text-domain-here"/>
    
    	<!-- This value should be aligned with WordPress support version declared in plugin header -->
    	<config name="minimum_wp_version" value="5.5"/>
    
    	<!-- Set value aligned with supported PHP Version for PHPCompatibilityWP check. -->
    	<config name="testVersion" value="7.2-"/>
    
    	<rule ref="WPDeskPlugin"/>
    
    </ruleset>