k--- globs: "**/UI/**/*Controller*.php" description: Ensures compliance with Symfony 7.4 deprecations and enforces strict separation of concerns by isolating Request handling to the UI layer. alwaysApply: true --- In Symfony 7.4+, never use the deprecated `Request::get()` method. Instead, use `$request->attributes` for route parameters, `$request->query` for query parameters, and `$request->getPayload()` for body data (JSON/Forms). Immediately convert request data into DTOs in Controllers. Never pass the Request object to Logic or Data layers.