alexskrypnyk / shell-var-lint
Lint and fix shell vars to ${VAR} format.
Fund package maintenance!
Patreon
Installs: 642
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 2
pkg:composer/alexskrypnyk/shell-var-lint
Requires
- php: >=8.1
Requires (Dev)
- dealerdirect/phpcodesniffer-composer-installer: ^1
- drupal/coder: ^8.3
- phpmd/phpmd: ^2.13
- phpstan/phpstan: ^1.10
- phpunit/phpunit: ^10
This package is auto-updated.
Last update: 2024-03-07 22:37:46 UTC
README
The functionality of this utility was moved to https://github.com/AlexSkrypnyk/shellvar
shell-var-lint
Lint and fix shell vars to ${VAR}
format.
Features
- Report on shell variables that are not in
${VAR}
format. - Fix shell variables that are not in
${VAR}
format.
Installation
composer require --dev alexskrypnyk/shell-var-lint
Usage
# Lint file.
vendor/bin/shell-var-lint <file>
# Fix file.
vendor/bin/shell-var-lint <file> --fix
Maintenance
composer install
composer lint
composer test