Skip to content

Commit

Permalink
Merge pull request #3 from vinogradsoft/2.0.0-dev
Browse files Browse the repository at this point in the history
2.0.0 dev
  • Loading branch information
vinogradsoft authored Dec 10, 2023
2 parents 5c9fd30 + 2770e80 commit 923c899
Show file tree
Hide file tree
Showing 45 changed files with 1,045 additions and 417 deletions.
37 changes: 37 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
---
name: Bug report
about: Create a report to help us improve
title: "[BUG]"
labels: bug
assignees: vinogradsoft

---

<!-- Thanks for reporting an issue! Please make sure you click the link above to view the issue guidelines, then fill out the blanks below. -->

What are the steps to reproduce this issue?
-------------------------------------------
1.
2.
3.

What happens?
-------------

What were you expecting to happen?
----------------------------------

Any logs, error output, etc?
----------------------------
<!-- If it’s long, please paste to https://gist.github.com/ and insert the link here. -->

Any other comments?
-------------------

What version you using?
----------------------------------------
6 changes: 3 additions & 3 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''
title: "[ENHANCEMENT]"
labels: enhancement
assignees: vinogradsoft

---

Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
php: [7.2, 7.3, 7.4, 8.0, 8.1, 8.2, 8.3]
php: [8.0, 8.1, 8.2, 8.3]
steps:
- uses: actions/checkout@v2

Expand Down Expand Up @@ -44,4 +44,9 @@ jobs:
run: composer run-script lint

- name: Run test suite
run: vendor/bin/phpunit --coverage-clover=coverage.xml
run: vendor/bin/phpunit --coverage-clover=coverage.xml

- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
2 changes: 1 addition & 1 deletion CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ representative at an online or offline event.

Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported to the community leaders responsible for enforcement at
@xR2_D2x.
[email protected].
All complaints will be reviewed and investigated promptly and fairly.

All community leaders are obligated to respect the privacy and security of the
Expand Down
21 changes: 12 additions & 9 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
Thank you for contributing to this project.

Please submit pull requests to the master branch only.

Please run phpunit.

If you have added something new, create a new unit test. If you have changed something, update all unit tests as necessary.

We aim to achieve 100% code coverage by tests, including checking for PHP errors and exceptional situations. Therefore, make sure your new or modified tests fully cover all changes you have made.
# Contributing

Thanks for your contribution to this project.

## Pull requests
+ If you added something new, create a new unit test. If you change anything, update everything if necessary
unit tests.
+ We strive to achieve 100% code coverage with tests, including checking for PHP errors and exceptions. That's why
Make sure your new or changed tests fully cover all the changes you've made.
+ Make sure you have updated `README.md`.
+ Create feature branches. Only submit pull requests to the master branch.
+ One pull request per feature.
44 changes: 44 additions & 0 deletions PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# Pull Request Details

<!--- Provide a general summary of your changes in the Title above -->

## Description

<!--- Describe your changes in detail -->

## Related Issue

<!--- This project only accepts pull requests related to open issues -->
<!--- If suggesting a new feature or change, please discuss it in an issue first -->
<!--- If fixing a bug, there should be an issue describing it with steps to reproduce -->
<!--- Please link to the issue here: -->

## Context

<!--- Why is this change required? What problem does it solve? -->

## How Has This Been Tested

<!--- Please describe in detail how you tested your changes. -->
<!--- Include details of your testing environment, and the tests you ran to -->
<!--- see how your change affects other areas of the code, etc. -->

## Types of changes

<!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: -->

- [ ] Docs change / refactoring / dependency upgrade
- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)

## Checklist

<!--- Go over all the following points, and put an `x` in all the boxes that apply. -->
<!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->

- [ ] My change requires a change to the documentation.
- [ ] I have updated the documentation accordingly.
- [ ] I have read the **CONTRIBUTING** document.
- [ ] I have added tests to cover my changes.
- [ ] All new and existing tests passed.
Loading

0 comments on commit 923c899

Please sign in to comment.