[Form] Fixed TrimListenerTest as of PHP 5.5