Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
Automatically Paginate Posts
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
WP Plugins
Automatically Paginate Posts
Merge requests
!1
Add automated WP.org deploys
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Add automated WP.org deploys
add/wp-auto-deploy
into
master
Overview
0
Commits
3
Pipelines
2
Changes
15
Merged
Erick Hitter
requested to merge
add/wp-auto-deploy
into
master
6 years ago
Overview
0
Commits
3
Pipelines
2
Changes
1
Expand
0
0
Merge request reports
Compare
version 1
version 1
7ea7289d
6 years ago
master (base)
and
latest version
latest version
55f633aa
3 commits,
6 years ago
version 1
7ea7289d
2 commits,
6 years ago
Show latest version
1 file
+
1
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
.phpcs.xml.dist
0 → 100644
+
50
−
0
Options
<?xml version="1.0"?>
<ruleset
name=
"Automatically Paginate Posts"
>
<description>
Generally-applicable sniffs for WordPress plugins.
</description>
<!-- What to scan -->
<file>
.
</file>
<exclude-pattern>
/vendor/
</exclude-pattern>
<exclude-pattern>
/node_modules/
</exclude-pattern>
<exclude-pattern>
/tests/*
</exclude-pattern>
<!-- How to scan -->
<!-- Usage instructions: https://github.com/squizlabs/PHP_CodeSniffer/wiki/Usage -->
<!-- Annotated ruleset: https://github.com/squizlabs/PHP_CodeSniffer/wiki/Annotated-ruleset.xml -->
<arg
value=
"sp"
/>
<!-- Show sniff and progress -->
<arg
name=
"basepath"
value=
"./"
/>
<!-- Strip the file paths down to the relevant bit -->
<arg
name=
"colors"
/>
<arg
name=
"extensions"
value=
"php"
/>
<arg
name=
"parallel"
value=
"8"
/>
<!-- Enables parallel processing when available for faster results. -->
<!-- Rules: Check PHP version compatibility -->
<!-- https://github.com/PHPCompatibility/PHPCompatibility#sniffing-your-code-for-compatibility-with-specific-php-versions -->
<config
name=
"testVersion"
value=
"7.2-"
/>
<!-- https://github.com/PHPCompatibility/PHPCompatibilityWP -->
<rule
ref=
"PHPCompatibilityWP"
/>
<!-- Rules: WordPress Coding Standards -->
<!-- https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards -->
<!-- https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/wiki/Customizable-sniff-properties -->
<config
name=
"minimum_supported_wp_version"
value=
"3.4"
/>
<rule
ref=
"WordPress"
/>
<rule
ref=
"WordPressVIPMinimum"
/>
<rule
ref=
"WordPress-VIP-Go"
/>
<rule
ref=
"WordPress.NamingConventions.PrefixAllGlobals"
>
<properties>
<!-- Value: replace the function, class, and variable prefixes used. Separate multiple prefixes with a comma. -->
<property
name=
"prefixes"
type=
"array"
value=
"automatically_paginate_posts"
/>
</properties>
</rule>
<rule
ref=
"WordPress.WP.I18n"
>
<properties>
<!-- Value: replace the text domain used. -->
<property
name=
"text_domain"
type=
"array"
value=
"autopaging"
/>
</properties>
</rule>
<rule
ref=
"WordPress.WhiteSpace.ControlStructureSpacing"
>
<properties>
<property
name=
"blank_line_check"
value=
"true"
/>
</properties>
</rule>
</ruleset>
Loading