Create .gitattributes with lean-package-validator
Follow these steps from the repository root:
- •Run
./vendor/bin/lean-package-validator validate --createto generate a .gitattributes file with all expected export-ignore entries. - •If you want aligned export-ignore columns, add
--align-export-ignores. - •If you do not want the generated header comment, add
--omit-header. - •If a
.lpvfile exists, it will be used automatically; otherwise the default PHP preset is used.
If the command reports missing patterns, re-run with --create after verifying the repository root is correct.