diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..0048ee8 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,13 @@ +# https://editorconfig.org +root = true + +[*] +charset = utf-8 +indent_size = 2 +indent_style = space +insert_final_newline = true +trim_trailing_whitespace = true + +[*.md] +indent_size = 4 +trim_trailing_whitespace = false diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..2160a45 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,18 @@ +* text=auto + +.* text +.semver text eol=lf + +*.info text +*.json text +*.md text +*.neon text +*.php text diff=php +*.txt text +*.xml text +*.yml text + +*.ico binary +*.jpg binary +*.pdf binary +*.png binary diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..cf635e9 --- /dev/null +++ b/.gitignore @@ -0,0 +1,15 @@ +/.*/ +!/.vscode/ + +/build/ +/doc/api/ +/var/ +/vendor/ +/web/ + +/*.code-workspace +/*.iml +/**/.DS_Store +/composer.lock +/doc/about/changelog.md +/doc/about/license.md diff --git a/.semver b/.semver new file mode 100644 index 0000000..83edf5b --- /dev/null +++ b/.semver @@ -0,0 +1,6 @@ +--- +:major: 0 +:minor: 1 +:patch: 0 +:special: '' +:metadata: '' diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..1061e39 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,9 @@ +dist: trusty +language: php +notifications: {email: false} +php: '7.2' +sudo: false + +install: composer install --no-interaction +script: composer test +after_success: composer coverage diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..f41c398 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,7 @@ +{ + "editor.insertSpaces": true, + "editor.tabSize": 2, + "files.encoding": "utf8", + "files.insertFinalNewline": true, + "files.trimFinalNewlines": true +} diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000..f8c7f02 --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,36 @@ +{ + "version": "2.0.0", + "tasks": [ + { + "command": "robo clean", + "label": "robo : clean", + "problemMatcher": [], + "type": "shell" + }, + { + "command": "robo doc", + "label": "robo : doc", + "problemMatcher": [], + "type": "shell" + }, + { + "command": "robo lint", + "label": "robo : lint", + "problemMatcher": [], + "type": "shell" + }, + { + "command": "robo test", + "group": {"isDefault": true, "kind": "build"}, + "label": "robo : test", + "problemMatcher": [], + "type": "shell" + }, + { + "command": "robo upgrade", + "label": "robo : upgrade", + "problemMatcher": [], + "type": "shell" + } + ] +} diff --git a/var/.gitkeep b/var/.gitkeep new file mode 100644 index 0000000..e69de29