not working in windows 10
Oxicode opened this issue · 6 comments
Hi @Oxicode! Thank you for creating an issue. Do you happen to have any specific information to share around the problem you're seeing in Windows 10?
@Oxicode I found and resolved an issue that was preventing the extension from working on Windows. Thanks for the heads up!
how do you run this extension? I just installed it and then what?
@samayo after installing the extension and reloading the editor, PHP files will automatically be formatted on save. Let me know if you run into any issues.
@fterrag thanks, it works but i have 1 question. why is code indented like this?
public function isGet(): bool
{
return $this->getMethod() === 'GET';
}
The return is indented by two spaces instead of 1. I can't fix it since it automatically indents the code by itself
thanks for making this ext btw
@samayo the return in your example is indented by 4 spaces per PSR-2: https://www.php-fig.org/psr/psr-2/#1-overview (see the second bullet).