Few days ago I faced a problem in my production environment. Let's say I've got a FOOClass.
When I tried to use it in another class, I made a typo in the use statement like so use My\Namespace\FooClass;
There was no problem in dev and test environment, but when I deploy my application in production, I've got an error because the application cannot find my class.
I'm using Symfony 5.4.25, PHP 8.1.23, Debian 11
I tried to find any configuration differences between environment (PHP configuration, Symfony configuration, server configuration, etc) but I wasn't able to find anything.