skyverge/php-coding-standards

SkyVerge PHP Coding Standards

Maintainers

Package info

github.com/godaddy-wordpress/php-coding-standards

Type:phpcodesniffer-standard

pkg:composer/skyverge/php-coding-standards

Transparency log

Statistics

Installs: 0

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 2

1.0.0 2026-07-30 14:30 UTC

This package is not auto-updated.

Last update: 2026-08-11 14:01:20 UTC


README

This is the PHP Codesniffer ruleset that contains the PHP coding standards for SkyVerge.

Rulesets

  • SkyVerge_PHP_Base - Legacy SkyVerge coding style rules (mostly deprecated).
  • SkyVerge_Woo_Functions - Defines custom WooCommerce and SkyVerge escaping and sanitization functions.
  • WooCommerce_Marketplace_Security - Security configuration used by WooCommerce Marketplace QIT security scans.
  • SkyVerge_Woo_Security - Combines WooCommerce security scanning with SkyVerge custom functions. This is the recommended ruleset for SkyVerge PHPCS workflows and configurations.

Sample config file

<?xml version="1.0"?>
<ruleset name="SkyVerge WooCommerce Plugin">
	<description>SkyVerge Plugin Codesniffer configuration</description>

	<file>.</file>

	<exclude-pattern>*/i18n/*</exclude-pattern>
	<exclude-pattern>*/lib/*</exclude-pattern>
	<exclude-pattern>*/vendor/*</exclude-pattern>
	<exclude-pattern>*/node_modules/*</exclude-pattern>
	<exclude-pattern>*/build/*</exclude-pattern>
	<exclude-pattern>*/tests/*</exclude-pattern>

	<rule ref="SkyVerge_Woo_Security" />

</ruleset>