Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: PHPCSStandards/PHP_CodeSniffer
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 3.5.0
Choose a base ref
...
head repository: PHPCSStandards/PHP_CodeSniffer
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Loading
Showing 1,824 changed files with 111,394 additions and 20,358 deletions.
72 changes: 72 additions & 0 deletions .cspell.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
{
"language": "en-GB",
"dictionaries": ["php"],
"allowCompoundWords": true,
"ignorePaths": [
"src/Standards/*/Tests/*/*.{inc,js,css}",
"src/Standards/*/Tests/*/*.{inc,js,css}.fixed"
],
"ignoreRegExpList": ["email", "^\\s+\\*\\s+@(author|copyright)\\s+.*$"],
"words": [
"analyzer",
"analyzing",
"asperand",
"autoload",
"autoloaded",
"autoloaders",
"autoloading",
"basepath",
"bom",
"changeset",
"changesets",
"checkstyle",
"codesniffer",
"cyclomatic",
"cygwin",
"decrementor",
"devnull",
"dnumber",
"docblock",
"encapsed",
"gjslint",
"groupid",
"gsjlint",
"hashbang",
"heredoc",
"hgblame",
"jquery",
"junit",
"kernighan",
"lnumber",
"markup",
"minified",
"mins",
"nekudotayim",
"nowdoc",
"paamayim",
"pcre",
"php's",
"phpcbf",
"phpcs",
"phpunit",
"recurse",
"recurses",
"refs",
"retval",
"ruleset",
"rulesets",
"secs",
"squiz",
"standard's",
"stty",
"studly",
"symlink",
"symlinks",
"tokeniser",
"tostring",
"unary",
"wnohang",
"xmlwriter",
"yoda"
]
}
32 changes: 27 additions & 5 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,5 +1,27 @@
.travis.yml export-ignore
package.xml export-ignore
phpunit.xml.dist export-ignore
php5-testingConfig.ini export-ignore
php7-testingConfig.ini export-ignore
#
# Exclude these files from release archives.
# This will also make them unavailable when using Composer with `--prefer-dist`.
# If you develop for this repo using Composer, use `--prefer-source`.
# https://www.reddit.com/r/PHP/comments/2jzp6k/i_dont_need_your_tests_in_my_production/
# https://blog.madewithlove.be/post/gitattributes/
#
.github/ export-ignore
scripts/ export-ignore
.cspell.json export-ignore
.gitattributes export-ignore
.gitignore export-ignore
.markdownlint-cli2.yaml export-ignore
.remarkignore export-ignore
.remarkrc export-ignore
.yamllint.yml export-ignore
phpcs.xml.dist export-ignore
phpstan.neon.dist export-ignore
phpunit.xml.dist export-ignore

#
# Declare files that should always have CRLF line endings on checkout.
#
*WinTest.inc text eol=crlf
*WinTest.php text eol=crlf
src/Standards/Generic/Tests/Files/LineEndingsUnitTest*.inc text eol=crlf
tests/Core/Fixer/Fixtures/GenerateDiffTest-WindowsLineEndings.inc text eol=crlf
Loading