[TxMt] 'bug' in php bundle: indentation of elseif on same line as closing brace is wrong

Ciarán Walsh ciawal at gmail.com
Mon Apr 14 20:50:55 UTC 2008


On 14 Apr 2008, at 07:01, Till Backhaus wrote:

> Hi again,
>
> sorry for the non-working example. I have to admit that my example  
> was oversimplified
> and that the case in which the error occurs is slightly less common  
> than previously
> indicated.
>
> Now a 'working' example:
> <?php
> if( $whatever ){
> doesnt_matter();
> } elseif ( $something
> || $breaking_before_the_second_condition_screws_it_up ) {
> doesnt_matter_either();
> }
> ?>

OK, I see the problem too, and I know why it’s happening. Not sure how  
best to fix it right now, but I’ll think on it – thanks for the report.


More information about the textmate mailing list