.gitattributes 910 B

1234567891011121314151617181920212223242526272829303132
  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. /composer.lock export-ignore
  10. .gitattributes export-ignore
  11. .gitignore export-ignore
  12. .phpcs.xml export-ignore
  13. .phpcs.xml.dist export-ignore
  14. .travis.yml export-ignore
  15. phpcs.xml export-ignore
  16. phpcs.xml.dist export-ignore
  17. phpmd.xml export-ignore
  18. phpmd.xml.dist export-ignore
  19. phpunit.xml export-ignore
  20. phpunit.xml.dist export-ignore
  21. #
  22. # Auto detect text files and perform LF normalization
  23. # http://davidlaing.com/2012/09/19/customise-your-gitattributes-to-become-a-git-ninja/
  24. #
  25. * text=auto
  26. #
  27. # The above will handle all files NOT found below
  28. #
  29. *.md text
  30. *.php text