Skip to content

Commit f1194af

Browse files
Revert "minor #32054 Prepare for PHP 7.4 preload (nicolas-grekas)"
This reverts commit a0aa94114a7b0334f94eb53c7536c729c1be2fef, reversing changes made to 8496003634906d220ee1bc95f1547ced64545ffa.
1 parent 69ba575 commit f1194af

File tree

3 files changed

+13
-44
lines changed

3 files changed

+13
-44
lines changed

DependencyInjection/CompatibilityServiceSubscriberInterface.contracts.php

Lines changed: 0 additions & 21 deletions
This file was deleted.

DependencyInjection/CompatibilityServiceSubscriberInterface.legacy.php

Lines changed: 0 additions & 21 deletions
This file was deleted.

DependencyInjection/CompatibilityServiceSubscriberInterface.php

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,20 @@
1212
namespace Symfony\Bundle\FrameworkBundle\DependencyInjection;
1313

1414
use Symfony\Component\DependencyInjection\ServiceSubscriberInterface as LegacyServiceSubscriberInterface;
15+
use Symfony\Contracts\Service\ServiceSubscriberInterface;
1516

1617
if (interface_exists(LegacyServiceSubscriberInterface::class)) {
17-
require __DIR__.\DIRECTORY_SEPARATOR.'CompatibilityServiceSubscriberInterface.legacy.php';
18+
/**
19+
* @internal
20+
*/
21+
interface CompatibilityServiceSubscriberInterface extends LegacyServiceSubscriberInterface
22+
{
23+
}
1824
} else {
19-
require __DIR__.\DIRECTORY_SEPARATOR.'CompatibilityServiceSubscriberInterface.contracts.php';
25+
/**
26+
* @internal
27+
*/
28+
interface CompatibilityServiceSubscriberInterface extends ServiceSubscriberInterface
29+
{
30+
}
2031
}

0 commit comments

Comments
 (0)