We should add the possibility to create settings files specific for each environment, such as settings.testing.php and settings.development.php. These file should get included based on the value of APP_ENV and be managed via git.
This would ensure that the site behaves in the same way for every server, based on the current environment.
We should still support settings.local.php and ignore this in git since that will allow everyone to create overrides specific for their needs without committing these to the repo.