Skip to content

Commit cd04f7b

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 2f4500a + 46aa5b5 commit cd04f7b

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

Tests/Fragment/FragmentHandlerTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public function testRenderWhenRendererDoesNotExist()
4242
}
4343

4444
/**
45-
* @expectedException InvalidArgumentException
45+
* @expectedException \InvalidArgumentException
4646
*/
4747
public function testRenderWithUnknownRenderer()
4848
{
@@ -52,7 +52,7 @@ public function testRenderWithUnknownRenderer()
5252
}
5353

5454
/**
55-
* @expectedException RuntimeException
55+
* @expectedException \RuntimeException
5656
* @expectedExceptionMessage Error when rendering "http://localhost/" (Status code is 404).
5757
*/
5858
public function testDeliverWithUnsuccessfulResponse()

Tests/HttpCache/EsiTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ public function testProcessEscapesPhpTags()
126126
}
127127

128128
/**
129-
* @expectedException RuntimeException
129+
* @expectedException \RuntimeException
130130
*/
131131
public function testProcessWhenNoSrcInAnEsi()
132132
{
@@ -166,7 +166,7 @@ public function testHandle()
166166
}
167167

168168
/**
169-
* @expectedException RuntimeException
169+
* @expectedException \RuntimeException
170170
*/
171171
public function testHandleWhenResponseIsNot200()
172172
{

Tests/HttpKernelTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
class HttpKernelTest extends \PHPUnit_Framework_TestCase
2525
{
2626
/**
27-
* @expectedException RuntimeException
27+
* @expectedException \RuntimeException
2828
*/
2929
public function testHandleWhenControllerThrowsAnExceptionAndRawIsTrue()
3030
{
@@ -34,7 +34,7 @@ public function testHandleWhenControllerThrowsAnExceptionAndRawIsTrue()
3434
}
3535

3636
/**
37-
* @expectedException RuntimeException
37+
* @expectedException \RuntimeException
3838
*/
3939
public function testHandleWhenControllerThrowsAnExceptionAndRawIsFalseAndNoListenerIsRegistered()
4040
{
@@ -136,7 +136,7 @@ public function testHandleWhenNoControllerIsFound()
136136
}
137137

138138
/**
139-
* @expectedException LogicException
139+
* @expectedException \LogicException
140140
*/
141141
public function testHandleWhenTheControllerIsNotACallable()
142142
{
@@ -188,7 +188,7 @@ public function testHandleWhenTheControllerIsAStaticArray()
188188
}
189189

190190
/**
191-
* @expectedException LogicException
191+
* @expectedException \LogicException
192192
*/
193193
public function testHandleWhenTheControllerDoesNotReturnAResponse()
194194
{

0 commit comments

Comments
 (0)