Fix quality flaws: remove useless import.
SONARPHP-277 Add test.