We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
M-x treesit-check-indent php-ts-mode
diff -u /var/folders/pg/c8fzpdv12hxbcqr9tg9hyl0r0000gn/T/buffer-content-8QRWS0 /var/folders/pg/c8fzpdv12hxbcqr9tg9hyl0r0000gn/T/buffer-content-Ai7ymh --- /var/folders/pg/c8fzpdv12hxbcqr9tg9hyl0r0000gn/T/buffer-content-8QRWS0 2023-08-28 21:00:10 +++ /var/folders/pg/c8fzpdv12hxbcqr9tg9hyl0r0000gn/T/buffer-content-Ai7ymh 2023-08-28 21:00:10 @@ -6,23 +6,23 @@ * @return never */ #[\ReturnTypeWillChange()] -function f(int|string $v = null): void -{ - $foo; - $foo = $v ?: []; - $n = (int)$v; - $datetime = new DateTimeImmutable(); + function f(int|string $v = null): void + { + $foo; + $foo = $v ?: []; + $n = (int)$v; + $datetime = new DateTimeImmutable(); - echo __FILE__; - if (true) { - echo "foo.{$v}"; - } else { - list($a, $b) = array(1, 3); - echo $datetime->format('Y-m-d H:i:s'), PHP_EOL; + echo __FILE__; + if (true) { + echo "foo.{$v}"; + } else { + list($a, $b) = array(1, 3); + echo $datetime->format('Y-m-d H:i:s'), PHP_EOL; + } + $class = LogicException::class; + throw new LogicException('test'); } - $class = LogicException::class; - throw new LogicException('test'); -} ?> <!DOCTYPE html>
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
M-x treesit-check-indent php-ts-mode
The text was updated successfully, but these errors were encountered: