diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md new file mode 100644 index 0000000..7ed8adf --- /dev/null +++ b/.github/CONTRIBUTING.md @@ -0,0 +1,34 @@ +Contributing +============ + +Issue tracker +------------- + +The Issue tracker serves mainly as a place to report bugs and request new features. +Please do not abuse it as a general questions or troubleshooting location. + +For these questions you can always use the +[fenom tag](https://stackoverflow.com/questions/tagged/fenom) at [Stack Overflow](https://stackoverflow.com/). + +* Please provide a small example in php/html that reproduces your situation +* Please report one feature or one bug per issue +* Failing to provide necessary information or not using the issue template may cause the issue to be closed without consideration. + +Pull requests +------------- + +Pull requests should be always based on the default [development](https://github.com/fenom-template/fenom/tree/master) +branch except for backports to older versions. + +Some guidelines: + +* Use an aptly named feature branch for the Pull request. + +* Only files and lines affecting the scope of the Pull request must be affected. + +* Make small, *atomic* commits that keep the smallest possible related code changes together. + +* Code should be accompanied by a unit test testing expected behaviour. + +When updating a PR, do not create a new one, just `git push --force` to your former feature branch, the PR will +update itself. diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md new file mode 100644 index 0000000..38b4e02 --- /dev/null +++ b/.github/ISSUE_TEMPLATE.md @@ -0,0 +1,18 @@ +> Please use https://stackoverflow.com/questions/tagged/fenom for all your general questions or troubleshooting! + +> +> *Warning*: Failing to provide necessary information may cause the issue to be closed without consideration + +### I found this bug / would like to have this new functionality + + +### This is Fenom and PHP version and environment (server/fpm/cli etc) I am using + + +### This is a template code snippet I use + +``` +{var x=10} +{Calc x=10 y=20} + +```