GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Chassis/phpcs: A Chassis extension to install PHP_CodeSniffer on your Chassis box

BranchesTags
Open more actions menu

Latest commit

 

History

20 Commits
20 Commits

Folders and files

NameName
Last commit message
Last commit date
modules/phpcs/manifests
modules/phpcs/manifests
 
 
.gitignore
.gitignore
 
 
.travis.yml
.travis.yml
 
 
README.md
README.md
 
 
chassis.yaml
chassis.yaml
 
 

Repository files navigation

PHP_CodeSniffer

A Chassis extension to install and configure PHP_CodeSniffer with WordPress Coding Standard Sniffs on your server.

Usage

  1. Add this extension to your extensions directory. git clone [email protected]:Chassis/phpcs.git extensions/phpcs
  2. Run vagrant provision
  3. Php_Codesniffer with WordPress Coding Standards has been installed on your Chassis VM!

Why install this on Chassis?

This extension is handy so you can run precommit hooks with git that run phpcs tests on your Chassis box.

For instance you can add a file called precommit inside your .git/hooks folder with the following:

#!/bin/sh

/usr/local/bin/vagrant ssh -- -t 'cd /vagrant/content/; grunt precommit;'

If your project has a precommit grunt task it will run those tests and only let you commit if those tests pass.

About

A Chassis extension to install PHP_CodeSniffer on your Chassis box

Topics

chassischassis-extensionphp-codesnifferphpcswordpress

Resources

Readme
Activity
Custom properties

Stars

1 star

Watchers

3 watching

Forks

2 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.