Gildus / candidate_practical_homework_refactoring

Practical homework for candidates: refactoring.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

#Task: Refactor the LanguageBatchBo! The goals are:

  • increase the inner quality of the code and
  • (optional) increase test coverage with unit tests

#Rules:

  • Create local git repo for the project
  • Commit after every step when the system is in working condition
  • The interface of the LanguageBatchBo can't be changed (the generate_language_files.php should remain the same), but (of course) it's content can change and can split into new classes.
  • The ApiCall, and Config classes are simplified versions of the original ones, they can not be changed
  • The exceptions can be changed
  • The console output of can be changed
  • Only PHPUnit can be used for testing
  • Commenting is not necessary
  • You can clone this repo, but the homework should be sent to us through email (with the git files)

About

Practical homework for candidates: refactoring.


Languages

Language:PHP 100.0%