Skip to content

Commit 552f1c7

Browse files
committed
Apply feedback from code review
1 parent c82c13a commit 552f1c7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/copilot-instructions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
- Focus on code quality, potential issues, and improvements not mentioned in the PR
99

1010
### PHP Version and Type Requirements
11-
- Code must support **PHP 8.1 and newer**
11+
- The minimum PHP version supported is in `./composer.json`. Code must support **this version and newer**
1212
- Use **full type declarations** wherever possible
1313
- Leverage PHP 8.1+ features when appropriate (enums, readonly properties, intersection types, etc.)
1414
- Use **PHPDoc blocks** to supplement native types where PHP limitations exist:
@@ -22,7 +22,7 @@
2222
- Private/protected methods should also be fully typed
2323
- Use strict scalar type declarations (`declare(strict_types=1)`)
2424
- Prefer constructor property promotion when applicable
25-
- Use named arguments for better readability in complex method calls
25+
- Use named arguments for better readability in complex method calls to functions inside this package
2626

2727
### MongoDB Library Specific
2828
- Check for proper error handling patterns

0 commit comments

Comments
 (0)