Scrutinizer Auto-Fixes

This patch was automatically generated as part of the following inspection:
https://scrutinizer-ci.com/g/fezfez/codeGenerator/inspections/af788eee-02da-4037-90f1-779b39f33cca

Enabled analysis tools:
 - PHP Analyzer
 - PHP Mess Detector
 - PHP Code Sniffer
 - PHP CS Fixer
 - JSHint
 - PHP Code Coverage
 - PHP Copy/Paste Detector
 - PHP Lines Of Code
 - PHP PDepend
 - External Code Coverage
 - PHP HHVM
 - PHP Change Tracking Analyzer
Merge pull request #35 from fezfez/scrutinizer-patch-1

Scrutinizer Auto-Fixes
Merge pull request #37 from fezfez/karma-unittest

Karma unittest