Recently we merged sfYaml package as Data_Parser of Doctrine project.
We found that when we have a numeric value that should be considered as a string (for example: phone number, CPF (brazilian ID card), the parser tries to cast the value into integer type, which lead to a dubeous value after processment.
I wrote a patch that prevents this cast in the case of integer overflow and consider it as a normal string, which fixed our failing tests related to this issue.
Here is the link of the changeset I made to fix it: http://trac.phpdoctrine.org/changeset/4758
I'm available for explanations at IRC channel #doctrine @ freenode.
Regards,
Guilherme Blanco