dfchan81/PHP-Formatter — pull request #2 by zalex007 (2012-03-01 16:00:09+00:00)
Title: Fixing a bug with regexp functions having extra semicolon

There was a bug when exporting a Selenium test with line like line this:

command: assertText
target: //body
value: regexp:updated

Would provide you with this PHP code:

$this->assertTrue((bool)preg_match('/updated/',$this->getText("//body")););

Which has syntax error in it near "););".

My changes fix that problem.