This commit is contained in:
2026-06-10 18:22:27 +02:00
parent 7f31b63aaa
commit 83b475987c
50 changed files with 2550 additions and 11 deletions
@@ -0,0 +1,10 @@
---
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