mirror of
https://github.com/WenPai-org/wpslug.git
synced 2025-08-03 21:49:46 +08:00
Added the Plugin Update Checker library under lib/plugin-update-checker and integrated it into WPSlug_Core for automatic update checks. This enables update notifications and management for the plugin via a remote JSON metadata file.
21 lines
819 B
XML
21 lines
819 B
XML
<?xml version="1.0"?>
|
|
<ruleset name="PUC_PHPCS_Settings">
|
|
<description>PHPCS settings for Plugin Update Checker</description>
|
|
|
|
<arg name="basepath" value="."/>
|
|
<arg name="warning-severity" value="5"/>
|
|
<arg name="error-severity" value="5"/>
|
|
<arg value="sp"/>
|
|
|
|
<!-- Check the current directory by default -->
|
|
<file>./</file>
|
|
|
|
<!-- Include the WordPress-VIP-Go standard -->
|
|
<rule ref="WordPress-VIP-Go">
|
|
<!-- This library is not exclusive to WP VIP, so it doesn't use vip_safe_wp_remote_get() and such. -->
|
|
<exclude name="WordPressVIPMinimum.Functions.RestrictedFunctions.wp_remote_get_wp_remote_get" />
|
|
</rule>
|
|
|
|
<!-- Exclude external and third-party libraries -->
|
|
<exclude-pattern type="relative">^vendor/*</exclude-pattern>
|
|
</ruleset>
|