Skip to content

Commit 6b04492

Browse files
committed
trest
1 parent a32e74f commit 6b04492

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/deprecation.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -453,6 +453,10 @@ class_alias($interfaceName, $oldInterfaceName);
453453
];
454454

455455
spl_autoload_register(function ($className) use ($deprecatedInterfaces, $deprecatedClassesWithoutAliases, $deprecatedClassesWithAliases) {
456+
if (in_array($className, array_keys($deprecatedClassesWithAliases))) {
457+
die('wow');
458+
}
459+
456460
// We can not class alias when working with doctrine annotations
457461
static $deprecatedAnnotations = [
458462
'ApiResource' => [ApiPlatform\Core\Annotation\ApiResource::class, ApiPlatform\Metadata\ApiResource::class],

0 commit comments

Comments
 (0)