Skip to content

Commit 89abc0c

Browse files
committed
Merge branch '2.3' into 2.4
* 2.3: Fixed mistake in upgrade docu Container::camelize also takes backslashes into consideration fixed typos fixed @ExpectedException class names fixed some typos fixed @ExpectedException class names Typo and better wording for german validator translation
2 parents 8bcb9de + 8b2525c commit 89abc0c

9 files changed

+9
-9
lines changed

Tests/Authentication/AuthenticationProviderManagerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
class AuthenticationProviderManagerTest extends \PHPUnit_Framework_TestCase
2121
{
2222
/**
23-
* @expectedException InvalidArgumentException
23+
* @expectedException \InvalidArgumentException
2424
*/
2525
public function testAuthenticateWithoutProviders()
2626
{

Tests/Authentication/Token/RememerMeTokenTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public function testConstructorKeyCannotBeEmptyString()
5353
}
5454

5555
/**
56-
* @expectedException PHPUnit_Framework_Error
56+
* @expectedException \PHPUnit_Framework_Error
5757
* @dataProvider getUserArguments
5858
*/
5959
public function testConstructorUserCannotBeNull($user)

Tests/Authentication/Token/UsernamePasswordTokenTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public function testConstructor()
2828
}
2929

3030
/**
31-
* @expectedException LogicException
31+
* @expectedException \LogicException
3232
*/
3333
public function testSetAuthenticatedToTrue()
3434
{

Tests/Authorization/AccessDecisionManagerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public function testSupportsAttribute()
4747
}
4848

4949
/**
50-
* @expectedException InvalidArgumentException
50+
* @expectedException \InvalidArgumentException
5151
*/
5252
public function testSetVotersEmpty()
5353
{

Tests/Encoder/BasePasswordEncoderTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public function testMergePasswordAndSalt()
4646
}
4747

4848
/**
49-
* @expectedException InvalidArgumentException
49+
* @expectedException \InvalidArgumentException
5050
*/
5151
public function testMergePasswordAndSaltWithException()
5252
{

Tests/Encoder/MessageDigestPasswordEncoderTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public function testEncodePassword()
3535
}
3636

3737
/**
38-
* @expectedException LogicException
38+
* @expectedException \LogicException
3939
*/
4040
public function testEncodePasswordAlgorithmDoesNotExist()
4141
{

Tests/Encoder/Pbkdf2PasswordEncoderTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public function testEncodePassword()
3535
}
3636

3737
/**
38-
* @expectedException LogicException
38+
* @expectedException \LogicException
3939
*/
4040
public function testEncodePasswordAlgorithmDoesNotExist()
4141
{

Tests/User/InMemoryProviderTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public function testCreateUser()
4242
}
4343

4444
/**
45-
* @expectedException LogicException
45+
* @expectedException \LogicException
4646
*/
4747
public function testCreateUserAlreadyExist()
4848
{

Tests/User/UserTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class UserTest extends \PHPUnit_Framework_TestCase
1717
{
1818
/**
1919
* @covers Symfony\Component\Security\Core\User\User::__construct
20-
* @expectedException InvalidArgumentException
20+
* @expectedException \InvalidArgumentException
2121
*/
2222
public function testConstructorException()
2323
{

0 commit comments

Comments
 (0)