Skip to content

Commit 7bbfccb

Browse files
committed
Complex update 3.x (#13)
* Make HTTP stream stoppable; add phpunit; up PHP version to 8.1 * Add test server; add feature tests * Update spiral/roadrunner-worker dependency * Update composer.json; migrate phpunit config
2 parents 2520f41 + 529f962 commit 7bbfccb

30 files changed

+1011
-266
lines changed

.editorconfig

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
end_of_line = lf
6+
insert_final_newline = true
7+
indent_style = space
8+
indent_size = 4
9+
trim_trailing_whitespace = true
10+
11+
[*.{yml, yaml, sh, conf, neon*}]
12+
indent_size = 2
13+
14+
[*.md]
15+
trim_trailing_whitespace = false

.gitattributes

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
* text=auto
2+
3+
/.github export-ignore
4+
/tests export-ignore
5+
/.* export-ignore
6+
/phpunit.xml* export-ignore
7+
/phpstan.* export-ignore
8+
/psalm.* export-ignore
9+
/infection.* export-ignore
10+
/codecov.* export-ignore

.github/CODE_OF_CONDUCT.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Code of Conduct
2+
3+
The Spiral code of conduct is derived from the Ruby code of conduct.
4+
Any violations of the code of conduct may be reported by email `wolfy-j[at]spiralscout.com`.
5+
6+
- Participants will be tolerant of opposing views.
7+
8+
- Participants must ensure that their language and actions are free of personal attacks and disparaging personal remarks.
9+
10+
- When interpreting the words and actions of others, participants should always assume good intentions.
11+
12+
- Behavior which can be reasonably considered harassment will not be tolerated.

.github/CONTRIBUTING.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Contributing
2+
3+
Feel free to contribute to the development of the Framework or its components.
4+
5+
For more information on contributing rules you can find on the documentation
6+
page at https://spiral.dev/docs/about-contributing

.github/FUNDING.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# These are supported funding model platforms
2+
3+
github: roadrunner-server
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
name: 🐛 Bug Report
3+
about: Report errors and problems
4+
labels: Bug
5+
6+
---
7+
### Description
8+
9+
<!-- A clear and concise description of the problem. -->
10+
11+
### How To Reproduce
12+
13+
<!-- Code and/or config needed to reproduce the problem. -->
14+
15+
### Additional Info
16+
17+
| Q | A
18+
|------------------| ---
19+
| Package Version | x.y.z <!-- Please set the package version -->
20+
| PHP version | x.y.z <!-- Please set the PHP version -->
21+
| Operating system | Linux <!-- Please set your OS -->
22+
23+
<!-- Optional: any other context about the problem: log messages, screenshots, etc. -->
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
name: 🚀 Feature Request
3+
about: RFC and ideas for new features and improvements
4+
labels: Feature
5+
6+
---
7+
## Description
8+
9+
<!-- A clear and concise description of the new feature. -->
10+
11+
## Example
12+
13+
<!-- A simple example of the new feature in action (include PHP code, YAML config, etc.)
14+
If the new feature changes an existing feature, include a simple before/after comparison. -->
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
name: ❓ Question
3+
about: Use if you have problems and don't know how to formulate them
4+
labels: Question
5+
6+
---
7+
8+
<!--
9+
We use GitHub issues only to discuss Spiral bugs and new features. In the
10+
case that you have a general question, please use the chat:
11+
12+
- Discord: https://discord.gg/kmmfk7M
13+
14+
Thanks!
15+
-->

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
| Q | A
2+
| ------------- | ---
3+
| Bugfix? | ✔️/❌
4+
| Breaks BC? | ✔️/❌ <!-- please update "xxx Impact Changes" section in CHANGELOG.md file -->
5+
| New feature? | ✔️/❌ <!-- please update "Other Features" section in CHANGELOG.md file -->
6+
| Issues | #... <!-- prefix each issue number with "#" symbol, no need to create an issue if none exist, explain below instead -->
7+
| Docs PR | spiral/docs#... <!-- prefix each issue number with "spiral/docs#", required only for new features -->
8+
9+
<!-- Please, replace this notice by a short description of your feature/bugfix.
10+
This will help people understand your PR and can be used as a start for the documentation. -->

.github/SECURITY.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
Security Policy
2+
===============
3+
4+
If you found something which shouldn't be there or a bug which opens a security
5+
hole, please let me know immediately by email `wolfy-j[at]spiralscout.com`.
6+
7+
DO NOT PUBLISH SECURITY REPORTS PUBLICLY.
8+
9+
The full [Security Policy][1] is described in the official documentation.
10+
11+
[1]: https://spiral.dev/docs/about-contributing#critical-security-issues

0 commit comments

Comments
 (0)