Small improvement to Validator testcase

Signed-off-by: crynobone <crynobone@gmail.com>
Implement PSR-2 code standard.

Signed-off-by: crynobone <crynobone@gmail.com>
Merge branch '2.0'

Conflicts:
	tests/ValidatorTest.php

Signed-off-by: crynobone <crynobone@gmail.com>