Thomas Gossmann

Results 159 issues of Thomas Gossmann

Put blanks there.... or not.

feature-request

The difference between an analyzer and a context is a bit whack (The context can be nested though) and the code to retrieve that is coupled to much together (which...

Create an Output object that is shared across formatters and the DefaultFormatter is flushing every queued commands.

At the moment, the Context is evaluated twice. Would be nice to cache the results of the first round, while also maintaining other token-related tasks, such as to dispatch the...

New indentation features: - [ ] Array Indentation #11 - [ ] Smart indentation for conditions #12 - [ ] Call chain indentation #13

feature-request
meta

New whitespace features: - [ ] Unary operator #8 - [ ] Type Casts #9

feature-request
meta

Indentation for call-chains, probably customizable. tree-wise call-stack e.g. [ProfileDefinition](https://github.com/gossi/php-code-formatter/blob/master/src/config/ProfileDefinition.php) ``` php $node ->children() ->arrayNode('indentation') ->children() ->enumNode('character') ->values(['tab', 'space']) ->end() ->integerNode('size')->end() ->booleanNode('struct')->end() ->booleanNode('function')->end() ->booleanNode('blocks')->end() ->booleanNode('switch')->end() ->booleanNode('case')->end() ->booleanNode('break')->end() ->booleanNode('empty_lines') ->end() ->end() ->end()...

feature-request

Indentations within conditions is tough, if done smart, can be really nice :smile:

feature-request

Properly indent arrays. Occurences: ``` php // two syntaxes $oldSyntax = array(...); $newSyntax = [...]; // map/object style $map = [ 'key' => 'value', 'key2' => 'value2', // ... ];...

feature-request

Add whitespace to type casts

feature-request