Skip to content

Commit

Permalink
Merge pull request #154 from yousan/master
Browse files Browse the repository at this point in the history
Add PHPCompatibility sniffs to scaffolded
  • Loading branch information
schlessera authored Jun 3, 2018
2 parents 0dfa5e9 + f1e3e53 commit fa6dd6a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions features/scaffold.feature
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,11 @@ Feature: WordPress code scaffolding
.git
.gitignore
"""
And the {PLUGIN_DIR}/hello-world/phpcs.xml.dist file should contain:
"""
<rule ref="PHPCompatibility"/>
<config name="testVersion" value="5.3-"/>
"""
And the {PLUGIN_DIR}/hello-world/hello-world.php file should contain:
"""
* Plugin Name: Hello World
Expand Down

0 comments on commit fa6dd6a

Please sign in to comment.