提交的内容
This commit is contained in:
67
vendor/topthink/framework/.github/ISSUE_TEMPLATE/1-bug-report.yml
vendored
Normal file
67
vendor/topthink/framework/.github/ISSUE_TEMPLATE/1-bug-report.yml
vendored
Normal file
@ -0,0 +1,67 @@
|
||||
name: Bug 反馈
|
||||
description: 反馈您所遇到的问题,以帮助我们更好的改进
|
||||
labels: ["bug"]
|
||||
body:
|
||||
- type: dropdown
|
||||
id: addon
|
||||
attributes:
|
||||
label: 所属功能组件
|
||||
options:
|
||||
- 路由(Route)
|
||||
- 控制器(Controller)
|
||||
- 中间件(Middleware)
|
||||
- 容器(Container)
|
||||
- 服务(Service)
|
||||
- 门面(Facade)
|
||||
- 事件(Event)
|
||||
- 请求(Request)
|
||||
- 缓存(Cache)
|
||||
- 响应(Response)
|
||||
- 视图(View)
|
||||
- 异常(Exception)
|
||||
- 日志(Log)
|
||||
- 验证器(Validate)
|
||||
- 多语言(Lang)
|
||||
- Session/Cookie
|
||||
- 文件系统(Filesystem)
|
||||
- 命令行(Command)
|
||||
- 其它
|
||||
description: |
|
||||
* 模型(Model)和数据库(Db)功能请前往 https://github.com/top-think/think-orm/issues 反馈
|
||||
* 多应用(MultiApp)功能请前往 https://github.com/top-think/think-multi-app/issues 反馈
|
||||
validations:
|
||||
required: true
|
||||
- type: input
|
||||
id: version
|
||||
attributes:
|
||||
label: ThinkPHP 版本
|
||||
description: 您所使用的 ThinkPHP 版本是?
|
||||
placeholder: 如:8.0.3
|
||||
validations:
|
||||
required: true
|
||||
- type: input
|
||||
id: system
|
||||
attributes:
|
||||
label: 操作系统
|
||||
description: 您代码在什么系统上运行?
|
||||
placeholder: 如:Windows、Centos、Ubuntu、Debian
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
attributes:
|
||||
label: 错误信息
|
||||
description: 如果有报错信息,请附上相关错误信息或截图。如:错误提示语、出错文件路径、出错行号和 Traces 等信息
|
||||
placeholder: |
|
||||
信息:控制器不存在
|
||||
路径:vendor/topthink/framework/src/think/App.php
|
||||
行号:313
|
||||
Traces:
|
||||
......
|
||||
validations:
|
||||
required: false
|
||||
- type: textarea
|
||||
attributes:
|
||||
label: 其它说明
|
||||
description: 如您还有其它需要补充,可在此输入。
|
||||
validations:
|
||||
required: false
|
||||
20
vendor/topthink/framework/.github/ISSUE_TEMPLATE/2-feature_request.md
vendored
Normal file
20
vendor/topthink/framework/.github/ISSUE_TEMPLATE/2-feature_request.md
vendored
Normal file
@ -0,0 +1,20 @@
|
||||
---
|
||||
name: 功能请求
|
||||
about: 您对 ThinkPHP 有什么改进的想法或建议,可在此提出。
|
||||
title: ''
|
||||
labels: 'enhancement'
|
||||
assignees: ''
|
||||
|
||||
---
|
||||
|
||||
**您的功能请求与问题相关吗?**
|
||||
[是的话请在此描述]
|
||||
|
||||
**描述您想要的解决方案**
|
||||
[有的话请在此描述]
|
||||
|
||||
**描述您考虑过的替代方案**
|
||||
[有的话请在此描述]
|
||||
|
||||
**其它信息**
|
||||
[其它相关信息或截图]
|
||||
10
vendor/topthink/framework/.github/ISSUE_TEMPLATE/3-custom.md
vendored
Normal file
10
vendor/topthink/framework/.github/ISSUE_TEMPLATE/3-custom.md
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
---
|
||||
name: 其它问题
|
||||
about: 其它问题可在此反馈
|
||||
title: ''
|
||||
labels: 'question'
|
||||
assignees: ''
|
||||
|
||||
---
|
||||
|
||||
|
||||
8
vendor/topthink/framework/.github/ISSUE_TEMPLATE/config.yml
vendored
Normal file
8
vendor/topthink/framework/.github/ISSUE_TEMPLATE/config.yml
vendored
Normal file
@ -0,0 +1,8 @@
|
||||
blank_issues_enabled: true
|
||||
contact_links:
|
||||
- name: ThinkPHP 完全开发手册
|
||||
url: https://doc.thinkphp.cn/
|
||||
about: 在创建 Issue 之前,请仔细查阅开发手册,以便对其有更深入的了解,和更好地分析问题。
|
||||
- name: ThinkPHP 轻社区
|
||||
url: https://q.thinkphp.cn/
|
||||
about: 欢迎来到ThinkPHP轻社区和大家一起交流。
|
||||
4
vendor/topthink/framework/.github/workflows/build.yml
vendored
Executable file → Normal file
4
vendor/topthink/framework/.github/workflows/build.yml
vendored
Executable file → Normal file
@ -3,7 +3,7 @@ name: build
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- "8.0"
|
||||
- "8.x"
|
||||
pull_request:
|
||||
schedule:
|
||||
- cron: "0 0 * * *"
|
||||
@ -15,7 +15,7 @@ jobs:
|
||||
strategy:
|
||||
fail-fast: true
|
||||
matrix:
|
||||
php: [8.0, 8.1, 8.2]
|
||||
php: [8.0, 8.1, 8.2, 8.3, 8.4]
|
||||
|
||||
name: PHP ${{ matrix.php }}
|
||||
|
||||
|
||||
31
vendor/topthink/framework/.github/workflows/php-cs-fixer.yml
vendored
Normal file
31
vendor/topthink/framework/.github/workflows/php-cs-fixer.yml
vendored
Normal file
@ -0,0 +1,31 @@
|
||||
name: PHP CS Fixer
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
- "8.x"
|
||||
paths:
|
||||
- '**.php'
|
||||
|
||||
jobs:
|
||||
php-cs-fixer:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 10
|
||||
|
||||
- name: Set up PHP
|
||||
uses: shivammathur/setup-php@v2
|
||||
with:
|
||||
php-version: '8.0'
|
||||
tools: cs2pr,php-cs-fixer
|
||||
|
||||
- name: Run PHP CS Fixer
|
||||
run: |
|
||||
changed_files=$(git diff --name-only ${{ github.event.pull_request.base.sha }} ${{ github.sha }} -- '*.php')
|
||||
for file in $changed_files; do
|
||||
php-cs-fixer fix "$file" --dry-run --diff --rules=@PER-CS2.0 --format=checkstyle | cs2pr
|
||||
done
|
||||
Reference in New Issue
Block a user