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

402 B

globs, description, alwaysApply
globs description alwaysApply
**/*.php 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. true

Always use PHP attributes instead of annotations for routing and other Symfony features in PHP 8+ projects