File tree 3 files changed +8
-10
lines changed
src/Symfony/Bridge/PhpUnit
Tests/DeprecationErrorHandler
3 files changed +8
-10
lines changed Original file line number Diff line number Diff line change 1
1
CHANGELOG
2
2
=========
3
3
4
- 4.1.0
5
- -----
6
-
7
- * all deprecations but those from tests marked with ` @group legacy ` are always
8
- displayed when not in ` weak ` mode.
9
-
10
4
4.0.0
11
5
-----
12
6
@@ -22,6 +16,8 @@ CHANGELOG
22
16
-----
23
17
24
18
* added a ` CoverageListener ` to enhance the code coverage report
19
+ * all deprecations but those from tests marked with ` @group legacy ` are always
20
+ displayed when not in ` weak ` mode
25
21
26
22
3.3.0
27
23
-----
Original file line number Diff line number Diff line change @@ -21,6 +21,8 @@ public function testLegacyFoo()
21
21
{
22
22
@trigger_error ('silenced foo deprecation ' , E_USER_DEPRECATED );
23
23
trigger_error ('unsilenced foo deprecation ' , E_USER_DEPRECATED );
24
+ @trigger_error ('silenced foo deprecation ' , E_USER_DEPRECATED );
25
+ trigger_error ('unsilenced foo deprecation ' , E_USER_DEPRECATED );
24
26
}
25
27
26
28
public function testNonLegacyBar ()
Original file line number Diff line number Diff line change @@ -20,10 +20,10 @@ require __DIR__.'/fake_vendor/acme/lib/deprecation_riddled.php';
20
20
21
21
?>
22
22
--EXPECTF--
23
- Unsilenced deprecation notices (2 )
23
+ Unsilenced deprecation notices (3 )
24
24
25
- 1x : unsilenced foo deprecation
26
- 1x in FooTestCase::testLegacyFoo
25
+ 2x : unsilenced foo deprecation
26
+ 2x in FooTestCase::testLegacyFoo
27
27
28
28
1x: unsilenced bar deprecation
29
29
1x in FooTestCase::testNonLegacyBar
@@ -33,7 +33,7 @@ Remaining vendor deprecation notices (1)
33
33
1x: silenced bar deprecation
34
34
1x in FooTestCase::testNonLegacyBar
35
35
36
- Legacy deprecation notices (1 )
36
+ Legacy deprecation notices (2 )
37
37
38
38
Other deprecation notices (1)
39
39
You can’t perform that action at this time.
0 commit comments