Skip to content

Commit 535d93f

Browse files
CS fix
1 parent 1b94a1c commit 535d93f

9 files changed

+13
-2
lines changed

Tests/Constraints/BicValidatorTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,7 @@ public function testInvalidBics($bic, $code)
229229

230230
/**
231231
* @requires PHP 8
232+
*
232233
* @dataProvider getInvalidBics
233234
*/
234235
public function testInvalidBicsNamed($bic, $code)

Tests/Constraints/CssColorTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818

1919
/**
2020
* @author Mathieu Santostefano <[email protected]>
21+
*
2122
* @requires PHP 8
2223
*/
2324
final class CssColorTest extends TestCase

Tests/Constraints/CurrencyValidatorTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ public function testInvalidCurrencies($currency)
114114

115115
/**
116116
* @requires PHP 8
117+
*
117118
* @dataProvider getInvalidCurrencies
118119
*/
119120
public function testInvalidCurrenciesNamed($currency)

Tests/Constraints/IsNullValidatorTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ public function testInvalidValues($value, $valueAsString)
4848

4949
/**
5050
* @requires PHP 8
51+
*
5152
* @dataProvider getInvalidValues
5253
*/
5354
public function testInvalidValuesNamed($value, $valueAsString)

Tests/Constraints/LengthTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ public function testInvalidNormalizerObjectThrowsException()
4848

4949
/**
5050
* @group legacy
51+
*
5152
* @dataProvider allowEmptyStringOptionData
5253
*/
5354
public function testDeprecatedAllowEmptyStringOption(bool $value)

Tests/Constraints/LengthValidatorTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,7 @@ public function testInvalidValuesMin($value)
189189

190190
/**
191191
* @requires PHP 8
192+
*
192193
* @dataProvider getThreeOrLessCharacters
193194
*/
194195
public function testInvalidValuesMinNamed($value)
@@ -229,6 +230,7 @@ public function testInvalidValuesMax($value)
229230

230231
/**
231232
* @requires PHP 8
233+
*
232234
* @dataProvider getFiveOrMoreCharacters
233235
*/
234236
public function testInvalidValuesMaxNamed($value)
@@ -270,6 +272,7 @@ public function testInvalidValuesExactLessThanFour($value)
270272

271273
/**
272274
* @requires PHP 8
275+
*
273276
* @dataProvider getThreeOrLessCharacters
274277
*/
275278
public function testInvalidValuesExactLessThanFourNamed($value)

Tests/Constraints/RangeTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ public static function provideDeprecationTriggeredIfMinMaxAndMinMessageOrMaxMess
8585

8686
/**
8787
* @group legacy
88+
*
8889
* @dataProvider provideDeprecationTriggeredIfMinMaxAndMinMessageOrMaxMessageSet
8990
*/
9091
public function testDeprecationTriggeredIfMinMaxAndMinMessageOrMaxMessageSet(array $options, bool $expectedDeprecatedMinMessageSet, bool $expectedDeprecatedMaxMessageSet)
@@ -107,6 +108,7 @@ public static function provideDeprecationNotTriggeredIfNotMinMaxOrNotMinMessageN
107108

108109
/**
109110
* @doesNotPerformAssertions
111+
*
110112
* @dataProvider provideDeprecationNotTriggeredIfNotMinMaxOrNotMinMessageNorMaxMessageSet
111113
*/
112114
public function testDeprecationNotTriggeredIfNotMinMaxOrNotMinMessageNorMaxMessageSet(array $options)

Tests/Constraints/RegexValidatorTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ public function testValidValuesWithWhitespaces($value)
6767

6868
/**
6969
* @requires PHP 8
70+
*
7071
* @dataProvider getValidValuesWithWhitespaces
7172
*/
7273
public function testValidValuesWithWhitespacesNamed($value)
@@ -125,6 +126,7 @@ public function testInvalidValues($value)
125126

126127
/**
127128
* @requires PHP 8
129+
*
128130
* @dataProvider getInvalidValues
129131
*/
130132
public function testInvalidValuesNamed($value)

Tests/Constraints/UlidValidatorTest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111

1212
namespace Symfony\Component\Validator\Tests\Constraints;
1313

14-
use stdClass;
1514
use Symfony\Component\Validator\Constraints\Ulid;
1615
use Symfony\Component\Validator\Constraints\UlidValidator;
1716
use Symfony\Component\Validator\Exception\UnexpectedValueException;
@@ -44,7 +43,7 @@ public function testEmptyStringIsValid()
4443
public function testExpectsStringCompatibleType()
4544
{
4645
$this->expectException(UnexpectedValueException::class);
47-
$this->validator->validate(new stdClass(), new Ulid());
46+
$this->validator->validate(new \stdClass(), new Ulid());
4847
}
4948

5049
public function testValidUlid()

0 commit comments

Comments
 (0)