Update FormValidatorSpec.php

remove array bracket syntax for php 5.3