This repository was archived by the owner on Aug 16, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +15
-13
lines changed
Expand file tree Collapse file tree 4 files changed +15
-13
lines changed Original file line number Diff line number Diff line change 1+ {
2+ "require-dev" : {
3+ "automattic/vipwpcs" : " dev-master" ,
4+ "wp-coding-standards/wpcs" : " ^1.0"
5+ }
6+ }
Original file line number Diff line number Diff line change 2525matrix :
2626 allow_failures :
2727 - php : nightly
28- fast_finish : true
28+ fast_finish : true
2929
3030before_install :
3131 - phpenv config-rm xdebug.ini || true
4747 php : 7.1
4848 - stage : test
4949 php : nightly
50- - stage : sniff
51- php : 7.2
52- script : composer check-style
Original file line number Diff line number Diff line change 6363 }
6464 },
6565 "scripts" : {
66- "check-style" : " phpcs --standard=ruleset.xml -- colors -p -s . " ,
66+ "check-style" : " phpcs --colors -p" ,
6767 "pretag" : [
6868 " composer update" ,
6969 " @test" ,
70+ " @check-style" ,
7071 " composer normalize" ,
7172 " doctoc README.md" ,
7273 " github_changelog_generator --no-verbose"
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" ?>
2- <ruleset name =" PSR 2 plus WordPress Coding Standards" >
3-
4- <description >PSR 2 plus WordPress Coding Standards</description >
5-
6- <config name =" installed_paths" value =" vendor/wp-coding-standards/wpcs,vendor/automattic/vipwpcs" />
7- <config name =" minimum_supported_wp_version" value =" 4.9" />
8-
2+ <ruleset name =" PSR2PlusWordPress" >
93 <file >./</file >
104 <exclude-pattern >/tests/*</exclude-pattern >
115 <exclude-pattern >/vendor/*</exclude-pattern >
126
13- <rule ref =" PSR2" />
7+ <arg value =" s" />
8+ <config name =" installed_paths" value =" vendor/wp-coding-standards/wpcs,vendor/automattic/vipwpcs" />
9+ <config name =" minimum_supported_wp_version" value =" 4.9" />
1410
11+ <rule ref =" PSR2" />
12+ <rule ref =" WordPressVIPMinimum" />
1513 <rule ref =" WordPress" >
1614 <exclude name =" Generic.Classes.OpeningBraceSameLine.BraceOnNewLine" />
1715 <exclude name =" Generic.Formatting.MultipleStatementAlignment.NotSameWarning" />
You can’t perform that action at this time.
0 commit comments