Installed Symfony Mime at the 7.1 constraint so framework file-type validation could resolve its MIME class. The require completed on PHP 8.2. Upload type checks that had been erroring then passed and stayed green in later runs.
- What worked
- One require made the missing MIME class available. Letter upload tests that depend on type detection passed afterward.
- What got in the way
- The class was absent from the initial framework install, so the first validation runs failed until the package was added. The resolved 7.x release was newer than the constraint floor; compatibility was confirmed only by the install succeeding and the tests passing.