Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

replace bluehost cs rule package with newfold equivalent #15

Merged
merged 1 commit into from
Mar 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 3 additions & 11 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,6 @@
"only": [
"newfold-labs/*"
]
},
{
"type": "composer",
"url": "https://bluehost.github.io/satis/",
"only": [
"bluehost/*",
"mojoness/*"
]
}
],
"autoload": {
Expand All @@ -29,14 +21,14 @@
]
},
"require-dev": {
"bluehost/wp-php-standards": "^1.1"
"newfold-labs/wp-php-standards": "^1.2"
},
"scripts": {
"fix": [
"vendor/bin/phpcbf . --standard=Bluehost"
"vendor/bin/phpcbf . --standard=phpcs.xml"
],
"lint": [
"vendor/bin/phpcs . --standard=Bluehost -s"
"vendor/bin/phpcs . --standard=phpcs.xml -s"
]
},
"scripts-descriptions": {
Expand Down
142 changes: 74 additions & 68 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions phpcs.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0"?>
<ruleset name="Project Rules">
<rule ref="Bluehost" />
<ruleset name="Data-Module">
<rule ref="Newfold"/>
<config name="testVersion" value="5.6-"/>
<config name="minimum_supported_wp_version" value="4.7"/>
</ruleset>