starbug/standard

There is no license information available for the latest version (v1.2) of this package.

Starbug coding standard configurations and validation tools.

v1.2 2020-02-16 00:21 UTC

This package is auto-updated.

Last update: 2024-04-18 06:14:47 UTC


README

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/