Hello! I have often run into a problem where the PHP extension doesn't recognize PHP classes and functions such as sprintf, trim, array_keys, etc. I'm not sure exactly how to fix it. I try a mix of
composer install, Symfony cache clear, reload window, changing Git branches. None of it seems to work immediately. I'm not sure if the extension is still doing some kind of indexing in the background or stuck. I can close and re-open affected files to fix it sometimes, or eventually the number of Problems change and I can reload the window to fix the rest. For context in case it helps, I attach to a Docker container which has everything installed and mounted there like PHP and the project files with all of the packages.