Skip to content

Commit 4516833

Browse files
authored
Test: Copilot instructions (#4962)
* test * test: updated copilot instructions
1 parent deb951d commit 4516833

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/copilot-instructions.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,10 @@ This project aims to provide a stable and secure version of Magento 1.x, with on
4848
- Follow PSR-12 coding standards for PHP code.
4949
- Declare strict types in new PHP files.
5050
- Use type hints for function parameters and return types for new methods.
51+
- Use short array syntax `[]` for arrays in new code.
5152
- Do not use underscores in new method names. Use camelCase instead.
5253
- Use named parameters in new method calls where applicable.
54+
- Ignore support for PHP versions below PHP 8.1 in new code.
5355
- Update docblocks to use proper types and descriptions for new methods and classes.
5456
- Update comments to reflect changes in code.
5557
- Update tests to cover new functionality and changes in code.

0 commit comments

Comments
 (0)