diff --git a/.editorconfig b/.editorconfig index fe4bfba..80e2ab1 100644 --- a/.editorconfig +++ b/.editorconfig @@ -1,8 +1,9 @@ # https://editorconfig.org root = true -[*.php] +[*] charset = utf-8 +end_of_line = lf indent_size = 4 indent_style = space insert_final_newline = true diff --git a/.gitattributes b/.gitattributes index bea40f6..5c2550a 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,17 +1,5 @@ * text=auto -.* text -*.http text -*.info text -*.json text -*.md text -*.neon text -*.php text diff=php -*.txt text -*.xml text -*.yml text -*.yaml text - *.ico binary *.jpg binary *.pdf binary diff --git a/.phpcs.xml b/.phpcs.xml new file mode 100644 index 0000000..fd1d94a --- /dev/null +++ b/.phpcs.xml @@ -0,0 +1,10 @@ + + + Sitelease's augmented PSR-12 standard + + + + + + +