##Refactor Legacy Code
Project based on caradojo/trivia
Refactoring a PHP Legacy code application without tests.
- Use tags to see the different phases of refactoring
- Initial -> start the refactoring project
- First Output Test -> Create first test save the output to a file
- Constant and magic string -> Autoload and extract variables.
- Complex Conditional -> To be simple
- Game testeable methods -> Simple Tests
- Complex methods -> difficult tests
- Presentation layer -> responsability separation
- Inyection dependecies -> creating interfaces
- Analyzing Concerns -> Go to OOP and think about future work