Fix your files indent based on .editorconfig
This CLI tool fixes text files based on given .editorconfig declarations.
This allows you to automatically ensure EditorConfig declarations during your CI and development processes.
composer require tomasvotruba/editorconfig-fixer --dev
vendor/bin/ec-fixer <paths> --suffix yaml