https://github.com/jakubboucek/convert-spaces-indentation-to-tabs
Very simple CLI tool to batch convert spaces indentations to tabs in PHP files
https://github.com/jakubboucek/convert-spaces-indentation-to-tabs
Last synced: 4 months ago
JSON representation
Very simple CLI tool to batch convert spaces indentations to tabs in PHP files
- Host: GitHub
- URL: https://github.com/jakubboucek/convert-spaces-indentation-to-tabs
- Owner: jakubboucek
- License: mit
- Created: 2015-10-19T03:42:17.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-12-28T04:06:44.000Z (over 9 years ago)
- Last Synced: 2025-01-08T11:47:09.719Z (6 months ago)
- Language: PHP
- Homepage:
- Size: 1.95 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Convert spaces indentation to tabs in PHP files
Very simple CLI too to batch convert spaces indentations to tabs in PHP files with inteligent space counts grouping.```bash
user@dir: find /path/to/files/ -type f -name '*.php' -exec php /path/to/convert-tabs.php {} \;
```If file looks good (spaces are consistently), file is converted without backup.
Tool detect inconsistencies, like a one some odd spaces indentated row between even spaces.