Skip to content
Snippets Groups Projects
Select Git revision
  • d6c43c7620e631cedad0d608e92d9766809481e6
  • master default protected
  • devel
  • feature/add-escaping-to-templates
  • feature/add-priority-sorting
  • 3.3.0
  • 3.2.1
  • 3.2.0
  • 3.1.0
  • 3.0.0
  • 2.4.12
  • 2.4.11
  • 2.4.10
  • 2.4.9
  • 2.4.8
  • 2.4.7
  • 2.4.6
  • 2.4.5
  • 2.4.4
  • 2.4.2
  • 2.4.1
  • 2.4.0
  • 2.3.2
  • 2.3.1
  • 2.3
25 results

input.php

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>