Skip to content

Commit ff51cf4

Browse files
committed
prettier
1 parent 70f4714 commit ff51cf4

File tree

7 files changed

+52
-48
lines changed

7 files changed

+52
-48
lines changed

.claude/settings.local.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
2-
"enabledMcpjsonServers": [
3-
"context7",
4-
"sequential-thinking",
5-
"mcp-compass",
6-
"docker-mcp",
7-
"playwright"
8-
]
2+
"enabledMcpjsonServers": [
3+
"context7",
4+
"sequential-thinking",
5+
"mcp-compass",
6+
"docker-mcp",
7+
"playwright"
8+
]
99
}

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
| Q | A |
2-
|---------------|------------------|
3-
| Branch? | ``master`` |
4-
| Bug fix? | ``yes`` / ``no`` |
5-
| New feature? | ``yes`` / ``no`` |
6-
| Deprecations? | ``yes`` / ``no`` |
7-
| Tickets | Fix ``#...`` |
8-
| License | ``BSD-3-Clause`` |
1+
| Q | A |
2+
| ------------- | -------------- |
3+
| Branch? | `master` |
4+
| Bug fix? | `yes` / `no` |
5+
| New feature? | `yes` / `no` |
6+
| Deprecations? | `yes` / `no` |
7+
| Tickets | Fix `#...` |
8+
| License | `BSD-3-Clause` |
99

1010
---

CODE_OF_CONDUCT.md

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,24 +16,24 @@ diverse, inclusive, and healthy community.
1616
Examples of behavior that contributes to a positive environment for our
1717
community include:
1818

19-
* Demonstrating empathy and kindness toward other people
20-
* Being respectful of differing opinions, viewpoints, and experiences
21-
* Giving and gracefully accepting constructive feedback
22-
* Accepting responsibility and apologizing to those affected by our mistakes,
19+
- Demonstrating empathy and kindness toward other people
20+
- Being respectful of differing opinions, viewpoints, and experiences
21+
- Giving and gracefully accepting constructive feedback
22+
- Accepting responsibility and apologizing to those affected by our mistakes,
2323
and learning from the experience
24-
* Focusing on what is best not just for us as individuals, but for the overall
24+
- Focusing on what is best not just for us as individuals, but for the overall
2525
community
2626

2727
Examples of unacceptable behavior include:
2828

29-
* The use of sexualized language or imagery, and sexual attention or advances
29+
- The use of sexualized language or imagery, and sexual attention or advances
3030
of any kind
31-
* Trolling, insulting or derogatory comments, and personal or political
31+
- Trolling, insulting or derogatory comments, and personal or political
3232
attacks
33-
* Public or private harassment
34-
* Publishing others’ private information, such as a physical or email address,
33+
- Public or private harassment
34+
- Publishing others’ private information, such as a physical or email address,
3535
without their explicit permission
36-
* Other conduct which could reasonably be considered inappropriate in a
36+
- Other conduct which could reasonably be considered inappropriate in a
3737
professional setting
3838

3939
## Enforcement Responsibilities
@@ -71,13 +71,15 @@ determining the consequences for any action they deem in violation of this
7171
Code of Conduct:
7272

7373
### 1. Correction
74+
7475
**Community Impact**: Use of inappropriate language or other behavior deemed
7576
unprofessional or unwelcome in the community.
7677
**Consequence**: A private, written warning from community leaders,
7778
providing clarity around the nature of the violation and an explanation of why
7879
the behavior was inappropriate. A public apology may be requested.
7980

8081
### 2. Warning
82+
8183
**Community Impact**: A violation through a single incident or series of
8284
actions.
8385
**Consequence**: A warning with consequences for continued behavior. No
@@ -88,6 +90,7 @@ like social media. Violating these terms may lead to a temporary or permanent
8890
ban.
8991

9092
### 3. Temporary Ban
93+
9194
**Community Impact**: A serious violation of community standards, including
9295
sustained inappropriate behavior.
9396
**Consequence**: A temporary ban from any sort of interaction or public
@@ -97,6 +100,7 @@ with those enforcing the Code of Conduct, is allowed during this period.
97100
Violating these terms may lead to a permanent ban.
98101

