diff --git a/.editorconfig b/.editorconfig index 317595c..2c61dbd 100644 --- a/.editorconfig +++ b/.editorconfig @@ -4,20 +4,12 @@ end_of_line=lf insert_final_newline=false indent_style=space indent_size=4 +trim_trailing_whitespace = true -[{.babelrc,.stylelintrc,jest.config,.eslintrc,*.json,*.jsb3,*.jsb2,*.bowerrc}] -indent_style=space -indent_size=2 - -[{*.cql,*.ddl,*.sql}] -indent_style=space -indent_size=2 +[*.md] +trim_trailing_whitespace = false -[{*.yaml,*.yml}] -indent_style=space +[{.babelrc,.stylelintrc,jest.config,.eslintrc,*.json,*.jsb3,*.jsb2,*.bowerrc,*.yaml,*.yml,*.sql,composer.lock}] indent_size=2 -[{composer.lock,composer.json}] -indent_style=space -indent_size=2 diff --git a/.gitignore b/.gitignore index 60e7474..b6f4392 100644 --- a/.gitignore +++ b/.gitignore @@ -1,14 +1,34 @@ -.idea -.php_cs.cache +# We allow .idea to enable shared development on Jetbrains IDEs +# but exclude the following user-specific stuff +# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839 +.idea/**/workspace.xml +.idea/**/tasks.xml +.idea/**/usage.statistics.xml +.idea/**/dictionaries +.idea/**/shelf +# ... generated files +.idea/**/contentModel.xml +# .. sensitive or high-churn files +.idea/**/dataSources/ +.idea/**/dataSources.ids +.idea/**/dataSources.local.xml +.idea/**/sqlDataSources.xml +.idea/**/dynamic.xml +.idea/**/uiDesigner.xml +.idea/**/dbnavigator.xml +.idea/httpRequests + +# We don't want the logs folder populated as the contents are local only. logs/* -!logs/.gitkeep !logs/README.md +# We don't want the cache folder populated as the contents are local only. cache/* -!cache/.gitkeep !cache/README.md -vendor/* +# We don't want the qa folder populated as the results change too often. qa/* -!qa/.gitkeep !qa/README.md +# We don't want the following cache files stored as they are local only. .phpunit.result.cache -!.gitkeep \ No newline at end of file +.php_cs.cache +# We don't want vendor to accidentally make it into the repo. +vendor/* \ No newline at end of file diff --git a/.idea/PublicWhipV2.iml b/.idea/PublicWhipV2.iml new file mode 100644 index 0000000..1d83e6e --- /dev/null +++ b/.idea/PublicWhipV2.iml @@ -0,0 +1,122 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/codeStyles/Project.xml b/.idea/codeStyles/Project.xml new file mode 100644 index 0000000..d6fc450 --- /dev/null +++ b/.idea/codeStyles/Project.xml @@ -0,0 +1,30 @@ + + + + \ No newline at end of file diff --git a/.idea/codeStyles/codeStyleConfig.xml b/.idea/codeStyles/codeStyleConfig.xml new file mode 100644 index 0000000..79ee123 --- /dev/null +++ b/.idea/codeStyles/codeStyleConfig.xml @@ -0,0 +1,5 @@ + + + + \ No newline at end of file diff --git a/.idea/composerJson.xml b/.idea/composerJson.xml new file mode 100644 index 0000000..1b07430 --- /dev/null +++ b/.idea/composerJson.xml @@ -0,0 +1,10 @@ + + + + + + + + + + \ No newline at end of file diff --git a/.idea/fileTemplates/code/PHP Constructor.php b/.idea/fileTemplates/code/PHP Constructor.php new file mode 100644 index 0000000..737a7dd --- /dev/null +++ b/.idea/fileTemplates/code/PHP Constructor.php @@ -0,0 +1,6 @@ +/** + * Constructor. +${PARAM_DOC} +${THROWS_DOC} +*/ +public function __construct(${PARAM_LIST}) {${BODY}} \ No newline at end of file diff --git a/.idea/fileTemplates/includes/PHP Class Doc Comment.php b/.idea/fileTemplates/includes/PHP Class Doc Comment.php new file mode 100644 index 0000000..9d97f4d --- /dev/null +++ b/.idea/fileTemplates/includes/PHP Class Doc Comment.php @@ -0,0 +1,3 @@ +/** + * Class ${NAME}. + */ diff --git a/.idea/fileTemplates/includes/PHP Interface Doc Comment.php b/.idea/fileTemplates/includes/PHP Interface Doc Comment.php new file mode 100644 index 0000000..cb387af --- /dev/null +++ b/.idea/fileTemplates/includes/PHP Interface Doc Comment.php @@ -0,0 +1,3 @@ +/** + * Interface ${NAME}. + */ diff --git a/.idea/fileTemplates/includes/PHP Trait Doc Comment.php b/.idea/fileTemplates/includes/PHP Trait Doc Comment.php new file mode 100644 index 0000000..118cf16 --- /dev/null +++ b/.idea/fileTemplates/includes/PHP Trait Doc Comment.php @@ -0,0 +1,3 @@ +/** + * Trait ${NAME}. + */ diff --git a/.idea/fileTemplates/internal/PHP Class.php b/.idea/fileTemplates/internal/PHP Class.php new file mode 100644 index 0000000..860cba4 --- /dev/null +++ b/.idea/fileTemplates/internal/PHP Class.php @@ -0,0 +1,9 @@ + PublicWhip inspections