Skip to content

Commit f8e2093

Browse files
committed
feat(github): add copilot instructions
1 parent baf925c commit f8e2093

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/copilot-instructions.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Copilot Instructions for SyliusMediaManagerPlugin
2+
3+
## General Guidelines
4+
- Follow the Sylius 2.x and Symfony 7.x best practices for PHP code.
5+
- Use strict types and type hints wherever possible.
6+
- All new code must be PSR-12 compliant and pass PHPStan and ECS checks.
7+
- Use dependency injection for all services and avoid using service locators.
8+
- Write clear, concise, and well-documented code.
9+
- Use English for all code comments, variable names, and documentation.
10+
11+
## Commit Messages
12+
- Use clear, descriptive commit messages in English.
13+
- Reference related issues or tickets when applicable.
14+
15+
## Pull Requests
16+
- Ensure all checks pass before requesting review.
17+
- Provide a clear description of the changes and testing steps.
18+
19+
---
20+
21+
For more details, refer to the project README and Sylius/Symfony documentation.

0 commit comments

Comments
 (0)