Skip to content
New issue

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

Add an option to the formatter not to move namespace to it's own line #32

Open
kaan-atakan opened this issue Jul 6, 2020 · 0 comments

Comments

@kaan-atakan
Copy link

kaan-atakan commented Jul 6, 2020

Hello, I am a big fan of your vscode extension and a premium user but I tend to prefer phpfmt to the formatter included in the extension for two reasons. This is an issue about the first which is very minor:

I like to specify my namespace on the same line as the first php opening bracket like such:

<?php namespace App\Services;

// ...

but when I use your formatter it moves the namespace decleration to it's own line:

<?php 

namespace App\Services;

// ...

I would appreciate it if there was an option to disable this behavior

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant