starbug / standard
Starbug coding standard configurations and validation tools.
Installs: 9 502
Dependents: 2
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Language:Shell
Requires
This package is auto-updated.
Last update: 2024-10-18 07:07:03 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/