1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464
|
From: =?utf-8?q?David_Pr=C3=A9vot?= <david@tilapin.org>
Date: Tue, 8 Jul 2025 12:46:08 +0200
Subject: [phpunit] Update expected deprecations
---
.../Tests/DeprecationErrorHandler/baseline.phpt | 1 -
.../Tests/DeprecationErrorHandler/baseline2.phpt | 8 --------
.../Tests/DeprecationErrorHandler/baseline3.phpt | 8 --------
.../debug_class_loader_autoload.phpt | 4 ----
.../debug_class_loader_deprecation.phpt | 4 ----
.../Tests/DeprecationErrorHandler/default.phpt | 18 +++--------------
.../DeprecationErrorHandler/deprecated_regexp.phpt | 7 +------
.../DeprecationErrorHandler/eval_not_self.phpt | 3 ---
.../DeprecationErrorHandler/generate_baseline.phpt | 1 -
.../Tests/DeprecationErrorHandler/ignore.phpt | 8 --------
.../DeprecationErrorHandler/lagging_vendor.phpt | 4 ----
.../multiple_autoloads.phpt | 7 -------
.../DeprecationErrorHandler/partially_quiet.phpt | 12 +++--------
.../DeprecationErrorHandler/partially_quiet2.phpt | 13 +++---------
.../php_deprecation_from_vendor_class.phpt | 5 +----
.../Tests/DeprecationErrorHandler/quiet.phpt | 6 +-----
.../DeprecationErrorHandler/quiet_but_failing.phpt | 4 ----
.../self_on_non_vendor.phpt | 18 +++--------------
.../shutdown_deprecations.phpt | 23 +++-------------------
.../trigger_deprecation_types.phpt | 18 -----------------
.../trigger_error_types.phpt | 18 -----------------
.../Tests/DeprecationErrorHandler/weak.phpt | 6 +-----
.../weak_vendors_on_eval_d_deprecation.phpt | 3 ---
.../weak_vendors_on_phar_deprecation.phpt | 3 ---
.../weak_vendors_on_vendor.phpt | 17 +++-------------
25 files changed, 22 insertions(+), 197 deletions(-)
diff --git a/src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/baseline.phpt b/src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/baseline.phpt
index 83d448e..533912c 100644
--- a/src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/baseline.phpt
+++ b/src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/baseline.phpt
@@ -78,4 +78,3 @@ print "Cannot test baselineFile contents because it is generated in a shutdown f
?>
--EXPECT--
Cannot test baselineFile contents because it is generated in a shutdown function registered by another shutdown function.
-Legacy deprecation notices (1)
diff --git a/src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/baseline2.phpt b/src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/baseline2.phpt
index 925d5c2..5548f65 100644
--- a/src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/baseline2.phpt
+++ b/src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/baseline2.phpt
@@ -66,11 +66,3 @@ $foo->testLegacyFoo();
$foo->testNonLegacyBar();
?>
--EXPECTF--
-Legacy deprecation notices (1)
-
-Other deprecation notices (2)
-
- 1x: root deprecation
-
- 1x: silenced bar deprecation
- 1x in FooTestCase::testNonLegacyBar
diff --git a/src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/baseline3.phpt b/src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/baseline3.phpt
index d814c02..c113243 100644
--- a/src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/baseline3.phpt
+++ b/src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/baseline3.phpt
@@ -69,11 +69,3 @@ $foo->testLegacyFoo();
$foo->testNonLegacyBar();
?>
--EXPECTF--
-Legacy deprecation notices (2)
-
-Other deprecation notices (2)
-
- 1x: root deprecation
-
- 1x: silenced bar deprecation
- 1x in FooTestCase::testNonLegacyBar
diff --git a/src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/debug_class_loader_autoload.phpt b/src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/debug_class_loader_autoload.phpt
index 04e64d3..769001d 100644
--- a/src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/debug_class_loader_autoload.phpt
+++ b/src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/debug_class_loader_autoload.phpt
@@ -35,7 +35,3 @@ new \App\Services\BarService();
?>
--EXPECTF--
-Remaining indirect deprecation notices (1)
-
- 1x: The "acme\lib\ExtendsDeprecatedClassFromOtherVendor" class extends "fcy\lib\DeprecatedClass" that is deprecated.
- 1x in BarService::__construct from App\Services
diff --git a/src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/debug_class_loader_deprecation.phpt b/src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/debug_class_loader_deprecation.phpt
index a6b0133..72689f5 100644
--- a/src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/debug_class_loader_deprecation.phpt
+++ b/src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/debug_class_loader_deprecation.phpt
@@ -35,7 +35,3 @@ new \App\Services\ExtendsDeprecatedFromVendor();
?>
--EXPECTF--
-Remaining direct deprecation notices (1)
-
- 1x: The "App\Services\ExtendsDeprecatedFromVendor" class extends "fcy\lib\DeprecatedClass" that is deprecated.
- 1x in DebugClassLoader::loadClass from Symfony\Component\ErrorHandler
diff --git a/src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/default.phpt b/src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/default.phpt
index 7b46259..e1b9d6e 100644
--- a/src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/default.phpt
+++ b/src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/default.phpt
@@ -67,21 +67,9 @@ register_shutdown_function(function () {
?>
--EXPECTF--
-Unsilenced deprecation notices (3)
+Deprecated: unsilenced foo deprecation in Standard input code on line 46
- 2x: unsilenced foo deprecation
- 2x in FooTestCase::testLegacyFoo
-
- 1x: unsilenced bar deprecation
- 1x in FooTestCase::testNonLegacyBar
-
-Legacy deprecation notices (1)
-
-Other deprecation notices (2)
-
- 1x: root deprecation
-
- 1x: silenced bar deprecation
- 1x in FooTestCase::testNonLegacyBar
+Deprecated: unsilenced foo deprecation in Standard input code on line 47
+Deprecated: unsilenced bar deprecation in Standard input code on line 53
I get precedence over any exit statements inside the deprecation error handler.
diff --git a/src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/deprecated_regexp.phpt b/src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/deprecated_regexp.phpt
index 58f2acb..adeaea8 100644
--- a/src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/deprecated_regexp.phpt
+++ b/src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/deprecated_regexp.phpt
@@ -33,9 +33,4 @@ $foo->testLegacyFoo();
?>
--EXPECTF--
-Legacy deprecation triggered by FooTestCase::testLegacyFoo:
-silenced foo deprecation
-Stack trace:
-#%A(%d): FooTestCase->testLegacyFoo()
-#%d {main}
-
+Deprecated: unsilenced foo deprecation in Standard input code on line 24
diff --git a/src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/eval_not_self.phpt b/src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/eval_not_self.phpt
index 5701f75..798dfc6 100644
--- a/src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/eval_not_self.phpt
+++ b/src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/eval_not_self.phpt
@@ -20,6 +20,3 @@ eval("@trigger_error('who knows where I come from?', E_USER_DEPRECATED);");
?>
--EXPECTF--
-Other deprecation notices (1)
-
- 1x: who knows where I come from?
diff --git a/src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/generate_baseline.phpt b/src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/generate_baseline.phpt
index 5b80791..112a02b 100644
--- a/src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/generate_baseline.phpt
+++ b/src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/generate_baseline.phpt
@@ -62,4 +62,3 @@ print "Cannot test baselineFile contents because it is generated in a shutdown f
?>
--EXPECT--
Cannot test baselineFile contents because it is generated in a shutdown function registered by another shutdown function.
-Legacy deprecation notices (1)
diff --git a/src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/ignore.phpt b/src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/ignore.phpt
index 44d8620..41f7d3b 100644
--- a/src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/ignore.phpt
+++ b/src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/ignore.phpt
@@ -70,11 +70,3 @@ $foo->testLegacyFoo();
$foo->testNonLegacyBar();
?>
--EXPECTF--
-Legacy deprecation notices (1)
-
-Other deprecation notices (2)
-
- 1x: root deprecation
-
- 1x: not ignored bar deprecation
- 1x in FooTestCase::testNonLegacyBar
diff --git a/src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/lagging_vendor.phpt b/src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/lagging_vendor.phpt
index b5253df..6ea1385 100644
--- a/src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/lagging_vendor.phpt
+++ b/src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/lagging_vendor.phpt
@@ -33,7 +33,3 @@ require __DIR__.'/fake_vendor/acme/outdated-lib/outdated_file.php';
?>
--EXPECTF--
-Remaining indirect deprecation notices (1)
-
- 1x: Since acme/lib 3.0: deprecatedApi is deprecated, use deprecatedApi_new instead.
- 1x in SomeService::deprecatedApi from acme\lib
diff --git a/src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/multiple_autoloads.phpt b/src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/multiple_autoloads.phpt
index edf9f4f..cb8ff81 100644
--- a/src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/multiple_autoloads.phpt
+++ b/src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/multiple_autoloads.phpt
@@ -36,10 +36,3 @@ require __DIR__.'/fake_vendor_bis/autoload.php';
(new \App\Services\AppService())->directDeprecations();
?>
--EXPECTF--
-Remaining direct deprecation notices (2)
-
- 1x: Since acme/lib 3.0: deprecatedApi is deprecated, use deprecatedApi_new instead.
- 1x in AppService::directDeprecations from App\Services
-
- 1x: deprecatedApi from foo is deprecated! You should stop relying on it!
- 1x in AppService::directDeprecations from App\Services
diff --git a/src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/partially_quiet.phpt b/src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/partially_quiet.phpt
index 83b135b..b7be2d6 100644
--- a/src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/partially_quiet.phpt
+++ b/src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/partially_quiet.phpt
@@ -22,14 +22,8 @@ require __DIR__.'/fake_vendor/acme/outdated-lib/outdated_file.php';
?>
--EXPECTF--
-Unsilenced deprecation notices (3)
+Deprecated: unsilenced foo deprecation in /build/reproducible-path/symfony-%s/build/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/fake_vendor/acme/lib/deprecation_riddled.php on line 23
-Remaining direct deprecation notices (2)
-
-Remaining indirect deprecation notices (1)
-
- 1x: Since acme/lib 3.0: deprecatedApi is deprecated, use deprecatedApi_new instead.
- 1x in SomeService::deprecatedApi from acme\lib
-
-Legacy deprecation notices (2)
+Deprecated: unsilenced foo deprecation in /build/reproducible-path/symfony-%s/build/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/fake_vendor/acme/lib/deprecation_riddled.php on line 25
+Deprecated: unsilenced bar deprecation in /build/reproducible-path/symfony-%s/build/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/fake_vendor/acme/lib/deprecation_riddled.php on line 31
diff --git a/src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/partially_quiet2.phpt b/src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/partially_quiet2.phpt
index 4d0d6c3..f450bdf 100644
--- a/src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/partially_quiet2.phpt
+++ b/src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/partially_quiet2.phpt
@@ -22,15 +22,8 @@ require __DIR__.'/fake_vendor/acme/outdated-lib/outdated_file.php';
?>
--EXPECTF--
-Unsilenced deprecation notices (3)
+Deprecated: unsilenced foo deprecation in /build/reproducible-path/symfony-%s/build/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/fake_vendor/acme/lib/deprecation_riddled.php on line 23
-Remaining direct deprecation notices (2)
+Deprecated: unsilenced foo deprecation in /build/reproducible-path/symfony-%s/build/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/fake_vendor/acme/lib/deprecation_riddled.php on line 25
- 1x: root deprecation
-
- 1x: silenced bar deprecation
- 1x in FooTestCase::testNonLegacyBar
-
-Remaining indirect deprecation notices (1)
-
-Legacy deprecation notices (2)
+Deprecated: unsilenced bar deprecation in /build/reproducible-path/symfony-%s/build/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/fake_vendor/acme/lib/deprecation_riddled.php on line 31
diff --git a/src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/php_deprecation_from_vendor_class.phpt b/src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/php_deprecation_from_vendor_class.phpt
index 1ead2ef..a1bf51b 100644
--- a/src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/php_deprecation_from_vendor_class.phpt
+++ b/src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/php_deprecation_from_vendor_class.phpt
@@ -37,7 +37,4 @@ new \acme\lib\PhpDeprecation();
?>
--EXPECTF--
-Remaining indirect deprecation notices (1)
-
- 1x: acme\lib\PhpDeprecation implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary)
- 1x in DebugClassLoader::loadClass from Symfony\Component\ErrorHandler
+Deprecated: acme\lib\PhpDeprecation implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /build/reproducible-path/symfony-%s/build/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/fake_vendor/acme/lib/PhpDeprecation.php on line 5
diff --git a/src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/quiet.phpt b/src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/quiet.phpt
index 5b6e325..126b251 100644
--- a/src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/quiet.phpt
+++ b/src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/quiet.phpt
@@ -33,8 +33,4 @@ $foo->testLegacyFoo();
?>
--EXPECTF--
-Unsilenced deprecation notices (1)
-
-Legacy deprecation notices (1)
-
-Other deprecation notices (1)
+Deprecated: unsilenced foo deprecation in Standard input code on line 24
diff --git a/src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/quiet_but_failing.phpt b/src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/quiet_but_failing.phpt
index 8d8f8b4..ae77b51 100644
--- a/src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/quiet_but_failing.phpt
+++ b/src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/quiet_but_failing.phpt
@@ -33,7 +33,3 @@ require __DIR__.'/fake_vendor/acme/outdated-lib/outdated_file.php';
?>
--EXPECTF--
-Remaining indirect deprecation notices (1)
-
- 1x: Since acme/lib 3.0: deprecatedApi is deprecated, use deprecatedApi_new instead.
- 1x in SomeService::deprecatedApi from acme\lib
diff --git a/src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/self_on_non_vendor.phpt b/src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/self_on_non_vendor.phpt
index 42a6c0d..a491014 100644
--- a/src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/self_on_non_vendor.phpt
+++ b/src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/self_on_non_vendor.phpt
@@ -54,20 +54,8 @@ $foo->testNonLegacyBar();
?>
--EXPECTF--
-Unsilenced deprecation notices (3)
+Deprecated: unsilenced foo deprecation in Standard input code on line 37
- 2x: unsilenced foo deprecation
- 2x in FooTestCase::testLegacyFoo
-
- 1x: unsilenced bar deprecation
- 1x in FooTestCase::testNonLegacyBar
-
-Legacy deprecation notices (1)
-
-Other deprecation notices (2)
-
- 1x: root deprecation
-
- 1x: silenced bar deprecation
- 1x in FooTestCase::testNonLegacyBar
+Deprecated: unsilenced foo deprecation in Standard input code on line 38
+Deprecated: unsilenced bar deprecation in Standard input code on line 44
diff --git a/src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/shutdown_deprecations.phpt b/src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/shutdown_deprecations.phpt
index 48049c0..da8a81a 100644
--- a/src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/shutdown_deprecations.phpt
+++ b/src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/shutdown_deprecations.phpt
@@ -67,25 +67,8 @@ register_shutdown_function(function () {
?>
--EXPECTF--
-Unsilenced deprecation notices (3)
+Deprecated: unsilenced foo deprecation in Standard input code on line 46
- 2x: unsilenced foo deprecation
- 2x in FooTestCase::testLegacyFoo
+Deprecated: unsilenced foo deprecation in Standard input code on line 47
- 1x: unsilenced bar deprecation
- 1x in FooTestCase::testNonLegacyBar
-
-Legacy deprecation notices (1)
-
-Other deprecation notices (2)
-
- 1x: root deprecation
-
- 1x: silenced bar deprecation
- 1x in FooTestCase::testNonLegacyBar
-
-Shutdown-time deprecations:
-
-Other deprecation notices (1)
-
- 1x: root deprecation during shutdown
+Deprecated: unsilenced bar deprecation in Standard input code on line 53
diff --git a/src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/trigger_deprecation_types.phpt b/src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/trigger_deprecation_types.phpt
index 261b6ec..9d36153 100644
--- a/src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/trigger_deprecation_types.phpt
+++ b/src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/trigger_deprecation_types.phpt
@@ -38,21 +38,3 @@ require __DIR__.'/fake_vendor/autoload.php';
trigger_deprecation('foo/bar', '2.0', 'func is deprecated, use new instead.');
?>
--EXPECTF--
-Remaining self deprecation notices (1)
-
- 1x: Since App 3.0: selfDeprecation is deprecated, use selfDeprecation_new instead.
- 1x in AppService::selfDeprecation from App\Services
-
-Remaining direct deprecation notices (1)
-
- 1x: Since acme/lib 3.0: deprecatedApi is deprecated, use deprecatedApi_new instead.
- 1x in AppService::directDeprecation from App\Services
-
-Remaining indirect deprecation notices (1)
-
- 1x: Since bar/lib 3.0: deprecatedApi is deprecated, use deprecatedApi_new instead.
- 1x in AppService::indirectDeprecation from App\Services
-
-Other deprecation notices (1)
-
- 1x: Since foo/bar 2.0: func is deprecated, use new instead.
diff --git a/src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/trigger_error_types.phpt b/src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/trigger_error_types.phpt
index 4dd6bda..2fd7afa 100644
--- a/src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/trigger_error_types.phpt
+++ b/src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/trigger_error_types.phpt
@@ -38,21 +38,3 @@ require __DIR__.'/fake_vendor/autoload.php';
@trigger_error('Since foo/bar 2.0: func is deprecated, use new instead.', E_USER_DEPRECATED);
?>
--EXPECTF--
-Remaining self deprecation notices (1)
-
- 1x: Since App 3.0: selfDeprecation is deprecated, use selfDeprecation_new instead.
- 1x in AppService::selfDeprecation from App\Services
-
-Remaining direct deprecation notices (1)
-
- 1x: Since acme/lib 3.0: deprecatedApi is deprecated, use deprecatedApi_new instead.
- 1x in AppService::directDeprecation from App\Services
-
-Remaining indirect deprecation notices (1)
-
- 1x: Since bar/lib 3.0: deprecatedApi is deprecated, use deprecatedApi_new instead.
- 1x in AppService::indirectDeprecation from App\Services
-
-Other deprecation notices (1)
-
- 1x: Since foo/bar 2.0: func is deprecated, use new instead.
diff --git a/src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/weak.phpt b/src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/weak.phpt
index 1922e47..c427a17 100644
--- a/src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/weak.phpt
+++ b/src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/weak.phpt
@@ -33,8 +33,4 @@ $foo->testLegacyFoo();
?>
--EXPECTF--
-Unsilenced deprecation notices (1)
-
-Legacy deprecation notices (1)
-
-Other deprecation notices (1)
+Deprecated: unsilenced foo deprecation in Standard input code on line 24
diff --git a/src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/weak_vendors_on_eval_d_deprecation.phpt b/src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/weak_vendors_on_eval_d_deprecation.phpt
index d1be3e9c..9925cdf 100644
--- a/src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/weak_vendors_on_eval_d_deprecation.phpt
+++ b/src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/weak_vendors_on_eval_d_deprecation.phpt
@@ -20,6 +20,3 @@ eval("@trigger_error('who knows where I come from?', E_USER_DEPRECATED);");
?>
--EXPECTF--
-Other deprecation notices (1)
-
- 1x: who knows where I come from?
diff --git a/src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/weak_vendors_on_phar_deprecation.phpt b/src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/weak_vendors_on_phar_deprecation.phpt
index 7bf5428..b6b840e 100644
--- a/src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/weak_vendors_on_phar_deprecation.phpt
+++ b/src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/weak_vendors_on_phar_deprecation.phpt
@@ -22,6 +22,3 @@ include 'phar://deprecation.phar/deprecation.php';
?>
--EXPECTF--
-Other deprecation notices (1)
-
- 1x: I come from… afar! :D
diff --git a/src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/weak_vendors_on_vendor.phpt b/src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/weak_vendors_on_vendor.phpt
index c9b323f..21c1244 100644
--- a/src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/weak_vendors_on_vendor.phpt
+++ b/src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/weak_vendors_on_vendor.phpt
@@ -21,19 +21,8 @@ require __DIR__.'/fake_vendor/acme/lib/deprecation_riddled.php';
?>
--EXPECTF--
-Unsilenced deprecation notices (3)
+Deprecated: unsilenced foo deprecation in /build/reproducible-path/symfony-%s/build/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/fake_vendor/acme/lib/deprecation_riddled.php on line 23
- 2x: unsilenced foo deprecation
- 2x in FooTestCase::testLegacyFoo
+Deprecated: unsilenced foo deprecation in /build/reproducible-path/symfony-%s/build/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/fake_vendor/acme/lib/deprecation_riddled.php on line 25
- 1x: unsilenced bar deprecation
- 1x in FooTestCase::testNonLegacyBar
-
-Remaining direct deprecation notices (2)
-
- 1x: root deprecation
-
- 1x: silenced bar deprecation
- 1x in FooTestCase::testNonLegacyBar
-
-Legacy deprecation notices (2)
+Deprecated: unsilenced bar deprecation in /build/reproducible-path/symfony-%s/build/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/fake_vendor/acme/lib/deprecation_riddled.php on line 31
|