'php-cs-fixer braces on new line on class declaration and on the same line for function

i'm looking for a way to make php-cs-fixer to do the following

<?php

class Test 
{
    public function __construct() {
     
    }
    ...
}

any way to make it so that after the class declaration the brace goes to a new line but functions braces stays on the same line? all i found is everything on the same line or everything on a new line and i don't really like that.

the position_after_functions_and_oop_constructs takes everything and i would like to have them separated, is there a way to do?

thanks for helping!



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source