Skip to content

danielarcher/homework

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

133 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

Composer install (dev)

docker run --rm -u=1000:1000 -v $(pwd):/app composer/composer install --prefer-dist --dev -o

Tests

php composer.phar phpunit
#or
php composer.phar docker-phpunit

Execute Application

php composer.phar generate-translation
#or
php composer.phar docker-generate-translation

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages