Skip to content

Commit b0b51f4

Browse files
Apply coding standards for php 8.3
1 parent 0c9a0ca commit b0b51f4

File tree

2 files changed

+6
-14
lines changed

2 files changed

+6
-14
lines changed

src/Collator/Configuration.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
/** @internal */
88
class Configuration
99
{
10-
public const NULL_VALUES_FIRST = 1;
11-
public const NULL_VALUES_LAST = 2;
10+
public const int NULL_VALUES_FIRST = 1;
11+
public const int NULL_VALUES_LAST = 2;
1212

1313
/** @phpstan-var self::NULL_VALUES_*|null */
1414
private int|null $nullableSort = null;

tests/BuilderTest.php

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -112,9 +112,7 @@ public function testEnableCaseLevel(): void
112112
self::assertSame($expected, $result);
113113
}
114114

115-
/**
116-
* @param string[] $values
117-
*/
115+
/** @param string[] $values */
118116
#[DataProvider('provideDisabledCaseLevelValues')]
119117
public function testDisableCaseLevel(array $values): void
120118
{
@@ -135,9 +133,7 @@ public static function provideDisabledCaseLevelValues(): iterable
135133
yield [['B', 'b', 'c']];
136134
}
137135

138-
/**
139-
* @param string[] $values
140-
*/
136+
/** @param string[] $values */
141137
#[DataProvider('providePrimaryStrengthValues')]
142138
public function testPrimaryStrength(array $values): void
143139
{
@@ -156,9 +152,7 @@ public static function providePrimaryStrengthValues(): iterable
156152
yield [['côte', 'côté', 'Côte', 'd']];
157153
}
158154

159-
/**
160-
* @param string[] $values
161-
*/
155+
/** @param string[] $values */
162156
#[DataProvider('provideSecondaryStrengthValues')]
163157
public function testSecondaryStrength(array $values): void
164158
{
@@ -177,9 +171,7 @@ public static function provideSecondaryStrengthValues(): iterable
177171
yield [['Role', 'role', 'rôle']];
178172
}
179173

180-
/**
181-
* @param string[] $values
182-
*/
174+
/** @param string[] $values */
183175
#[DataProvider('provideTertiaryStrengthValues')]
184176
public function testTertiaryStrength(array $values): void
185177
{

0 commit comments

Comments
 (0)