# Git Attributes Configuration
# https://git-scm.com/docs/gitattributes

# Normalize line endings to LF for all text files
* text=auto eol=lf

# Export-ignore patterns (for composer archive)
# Development and CI/CD files
/.github                export-ignore

# Configuration files
/.editorconfig          export-ignore
/.gitattributes         export-ignore
/.gitignore             export-ignore
/.php-cs-fixer.dist.php export-ignore
/.php-cs-fixer.cache    export-ignore
/.phplint.yml           export-ignore
/.php-version           export-ignore
/.gitmessage            export-ignore

# Development tools and configs
/bin/php-cs-fixer       export-ignore
/bin/phpbench           export-ignore
/bin/phpcs              export-ignore
/bin/phplint            export-ignore
/bin/phpstan            export-ignore
/bin/rector             export-ignore
/bin/phpunit            export-ignore
/phpbench.yml           export-ignore
/phpbench.json          export-ignore
/phpstan.dist.neon      export-ignore
/rector.php             export-ignore
/phpunit.dist.xml       export-ignore
/taskfile.dist.yaml     export-ignore
/box.json               export-ignore
/phpstan-baseline.neon  export-ignore

# Development documentation
/CODE_OF_CONDUCT.md     export-ignore
/CONTRIBUTING.md        export-ignore
/SECURITY.md            export-ignore
/README.md              export-ignore
/UPGRADE.md             export-ignore

# Directories not needed in distribution
/art                    export-ignore
/benchmarks             export-ignore
/corpus                 export-ignore
/docs                   export-ignore
/tests                  export-ignore
/tools                  export-ignore
/.task                  export-ignore
/.cache                  export-ignore

# Additional files not needed in distribution
/bin/build              export-ignore
/bin/regex.phar         export-ignore
/CHANGELOG.md           export-ignore
/regex.dist.json        export-ignore

# PHP files
*.php text eol=lf diff=php
