minor #141 Simplified the parseTag function (GrahamCampbell)
minor #141 Simplified the parseTag function (GrahamCampbell)

This PR was merged into the 3.0-dev branch.

Discussion
----------

Simplified the parseTag function

A switch statement would be far more appropriate here.

Commits
-------

b04ca96 Simplified the parseTag function

jeskew/Sami,TobyMaxham/Sami,scribenet/Sami,scribenet/Sami,TobyMaxham/Sami,derFunk/Sami,TiS/Sami,TiS/Sami,edos-io/Sami,jeskew/Sami,forging2012/Sami,FriendsOfPHP/Sami,forging2012/Sami,php-opencloud/Sami,derFunk/Sami,FriendsOfPHP/Sami,laborautonomo/Sami,php-opencloud/Sami,edos-io/Sami