4 Commits
Author SHA1 Message Date
Johannes WachterandGitHub 04b7d39ecd [FrameworkBundle] Add AGENTS.md for AI coding agents (#1563)
* [FrameworkBundle] Add AGENTS.md for AI coding agents

* [FrameworkBundle] Point CLAUDE.md at AGENTS.md via @-import

* [FrameworkBundle] Add heading to CLAUDE.md

* [FrameworkBundle] Apply review feedback to AGENTS.md

Split the operational bullets out of Conventions into a new Everyday
workflow section, generalise what remains around the best practices page,
and replace the stale-training-data note with a concrete list of
discovery commands.

Keeps three specifics under Conventions: MapRequestPayload over
hand-rolled json_decode(), no readonly on a service that may become
lazy, and symfony/lock for mutual exclusion. Those are the failure modes
the file exists to address, and a general rule does not change a model's
behaviour the way naming them does.

* [FrameworkBundle] Broaden the attribute and injection guidance

Attributes were only shown on controllers. They now cover properties,
commands, listeners, message handlers and service declaration.

The autowiring bullet also contradicted itself: it sent scalar arguments
to an explicit service definition, which is what #[Autowire] exists to
avoid. Injection now points at #[Autowire] and #[Target] first, with a
YAML definition as the last resort.
2026-09-04 17:44:00 +02:00
JannesDandGitHub 58dbef24ed [symfony/framework-bundle] Load preload files using glob pattern (#1558) 2026-09-01 11:07:47 +02:00
Micha AhrweilerandGitHub b7e08038bb [FrameworkBundle] Use static closure in front controller (8.1) (#1532)
Added missing static for framework-bundle 8.1.
2026-05-30 17:09:58 +02:00
Nicolas GrekasandGitHub e685563fd3 [symfony/framework-bundle/8.1] Add Kernel::getAllowedEnvs() = prod+dev+test (#1516) 2026-03-27 13:51:25 +01:00