cogentParadigm / starbug-standard

Starbug PHP coding standard and testing tools.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Starbug Coding Standard

This package provides coding standard specifications and validation tools including phpcs and PHPMD.

Installation

Install this package with composer.

composer require --dev starbug/standard

Git pre-commit hook

Install the git pre-commit hook:

ln -s vendor/starbug/standard/git/pre-commit .git/hooks/pre-commit
ln -s vendor/starbug/standard/git/config .git/hooks/config

VSCode workspace settings

Install the VSCode workspace settings by copying them into the .vscode directory in your workspace root:

mkdir -p .vscode
cp vendor/starbug/standard/.vscode/settings.json .vscode/

About

Starbug PHP coding standard and testing tools.

License:MIT License


Languages

Language:Shell 100.0%