pretty-php
pretty-php copied to clipboard
Double spaces before comments on the end of the code line
pretty-php adds 2 spaces before the comment. expected 1. Not sure if this is intentional, but I've never seen this style before.
<?php
class Example
{
public int $test = 0; // This is a test.
public function example()
{
$this->test = 1; // This is a test.
}
}
I think this is inspired by Black's behaviour, because that tool also adds two spaces before a comment instead of just one.