diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000..ee55bc74 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,13 @@ +; This file is for unifying the coding style for different editors and IDEs. +; More information at http://editorconfig.org +root = true + +[*] +indent_style = space +indent_size = 4 +end_of_line = lf +insert_final_newline = true +trim_trailing_whitespace = true + +[*.yml] +indent_size = 2 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 00000000..7d0d75ad --- /dev/null +++ b/.gitattributes @@ -0,0 +1,24 @@ +# Define the line ending behavior of the different file extensions +# Set default behavior, in case users don't have core.autocrlf set. +* text=auto eol=lf + +# Explicitly declare text files we want to always be normalized and converted +# to native line endings on checkout. +*.php text +*.yml text + +# Remove files for archives generated using `git archive` +.github export-ignore +tests export-ignore +.coveralls export-ignore +.editorconfig export-ignore +.gitattributes export-ignore +.gitignore export-ignore +.stickler.yml export-ignore +.travis.yml export-ignore +phpcs.xml.dist export-ignore +phpstan.neon export-ignore +phpstan-baseline.neon export-ignore +phpunit.xml.dist export-ignore +psalm.xml export-ignore +psalm-baseline.xml export-ignore