Skip to content
Snippets Groups Projects
Select Git revision
  • 26201cc3d11d5bc8f0c5e5b89521a0c35f11c8a8
  • master default protected
  • feat/npm-publish
  • feat/demo-deploy
  • change-demo-deploy
  • remove-smoke
  • feat/acceptance-tests
  • feature/deploy-composer.json
  • feature/mysql-bin-logs
  • skip-codecept-for-libs
  • include-composer-json
  • exclude-wp-assets
  • update_codecept_image
  • fix/silenced-copy
  • remove-free-translations
  • codeception-with-optional-step
  • improve-parallelization
  • linter-exit
  • change-images
  • fix/linter
  • globally-raise-mem-limit
  • no-symlink2
22 results

gitlab-ci-1.2.yml

Blame
  • phpcs.xml.dist 1.41 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_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"/>
    
    </ruleset>