alexskrypnyk / shell-var-lint
This package is abandoned and no longer maintained.
No replacement package was suggested.
Lint and fix shell vars to ${VAR} format.
Fund package maintenance!
Patreon
0.3.0
2023-12-18 06:28 UTC
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