4. Use a Version Control System to Maintain Project files, Except Configuration files5. Track PHP Errors with Assertion Condition Tests6. Do Not Display PHP Errors on your Web pages4. Use a Version Control System to Maintain Project files, Except Configuration filesYou should always use a version control system (VCS) to maintain your application source code, but keep in mind that the configuration/local.php script should never be committed to the VCS repository. The reason for this is that it is not a static file in your project. It is different depending on whether you are in the development, staging or production environment.The default values for the options in the configuration class should be the ones to be used in the production environment, except for sensitive values that are related with the…