Skip to content

Commit 9c64fc3

Browse files
authored
Merge pull request #492 from wayofdev/feat/tpl-updates
2 parents 5ca4839 + 64b9ca4 commit 9c64fc3

File tree

6 files changed

+93
-9
lines changed

6 files changed

+93
-9
lines changed

.github/ISSUE_TEMPLATE/3-failing-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
name: 🧪 Failing Test
44
description: Report failing tests or CI jobs.
5-
title: "[Test]: "
6-
labels: ["Type: Test"]
5+
title: '[Test]: '
6+
labels: ['Type: Test']
77

88
assignees:
99
- lotyp

.github/ISSUE_TEMPLATE/4-docs-bug-report.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
name: 📚 Documentation or README.md issue report
44
description: Report an issue in the project's documentation or README.md file.
5-
title: "[Docs]: "
6-
labels: ["type: documentation", "type: maintenance"]
5+
title: '[Docs]: '
6+
labels: ['type: documentation', 'type: maintenance']
77

88
assignees:
99
- lotyp
Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
---
2+
3+
name: ⚠️ Security Report
4+
description: Report a security issue to help improve the project's safety.
5+
title: '[Security]: '
6+
labels: ['type: bug', 'priority: high', 'type: security']
7+
8+
assignees:
9+
- lotyp
10+
11+
body:
12+
- type: markdown
13+
attributes:
14+
value: ⚠️ **Security Report**
15+
16+
- type: textarea
17+
id: security-issue-description
18+
attributes:
19+
label: Describe the security issue
20+
description: Provide a clear and concise description of what the security issue is, without including sensitive details.
21+
placeholder: Describe the security issue...
22+
validations:
23+
required: true
24+
25+
- type: textarea
26+
id: steps-to-reproduce
27+
attributes:
28+
label: To Reproduce
29+
description: |
30+
Steps to reproduce the security issue:
31+
1. Navigate to...
32+
2. Perform action...
33+
3. Observe outcome...
34+
placeholder: |
35+
1. Navigate to...
36+
2. Perform action...
37+
3. Observe outcome...
38+
validations:
39+
required: true
40+
41+
- type: textarea
42+
id: expected-behaviour
43+
attributes:
44+
label: Expected behaviour
45+
description: Describe what you expected to happen without the security flaw.
46+
placeholder: What did you expect to happen?
47+
validations:
48+
required: true
49+
50+
- type: textarea
51+
id: media-prove
52+
attributes:
53+
label: Media prove
54+
description: If applicable, add screenshots or videos that help explain your issue, ensuring no sensitive data is displayed.
55+
placeholder: Upload files or paste links here...
56+
validations:
57+
required: false
58+
59+
- type: textarea
60+
id: environment
61+
attributes:
62+
label: Your environment
63+
description: |
64+
Provide detailed information about your environment to help us replicate the issue:
65+
* OS: [e.g. Ubuntu]
66+
* PHP version: [e.g. 8.2.2]
67+
* Package version: [e.g. 1.0.0]
68+
* Any relevant environment details
69+
placeholder: List your environment details here...
70+
validations:
71+
required: false
72+
73+
- type: textarea
74+
id: additional-context
75+
attributes:
76+
label: Additional context
77+
description: Add any other context about the problem here, ensuring no sensitive data is included.
78+
placeholder: Any additional information...
79+
validations:
80+
required: false
81+
82+
...

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@
8383
"scripts": {
8484
"cs:diff": "php vendor/bin/php-cs-fixer fix --dry-run -v --diff",
8585
"cs:fix": "php vendor/bin/php-cs-fixer fix -v",
86-
"infect": "XDEBUG_MODE=coverage php vendor/bin/infection --min-msi=55 --min-covered-msi=55",
87-
"infect:ci": "XDEBUG_MODE=coverage php vendor/bin/infection --min-msi=55 --min-covered-msi=55 --ansi --configuration=infection.json.dist --logger-github",
86+
"infect": "XDEBUG_MODE=coverage php vendor/bin/infection --configuration=infection.json.dist",
87+
"infect:ci": "XDEBUG_MODE=coverage php vendor/bin/infection --ansi --configuration=infection.json.dist --logger-github",
8888
"refactor": "php vendor/bin/rector process --config=rector.php",
8989
"refactor:ci": "php vendor/bin/rector process --config=rector.php --dry-run --ansi",
9090
"stan": "php vendor/bin/phpstan analyse --memory-limit=2G",

infection.json.dist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
"logs": {
44
"text": ".build/infection/infection-log.txt"
55
},
6-
"minCoveredMsi": 100,
7-
"minMsi": 100,
6+
"minCoveredMsi": 55,
7+
"minMsi": 55,
88
"phpUnit": {
99
"configDir": "./"
1010
},

phpstan.neon.dist

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,13 @@ includes:
22
- phpstan-baseline.neon
33

44
parameters:
5-
level: 5
5+
level: 6
66
paths:
77
- config/
88
- src/
99
- tests/
10+
- .php-cs-fixer.dist.php
11+
- rector.php
1012

1113
checkMissingIterableValueType: false
1214
checkOctaneCompatibility: true

0 commit comments

Comments
 (0)