99102
### 4. Permanent Ban
103+
100104
**Community Impact**: Demonstrating a pattern of violation of community
101105
standards, including sustained inappropriate behavior, harassment of an
102106
individual, or aggression toward or disparagement of classes of individuals.

README.md

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,7 @@ your-package/
175175
```
176176

177177
**manifest.json with multiple features**:
178+
178179
```json
179180
{
180181
"bundles": {
@@ -198,7 +199,7 @@ your-package/
198199
## Troubleshooting
199200

200201
| Issue | Cause | Solution |
201-
|------------------------|--------------------------------------|--------------------------------------------------------------------|
202+
| ---------------------- | ------------------------------------ | ------------------------------------------------------------------ |
202203
| Plugin blocked | Composer 2.2+ security feature | `composer config allow-plugins.valksor/php-plugin true` |
203204
| Recipes not processing | Plugin not allowed or not configured | Check `composer config allow-plugins` and `extra.valksor` settings |
204205
| Recipe not found | Package has no recipe directory | Contact package maintainer or create custom recipe |
@@ -222,20 +223,22 @@ Contributions are welcome! Please follow these guidelines:
222223
### Development Setup
223224

224225
1. **Clone the repository**:
225-
```bash
226-
git clone https://github.com/valksor/php-plugin.git
227-
cd php-plugin
228-
```
226+
227+
```bash
228+
git clone https://github.com/valksor/php-plugin.git
229+
cd php-plugin
230+
```
229231

230232
2. **Install dependencies**:
231-
```bash
232-
composer install
233-
```
233+
234+
```bash
235+
composer install
236+
```
234237

235238
3. **Run tests**:
236-
```bash
237-
vendor/bin/phpunit
238-
```
239+
```bash
240+
vendor/bin/phpunit
241+
```
239242

240243
### Pull Request Guidelines
241244

@@ -248,12 +251,14 @@ Contributions are welcome! Please follow these guidelines:
248251
### Code Quality
249252

250253
All code must pass:
254+
251255
- **PHPUnit tests** with 100% coverage where possible
252256
- **PHP-CS-Fixer** code style checks (config file can be found in [valksor-dev](https://github.com/valksor/php-dev))
253257

254258
### Reporting Issues
255259

256260
Please use [GitHub Issues](https://github.com/valksor/php-plugin/issues) to report bugs or request features. Include:
261+
257262
- PHP and Composer versions
258263
- Steps to reproduce
259264
- Expected vs actual behavior

src/ValksorPlugin/Tests/Fixtures/recipes/simple-recipe/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
"copy-from-recipe": {
33
"config/": "%CONFIG_DIR%/"
44
}
5-
}
5+
}
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Test configuration file
22
parameters:
3-
app.name: 'Test Application'
4-
app.version: '1.0.0'
3+
app.name: "Test Application"
4+
app.version: "1.0.0"
55

66
services:
77
_defaults:
@@ -10,4 +10,4 @@ services:
1010

1111
App\Service\TestService:
1212
arguments:
13-
$name: '%app.name%'
13+
$name: "%app.name%"

src/ValksorPlugin/Tests/Fixtures/recipes/valid-recipe/manifest.json

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,12 @@
1010
"DATABASE_URL": "mysql://user:[email protected]:3306/db_name",
1111
"APP_ENV": "dev"
1212
},
13-
"gitignore": [
14-
"/var/cache/",
15-
"/var/log/"
16-
],
13+
"gitignore": ["/var/cache/", "/var/log/"],
1714
"composer-scripts": {
18-
"post-install-cmd": [
19-
"@auto-scripts"
20-
],
15+
"post-install-cmd": ["@auto-scripts"],
2116
"auto-scripts": {
2217
"cache:clear": "symfony-cmd",
2318
"assets:install %PUBLIC_DIR%": "symfony-cmd"
2419
}
2520
}
26-
}
21+
}

0 commit comments

Comments
 (0)