Skip to content

Oosik/wp-phpcs-all

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Install

This is designed to be used with eightshift.

To your composer.json add:

"repositories": [
    {
        "type": "vcs",
        "url": "https://github.com/Oosik/wp-phpcs-all"
    }
]

Run composer update

Run composer require Oosik/wp-phpcs-all --dev

Then add your scripts

"scripts": {
    "standards:fixall": "bash ./vendor/oosik/wp-phpcs-all/run.sh fix",
    "standards:checkall": "bash ./vendor/oosik/wp-phpcs-all/run.sh check"
},

You should now be able to run composer run standards:checkall and composer run standards:fixall

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages