Skip to content

Commit b1a8ee0

Browse files
Prepare for PHP 7.4 preload
1 parent fe72c36 commit b1a8ee0

File tree

3 files changed

+44
-13
lines changed

3 files changed

+44
-13
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<?php
2+
3+
/*
4+
* This file is part of the Symfony package.
5+
*
6+
* (c) Fabien Potencier <[email protected]>
7+
*
8+
* For the full copyright and license information, please view the LICENSE
9+
* file that was distributed with this source code.
10+
*/
11+
12+
namespace Symfony\Bundle\FrameworkBundle\DependencyInjection;
13+
14+
use Symfony\Contracts\Service\ServiceSubscriberInterface;
15+
16+
/**
17+
* @internal
18+
*/
19+
interface CompatibilityServiceSubscriberInterface extends ServiceSubscriberInterface
20+
{
21+
}
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<?php
2+
3+
/*
4+
* This file is part of the Symfony package.
5+
*
6+
* (c) Fabien Potencier <[email protected]>
7+
*
8+
* For the full copyright and license information, please view the LICENSE
9+
* file that was distributed with this source code.
10+
*/
11+
12+
namespace Symfony\Bundle\FrameworkBundle\DependencyInjection;
13+
14+
use Symfony\Component\DependencyInjection\ServiceSubscriberInterface as LegacyServiceSubscriberInterface;
15+
16+
/**
17+
* @internal
18+
*/
19+
interface CompatibilityServiceSubscriberInterface extends LegacyServiceSubscriberInterface
20+
{
21+
}

DependencyInjection/CompatibilityServiceSubscriberInterface.php

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

1414
use Symfony\Component\DependencyInjection\ServiceSubscriberInterface as LegacyServiceSubscriberInterface;
15-
use Symfony\Contracts\Service\ServiceSubscriberInterface;
1615

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

0 commit comments

Comments
 (0)