mirror of
https://gh.wpcy.net/https://github.com/WordPress/WordPress-Coding-Standards.git
synced 2026-04-26 00:02:20 +08:00
The duplicates of the PHPCS 2.x test controller files can now be removed. We also no longer need to load our `PHPCSAliases` file, not even for the autoloading of the abstract classes as PHPCS 3.1.0+handles this without problem. For PHPUnit 7.x support, PHPCS does need a bootstrap file, but that is included with PHPCS, so all we need to do is reference that file in the command send to PHPUnit.
25 lines
654 B
Text
25 lines
654 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/
|
|
#
|
|
/.travis.yml export-ignore
|
|
/.phpcs.xml.dist export-ignore
|
|
/phpunit.xml.dist export-ignore
|
|
/.github export-ignore
|
|
/bin export-ignore
|
|
/WordPress/Tests export-ignore
|
|
|
|
#
|
|
# Auto detect text files and perform LF normalization
|
|
# http://davidlaing.com/2012/09/19/customise-your-gitattributes-to-become-a-git-ninja/
|
|
#
|
|
* text=auto
|
|
|
|
#
|
|
# The above will handle all files NOT found below
|
|
#
|
|
*.md text
|
|
*.php text
|
|
*.inc text
|