Added new helper methods. Also no longer allowing the same token to be modified more than once each time through the file. This stops multiple sniffs trying to fix the same thing (like an indent) and looping forever.
Added new helper methods. Also no longer allowing the same token to be modified more than once each time through the file. This stops multiple sniffs trying to fix the same thing (like an indent) and looping forever.

ravage84/PHP_CodeSniffer,akarmazyn/PHP_CodeSniffer,oligriffiths/PHP_CodeSniffer,squizlabs/PHP_CodeSniffer,Konafets/PHP_CodeSniffer,VANINUitgeverij/PHP_CodeSniffer,mkuh/PHP_CodeSniffer,evilebottnawi/PHP_CodeSniffer,arnested/PHP_CodeSniffer,evilebottnawi/PHP_CodeSniffer,squizlabs/PHP_CodeSniffer,tophsic/PHP_CodeSniffer,akarmazyn/PHP_CodeSniffer,evilebottnawi/PHP_CodeSniffer,ericariyanto/PHP_CodeSniffer,thomasjfox/PHP_CodeSniffer,itpatrol/PHP_CodeSniffer,rcarraretto/PHP_CodeSniffer,xwp/PHP_CodeSniffer,revinate/PHP_CodeSniffer,mkuh/PHP_CodeSniffer,scato/PHP_CodeSniffer,ttyz/PHP_CodeSniffer,ericariyanto/PHP_CodeSniffer,ericariyanto/PHP_CodeSniffer,xwp/PHP_CodeSniffer,pfrenssen/PHP_CodeSniffer,jamescauwelier/PHP_CodeSniffer,oligriffiths/PHP_CodeSniffer,legoktm/PHP_CodeSniffer,kenguest/PHP_CodeSniffer,xwp/PHP_CodeSniffer,Phillaf/PHP_CodeSniffer,pfrenssen/PHP_CodeSniffer,Konafets/PHP_CodeSniffer,hu2008yinxiang/PHP_CodeSniffer,scato/PHP_CodeSniffer,tophsic/PHP_CodeSniffer,OndraM/PHP_CodeSniffer,phpdragon/PHP_CodeSniffer,jrfnl/PHP_CodeSniffer,stronk7/PHP_CodeSniffer,revinate/PHP_CodeSniffer,julka/PHP_CodeSniffer,OndraM/PHP_CodeSniffer,R11T/PHP_CodeSniffer,xwp/PHP_CodeSniffer,jamescauwelier/PHP_CodeSniffer,OndraM/PHP_CodeSniffer,JDGrimes/PHP_CodeSniffer,julka/PHP_CodeSniffer,stronk7/PHP_CodeSniffer,Konafets/PHP_CodeSniffer,ttyz/PHP_CodeSniffer,rcarraretto/PHP_CodeSniffer,hu2008yinxiang/PHP_CodeSniffer,mkuh/PHP_CodeSniffer,squizlabs/PHP_CodeSniffer,JDGrimes/PHP_CodeSniffer,pfrenssen/PHP_CodeSniffer,kenguest/PHP_CodeSniffer,phpdragon/PHP_CodeSniffer,ericariyanto/PHP_CodeSniffer,R11T/PHP_CodeSniffer,itpatrol/PHP_CodeSniffer,kenguest/PHP_CodeSniffer,JDGrimes/PHP_CodeSniffer,phpdragon/PHP_CodeSniffer,julka/PHP_CodeSniffer,ravage84/PHP_CodeSniffer,jrfnl/PHP_CodeSniffer,Konafets/PHP_CodeSniffer,tophsic/PHP_CodeSniffer,legoktm/PHP_CodeSniffer,oligriffiths/PHP_CodeSniffer,phpdragon/PHP_CodeSniffer,VANINUitgeverij/PHP_CodeSniffer,jrfnl/PHP_CodeSniffer,scato/PHP_CodeSniffer,ttyz/PHP_CodeSniffer,thomasjfox/PHP_CodeSniffer,VANINUitgeverij/PHP_CodeSniffer,oligriffiths/PHP_CodeSniffer,rcarraretto/PHP_CodeSniffer,scato/PHP_CodeSniffer,Phillaf/PHP_CodeSniffer,tophsic/PHP_CodeSniffer,hu2008yinxiang/PHP_CodeSniffer,Phillaf/PHP_CodeSniffer,fabacino/PHP_CodeSniffer,itpatrol/PHP_CodeSniffer,OndraM/PHP_CodeSniffer,akarmazyn/PHP_CodeSniffer,thomasjfox/PHP_CodeSniffer,hu2008yinxiang/PHP_CodeSniffer,stronk7/PHP_CodeSniffer,pfrenssen/PHP_CodeSniffer,akarmazyn/PHP_CodeSniffer,mkuh/PHP_CodeSniffer,arnested/PHP_CodeSniffer,julka/PHP_CodeSniffer,fabacino/PHP_CodeSniffer,ttyz/PHP_CodeSniffer,thomasjfox/PHP_CodeSniffer,arnested/PHP_CodeSniffer,evilebottnawi/PHP_CodeSniffer,revinate/PHP_CodeSniffer,fabacino/PHP_CodeSniffer,rcarraretto/PHP_CodeSniffer,kenguest/PHP_CodeSniffer,itpatrol/PHP_CodeSniffer,revinate/PHP_CodeSniffer