$a($b); function multipleWhitespaceTokensAfterType(int $number) {} function spacingBetweenParenthesesShouldBeFixedInOneGo() {} function newlineAfterReferenceShouldBeFlaggedAndFixed( &$param ) {} function newlineAfterReferenceFixerRespectsComment( &// comment $param ) {} function newlineAfterVariadicShouldBeFlaggedAndFixed( ...$param ) {} function newlineAfterVariadicFixerRespectsComment( ...//comment $param ) {} function newlineBeforeAndAfterEqualsSignShouldBeFixedForSpacing0( $param=true ) {} function commentBeforeOrAfterEqualsSignShouldBeFlaggedNotFixed( $param /*comment*/ = /*comment*/ true ) {} function newlineAndCommentBeforeAndAfterEqualsSignShouldBeFlaggedNotFixed( $param //comment = //comment true ) {} // phpcs:set Squiz.Functions.FunctionDeclarationArgumentSpacing equalsSpacing 1 function newlineBeforeAndAfterEqualsSignShouldBeFixedForSpacing1( $param = true ) {} // phpcs:set Squiz.Functions.FunctionDeclarationArgumentSpacing equalsSpacing 0 function newlineBeforeCommaShouldBeFixedInOneGo( $paramA, $paramB, $paramC ) {} function newlineBeforeCommaFixerRespectsComments( $paramA, // comment $paramB=10, /* comment */ $paramC=20, # comment $paramC=30, string $paramC='foo' ) {} class PropertyPromotionSpacingAfterComma { public function __construct(private string|int $propA, protected bool $correctSpace, public MyClass $tooMuchSpace, readonly string $noSpace) {} } class PropertyPromotionSpacingAfterModifier { public function __construct( private $noSpace, public MyClass $tooMuchSpace, protected readonly string $tooMuchSpaceX2, readonly public string $tooMuchSpaceNewLines, ) {} } class AsymVisibilityPropertyPromotionSpacingAfterComma { public function __construct(private(set) string|int $propA, protected(set) bool $correctSpace, public(set) MyClass $tooMuchSpace, public(set) string $noSpace) {} } class AsymVisibilityPropertyPromotionSpacingAfterModifier { public function __construct( private(set) $noSpace, public(set) MyClass $tooMuchSpace, protected(set) public string $tooMuchSpaceX2, private public(set) string $tooMuchSpaceNewLines, ) {} }