mirror of
https://github.com/WenPai-org/wp-domain-mapping.git
synced 2025-08-07 17:57:16 +08:00
集成自动更新服务器
This commit is contained in:
parent
bf7b3f2506
commit
386d10cac3
124 changed files with 13116 additions and 0 deletions
21
lib/plugin-update-checker/phpcs.xml
Normal file
21
lib/plugin-update-checker/phpcs.xml
Normal file
|
@ -0,0 +1,21 @@
|
|||
<?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>
|
Loading…
Add table
Add a link
Reference in a new issue