Skip to content

Commit 64a732d

Browse files
Merge branch '2.8' into 3.3
* 2.8: [2.7] More docblock fixes
2 parents 2269fba + 20fa3cf commit 64a732d

File tree

1 file changed

+0
-24
lines changed

1 file changed

+0
-24
lines changed

Tests/Constraints/FileTest.php

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,6 @@
1818
class FileTest extends TestCase
1919
{
2020
/**
21-
* @param mixed $maxSize
22-
* @param int $bytes
23-
* @param bool $binaryFormat
2421
* @dataProvider provideValidSizes
2522
*/
2623
public function testMaxSize($maxSize, $bytes, $binaryFormat)
@@ -33,10 +30,6 @@ public function testMaxSize($maxSize, $bytes, $binaryFormat)
3330

3431
/**
3532
* @dataProvider provideValidSizes
36-
*
37-
* @param int|string $maxSize
38-
* @param int $bytes
39-
* @param string $binaryFormat
4033
*/
4134
public function testMaxSizeCanBeSetAfterInitialization($maxSize, $bytes, $binaryFormat)
4235
{
@@ -50,8 +43,6 @@ public function testMaxSizeCanBeSetAfterInitialization($maxSize, $bytes, $binary
5043
/**
5144
* @dataProvider provideInvalidSizes
5245
* @expectedException \Symfony\Component\Validator\Exception\ConstraintDefinitionException
53-
*
54-
* @param int|string $maxSize
5546
*/
5647
public function testInvalidValueForMaxSizeThrowsExceptionAfterInitialization($maxSize)
5748
{
@@ -61,8 +52,6 @@ public function testInvalidValueForMaxSizeThrowsExceptionAfterInitialization($ma
6152

6253
/**
6354
* @dataProvider provideInvalidSizes
64-
*
65-
* @param int|string $maxSize
6655
*/
6756
public function testMaxSizeCannotBeSetToInvalidValueAfterInitialization($maxSize)
6857
{
@@ -77,7 +66,6 @@ public function testMaxSizeCannotBeSetToInvalidValueAfterInitialization($maxSize
7766
}
7867

7968
/**
80-
* @param mixed $maxSize
8169
* @dataProvider provideInValidSizes
8270
* @expectedException \Symfony\Component\Validator\Exception\ConstraintDefinitionException
8371
*/
@@ -86,9 +74,6 @@ public function testInvalidMaxSize($maxSize)
8674
new File(array('maxSize' => $maxSize));
8775
}
8876

89-
/**
90-
* @return array
91-
*/
9277
public function provideValidSizes()
9378
{
9479
return array(
@@ -105,9 +90,6 @@ public function provideValidSizes()
10590
);
10691
}
10792

108-
/**
109-
* @return array
110-
*/
11193
public function provideInvalidSizes()
11294
{
11395
return array(
@@ -121,9 +103,6 @@ public function provideInvalidSizes()
121103
}
122104

123105
/**
124-
* @param mixed $maxSize
125-
* @param bool $guessedFormat
126-
* @param bool $binaryFormat
127106
* @dataProvider provideFormats
128107
*/
129108
public function testBinaryFormat($maxSize, $guessedFormat, $binaryFormat)
@@ -133,9 +112,6 @@ public function testBinaryFormat($maxSize, $guessedFormat, $binaryFormat)
133112
$this->assertSame($binaryFormat, $file->binaryFormat);
134113
}
135114

136-
/**
137-
* @return array
138-
*/
139115
public function provideFormats()
140116
{
141117
return array(

0 commit comments

Comments
 (0)