Skip to content

Commit cb0d1c3

Browse files
committed
0 parents  commit cb0d1c3

10 files changed

+229
-0
lines changed

.editorconfig

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
root = true
2+
3+
[*]
4+
indent_style = tab
5+
charset = utf-8
6+
end_of_line = lf
7+
trim_trailing_whitespace = true
8+
insert_final_newline = true
9+
10+
[*.py]
11+
indent_style = space
12+
indent_size = 4
13+
14+
[*.{yml,yaml}]
15+
indent_style = space
16+
indent_size = 2

.gitattributes

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
/.build export-ignore
2+
/.config export-ignore
3+
/.github export-ignore
4+
/.idea export-ignore
5+
/.phan export-ignore
6+
/.phpdoc export-ignore
7+
/docs export-ignore
8+
/examples export-ignore
9+
/tests export-ignore
10+
/.editorconfig export-ignore
11+
/.gitattributes export-ignore
12+
/.gitignore export-ignore
13+
/.readthedocs.yml export-ignore
14+
/phpcs.xml.dist export-ignore
15+
/phpdoc.xml.dist export-ignore
16+
/phpmd.xml.dist export-ignore
17+
/phpunit.xml.dist export-ignore
18+
19+
*.php diff=php

.github/FUNDING.yml

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ko_fi: codemasher

.github/ISSUE_TEMPLATE/bug_report.md

+51
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
---
2+
name: Bug report
3+
about: You have found a bug? Does the library not behave as expected? That's great (ok, not that great)! Please help us to improve!
4+
title: '[BUG]'
5+
labels: 'bug'
6+
---
7+
8+
<!--
9+
Please FOLLOW THE ISSUE TEMPLATE unless you have a good reason not to.
10+
If you have a question or an issue that is not a bug,
11+
please use the Q&A section under discussions instead. Thanks!
12+
-->
13+
14+
**Describe the bug or unexpected behaviour**
15+
16+
A clear and concise description of what the bug is.
17+
18+
19+
**Steps to reproduce the behavior**
20+
21+
- When i do ...
22+
- The code below ...
23+
- Error message: ...
24+
25+
26+
**Code sample** (if applicable)
27+
28+
```php
29+
// your code here
30+
```
31+
32+
33+
**Expected behavior**
34+
35+
A clear and concise description of what you expected to happen.
36+
37+
38+
**Screenshots**
39+
40+
If applicable, add screenshots to help explain your problem.
41+
42+
43+
**Environment (please complete the following information):**
44+
45+
- PHP version/OS: [e.g. 7.4.12, Ubuntu 20.04]
46+
- Library version: [e.g. 4.0.0]
47+
48+
49+
**Additional context**
50+
51+
Add any other context about the problem here.

.github/ISSUE_TEMPLATE/config.yml

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
blank_issues_enabled: false
2+
contact_links:
3+
- name: "You have a question or an issue that is not a bug?"
4+
about: "Please use the Q&A section under discussions. Thanks!"
5+
url: ../../discussions
+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
name: Documentation
3+
about: There's an issue with the documentation or you have a proposal for an addition?
4+
title: '[DOCS]'
5+
labels: 'docs'
6+
---
7+
8+
<!--
9+
Please FOLLOW THE ISSUE TEMPLATE unless you have a good reason not to.
10+
If you have a question or an issue that has nothing to do with the documentation,
11+
please use the Q&A section under discussions instead. Thanks!
12+
-->
13+
14+
**Describe the documentation issue or addition**
15+
16+
A clear and concise description of the issue or addition.
17+
18+
19+
**Proposed change/addition** (if applicable)
20+
21+
The new or changed documentation text.
22+
23+
24+
**Additional context**
25+
26+
Add any other context here (if applicable), for example a link to the current documentation or an issue/discussion.
+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
name: Feature request
3+
about: You have an idea for a new feature (or improve an existing one)? Great!
4+
title: '[ENHANCEMENT]'
5+
labels: 'enhancement'
6+
---
7+
8+
<!--
9+
Please FOLLOW THE ISSUE TEMPLATE unless you have a good reason not to.
10+
If you have a question or an issue that is not a feature request,
11+
please use the Q&A section under discussions instead. Thanks!
12+
-->
13+
14+
**Describe the feature**
15+
16+
A clear and concise description of the requested feature.
17+
18+
19+
**Code sample** (if applicable)
20+
21+
```php
22+
// your code here
23+
```
24+
25+
26+
**Additional context**
27+
28+
Add any other context here (if applicable).
29+
30+
31+
**Are you (the requester) willing to submit a pull request for that feature?**
32+
33+
[YES|NO] (A yes will greatly increase the chance that the feature will be added)

.github/PULL_REQUEST_TEMPLATE.md

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
## Proposed changes
2+
3+
<!-- Describe your changes here to communicate to the maintainers why you'd like to include this pull request.
4+
If it fixes a bug or resolves a feature request, be sure to link to that issue. -->
5+
6+
7+
<!-- You can erase any of the parts below that are not applicable to your Pull Request. -->
8+
9+
## Types of changes
10+
11+
<!-- Put an `x` in the boxes that apply -->
12+
13+
What types of changes does your code introduce?
14+
15+
- [ ] Bugfix (non-breaking change which fixes an issue)
16+
- [ ] New OAuth provider
17+
- [ ] New feature (non-breaking change which adds functionality)
18+
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
19+
- [ ] Documentation fix or enhancement (no code was touched)
20+
- [ ] Other (CI, dependencies, etc., please describe)
21+
22+
23+
## Checklist:
24+
25+
- [ ] I have checked to ensure there aren't other open [Issues](../../../issues) or [Pull Requests](../../../pulls) for the same update/change
26+
- [ ] I have added tests that prove my fix is effective or that my feature works
27+
- [ ] I have added necessary documentation (if appropriate)
28+
- [ ] Any dependent changes have been merged and published in downstream modules
29+
- [ ] Static analysis and unit tests pass locally with my changes
30+
31+
32+
## Further comments
33+
34+
If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution you did and what alternatives you considered, etc...

.gitignore

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# IDE - IntelliJ
2+
.idea/*
3+
# Keep the code styles.
4+
!.idea/codeStyles
5+
.idea/codeStyles/*
6+
!.idea/codeStyles/Project.xml
7+
!.idea/codeStyles/codeStyleConfig.xml
8+
# Keep the inspection levels
9+
!.idea/inspectionProfiles
10+
.idea/inspectionProfiles/*
11+
!.idea/inspectionProfiles/Project_Default.xml
12+
13+
# Project
14+
.build/*
15+
.config/.env
16+
.config/**/*.token*
17+
vendor/*
18+
*cacert.pem
19+
composer.lock
20+
phpcs.xml
21+
phpdoc.xml
22+
phpmd.xml
23+
phpunit.xml

LICENSE

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2024 smiley <[email protected]>
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in
13+
all copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21+
THE SOFTWARE.

0 commit comments

Comments
 (0)