.gitattributes 781 B

123456789101112131415161718192021222324252627
  1. #
  2. # Exclude these files from release archives.
  3. # This will also make them unavailable when using Composer with `--prefer-dist`.
  4. # If you develop using Composer, use `--prefer-source`.
  5. # https://www.reddit.com/r/PHP/comments/2jzp6k/i_dont_need_your_tests_in_my_production
  6. # https://blog.madewithlove.be/post/gitattributes/
  7. #
  8. /unitTests export-ignore
  9. .gitattributes export-ignore
  10. .gitignore export-ignore
  11. .phpcs.xml export-ignore
  12. .phpcs.xml.dist export-ignore
  13. /composer.lock export-ignore
  14. phpcs.xml.dist export-ignore
  15. phpunit.xml.dist export-ignore
  16. #
  17. # Auto detect text files and perform LF normalization
  18. # http://davidlaing.com/2012/09/19/customise-your-gitattributes-to-become-a-git-ninja/
  19. #
  20. * text=auto
  21. #
  22. # The above will handle all files NOT found below
  23. #
  24. *.md text
  25. *.php text