From 3fd785654372d493c031d9b541ab33a881023a32 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 26 Feb 2021 19:16:17 +0300 Subject: * switch to composer for qrcode and otp dependencies * move most OTP-related stuff into userhelper * remove old phpqrcode and otphp libraries --- vendor/spomky-labs/otphp/.github/CONTRIBUTING.md | 25 ++++++++++++++++++++++ vendor/spomky-labs/otphp/.github/ISSUE_TEMPLATE.md | 16 ++++++++++++++ .../otphp/.github/PULL_REQUEST_TEMPLATE.md | 21 ++++++++++++++++++ vendor/spomky-labs/otphp/.github/stale.yml | 17 +++++++++++++++ 4 files changed, 79 insertions(+) create mode 100644 vendor/spomky-labs/otphp/.github/CONTRIBUTING.md create mode 100644 vendor/spomky-labs/otphp/.github/ISSUE_TEMPLATE.md create mode 100644 vendor/spomky-labs/otphp/.github/PULL_REQUEST_TEMPLATE.md create mode 100644 vendor/spomky-labs/otphp/.github/stale.yml (limited to 'vendor/spomky-labs/otphp/.github') diff --git a/vendor/spomky-labs/otphp/.github/CONTRIBUTING.md b/vendor/spomky-labs/otphp/.github/CONTRIBUTING.md new file mode 100644 index 000000000..871735ad1 --- /dev/null +++ b/vendor/spomky-labs/otphp/.github/CONTRIBUTING.md @@ -0,0 +1,25 @@ +# Contributing + +First of all, **thank you** for contributing. + +Bugs or feature requests can be posted online on the GitHub issues section of the project. + +Few rules to ease code reviews and merges: + +- You MUST follow the [PSR-1](http://www.php-fig.org/psr/psr-1/), [PSR-2](http://www.php-fig.org/psr/psr-2/) and [PSR-4](http://www.php-fig.org/psr/psr-4/) coding standards. +- You MUST run the test suite. +- You MUST write (or update) unit tests when bugs are fixed or features are added. +- You SHOULD write documentation. + +We use [Git-Flow](http://jeffkreeftmeijer.com/2010/why-arent-you-using-git-flow/) to automate our git branching workflow. + +To contribute use [Pull Requests](https://help.github.com/articles/using-pull-requests), please, write commit messages that make sense, and rebase your branch before submitting your PR. + +May be asked to squash your commits too. This is used to "clean" your Pull Request before merging it, avoiding commits such as fix tests, fix 2, fix 3, etc. + +Run test suite +------------ + +* install composer: `curl -s http://getcomposer.org/installer | php` +* install dependencies: `php composer.phar install` +* run tests: `vendor/bin/phpunit` diff --git a/vendor/spomky-labs/otphp/.github/ISSUE_TEMPLATE.md b/vendor/spomky-labs/otphp/.github/ISSUE_TEMPLATE.md new file mode 100644 index 000000000..2ceb8da6a --- /dev/null +++ b/vendor/spomky-labs/otphp/.github/ISSUE_TEMPLATE.md @@ -0,0 +1,16 @@ +| Q | A +| -------------------- | ----- +| Bug report? | yes/no +| Feature request? | yes/no +| BC Break report? | yes/no +| RFC? / Specification | yes/no +| Library version | x.y(.z) + + diff --git a/vendor/spomky-labs/otphp/.github/PULL_REQUEST_TEMPLATE.md b/vendor/spomky-labs/otphp/.github/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 000000000..acd0be9fc --- /dev/null +++ b/vendor/spomky-labs/otphp/.github/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,21 @@ +| Q | A +| ------------- | --- +| Branch? | master +| Bug fix? | yes/no +| New feature? | yes/no +| BC breaks? | yes/no +| Deprecations? | yes/no +| Tests pass? | yes/no +| Fixed tickets | #... +| License | MIT +| Tests added | +| Doc PR | + + diff --git a/vendor/spomky-labs/otphp/.github/stale.yml b/vendor/spomky-labs/otphp/.github/stale.yml new file mode 100644 index 000000000..dc90e5a1c --- /dev/null +++ b/vendor/spomky-labs/otphp/.github/stale.yml @@ -0,0 +1,17 @@ +# Number of days of inactivity before an issue becomes stale +daysUntilStale: 60 +# Number of days of inactivity before a stale issue is closed +daysUntilClose: 7 +# Issues with these labels will never be considered stale +exemptLabels: + - pinned + - security +# Label to use when marking an issue as stale +staleLabel: wontfix +# Comment to post when marking an issue as stale. Set to `false` to disable +markComment: > + This issue has been automatically marked as stale because it has not had + recent activity. It will be closed if no further activity occurs. Thank you + for your contributions. +# Comment to post when closing a stale issue. Set to `false` to disable +closeComment: false -- cgit v1.2.3