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 - streamcommon/coding-standard: StreamCommon Team Coding Standard

BranchesTags
Open more actions menu

Latest commit

 

History

10 Commits
10 Commits

Folders and files

NameName
Last commit message
Last commit date
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
composer.json
composer.json
 
 
composer.lock
composer.lock
 
 
ruleset.xml
ruleset.xml
 
 

Repository files navigation

StreamCommon Team Coding Standard

Latest Stable Version Total Downloads License

Installation

  1. Install the module via composer:
    • Console run:
        composer require --dev streamcommon/coding-standard
    • Or add into your composer.json:
        "require-dev": {
            "streamcommon/coding-standard": "*"
        }
  2. Add composer scripts into your composer.json:
         "scripts": {
             "cs-check": "phpcs",
             "cs-fix": "phpcbf"
         }
  3. Create file phpcs.xml:
        <?xml version="1.0"?>
            <ruleset name="StreamCommon Team Coding Standard">
            <rule ref="./vendor/streamcommon/coding-standard/ruleset.xml"/>
            <file>bin</file>
            <file>config</file>
            <file>lib</file>
            <file>src</file>
            <file>test</file>
        </ruleset>

Usage

Run: composer cs-check OR composer cs-fix

Customize

See https://github.com/squizlabs/PHP_CodeSniffer/wiki/Annotated-ruleset.xml

About

StreamCommon Team Coding Standard

Topics

coding-standartstreamcommon

Resources

Readme
BSD-3-Clause license
Activity
Custom properties

Stars

0 stars

Watchers

1 watching

Forks

1 fork
Report repository

Releases

Packages

Used by

Contributors

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.