Hi PHP expert,
I have small test task as following.
Please find attached the zip archive containing the test code.
- Identify as much as possible bad practices used in the code and explain why.
- Refactor the application to have a cleaner codebase and easier to maintain / evolve (meaning: use OOP and its design patterns well).
It is not allowed to start from scratch with a framework like Symfony but you do have the right to use 3rd party libraries PSR compliant like Symfony Components (or others) and include them in the project.
- Have a bit of code documentation