Formats PHP comments.
From:
//foo
/*bar baz*/
To:
// foo
/* bar baz */
composer require --dev ntzm/php-comment-style
To fix all PHP files in src/
:
vendor/bin/php-comment-style fix src
To fix all PHP files in src/
and tests/
:
vendor/bin/php-comment-style fix src tests