Php cs fixer 正在做:
function foobar()
{
....
}
Run Code Online (Sandbox Code Playgroud)
而且我要:
function foobar() {
....
}
Run Code Online (Sandbox Code Playgroud)
我看不到在我的配置.php_cs
文件或https://github.com/FriendsOfPHP/PHP-CS-Fixer上将大括号保持在同一行的配置是什么。我正在使用 php-cs-fixerV2。
我的配置文件:https : //pastebin.com/v03v9Lb5