Skip to content

Commit 53edaa9

Browse files
committed
Ensure attributes are placed in the same line as a property/argument
1 parent 2031144 commit 53edaa9

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.php-cs-fixer.dist.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@
1616
'concat_space' => [
1717
'spacing' => 'none',
1818
],
19+
'method_argument_space' => [
20+
'attribute_placement' => 'same_line',
21+
],
1922
'no_unused_imports' => true,
2023
'ordered_imports' => [
2124
'imports_order' => [

src/Firebase/AppCheck/AppCheckTokenGenerator.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@ final class AppCheckTokenGenerator
2525
*/
2626
public function __construct(
2727
private readonly string $clientEmail,
28-
#[SensitiveParameter]
29-
private readonly string $privateKey,
28+
#[SensitiveParameter] private readonly string $privateKey,
3029
?ClockInterface $clock = null,
3130
) {
3231
$this->clock = $clock ?? SystemClock::create();

0 commit comments

Comments
 (0)