coding standards: modifications by php-cs-fixer
added dependency injection