Open promatik opened 3 years ago
With a function like;
public function else($value) { return $this->fallbackLogic($value); }
phpfmt is braking the code to;
function else{ ($value) { return $this->fallbackLogic($value); }
Since PHP 7.0 the Context Sensitive Lexer allows to use reserved words for function names for instance.
RFC here: https://wiki.php.net/rfc/context_sensitive_lexer
With a function like;
phpfmt is braking the code to;
Since PHP 7.0 the Context Sensitive Lexer allows to use reserved words for function names for instance.
RFC here: https://wiki.php.net/rfc/context_sensitive_lexer