You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to run my tests and phpstan with debug mode disabled in my CI. However, the dumped container XML file does not have the same name if the debug mode is enabled or not.
Examples:
in test env APP_ENV=test with debug mode disabled APP_DEBUG=0:
App_KernelTestContainer.php
in test env APP_ENV=test with debug mode enabled APP_DEBUG=1
App_KernelTestDebugContainer.xml
Questions
Do I need separate phpstan.dist.neon configuration files for each case ? It could be difficult if we have just APP_ENV=dev and APP_ENV=test with different debug mode.