mirror of
https://gh.wpcy.net/https://github.com/WordPress/WordPress-Coding-Standards.git
synced 2026-04-26 00:02:20 +08:00
... whenever possible. Includes replacing some URLs with alternatives if the original URL no longer contained the relevant information, though only the URLs prefixed with `http:` have been verified, not all URLs. Includes removing/replacing a few URLs if the page referenced either doesn't exist anymore or no longer contains the relevant information. Including making sure that links to the PHP manual use language agnostic links. Also, URLs used in test case files have not been verified, though some have been changed to `https`. Some have been left as `http` though to make sure that if a sniff is checking the contents of text/docs and looking for URLs, both `http` as well as `https` URLs are recognized and tested.
27 lines
698 B
Text
27 lines
698 B
Text
#
|
|
# Exclude these files from release archives.
|
|
# This will also make them unavailable when using Composer with `--prefer-dist`.
|
|
# If you develop for WPCS using Composer, use `--prefer-source`.
|
|
# https://blog.madewithlove.be/post/gitattributes/
|
|
#
|
|
/.gitattributes export-ignore
|
|
/.gitignore export-ignore
|
|
/.phpcs.xml.dist export-ignore
|
|
/phpunit.xml.dist export-ignore
|
|
/.github export-ignore
|
|
/bin export-ignore
|
|
/Tests export-ignore
|
|
/WordPress/Tests export-ignore
|
|
|
|
#
|
|
# Auto detect text files and perform LF normalization
|
|
# https://pablorsk.medium.com/be-a-git-ninja-the-gitattributes-file-e58c07c9e915
|
|
#
|
|
* text=auto
|
|
|
|
#
|
|
# The above will handle all files NOT found below
|
|
#
|
|
*.md text
|
|
*.php text
|
|
*.inc text
|