diff --git a/.php-cs-fixer.php b/.php-cs-fixer.php index 131c81d..9c0fa3f 100644 --- a/.php-cs-fixer.php +++ b/.php-cs-fixer.php @@ -140,6 +140,7 @@ 'phpdoc_no_useless_inheritdoc' => true, 'phpdoc_order' => [ 'order' => [ + 'api', 'internal', 'psalm-internal', 'template', @@ -161,7 +162,6 @@ 'param', 'return', 'throws', - 'api', 'psalm-suppress', ], ], @@ -169,6 +169,7 @@ 'phpdoc_scalar' => true, 'phpdoc_separation' => [ 'groups' => [ + ['api'], [ 'property', 'property-read', @@ -187,7 +188,7 @@ 'phpstan-require-extends', ], ['psalm-taint-sink', 'param'], - ['return', 'throws', 'api'], + ['return', 'throws'], ['psalm-suppress'], ], ],