Files
ai-chat/.continue/rules/use-modern-php-attributes.md
T
2026-06-10 18:22:27 +02:00

10 lines
402 B
Markdown

---
globs: "**/*.php"
description: Ensure all new code uses modern PHP attribute syntax rather than
legacy annotation syntax for better type safety and code clarity. This applies
to routing, validation, security, and other Symfony components that support
attributes.
alwaysApply: true
---
Always use PHP attributes instead of annotations for routing and other Symfony features in PHP 8+ projects