Skip to content

Commit 1eaefe3

Browse files
minor #50828 [DoctrineBridge][HttpFoundation] Remove ExpectDeprecationTrait where it is not used (GromNaN)
This PR was merged into the 6.4 branch. Discussion ---------- [DoctrineBridge][HttpFoundation] Remove `ExpectDeprecationTrait` where it is not used | Q | A | ------------- | --- | Branch? | 6.4 | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | - | License | MIT | Doc PR | n/a This unused code has been left since 6.0 by #43100 and #43550. The PR targets 6.4 because this is not a bug, but minor code cleanup. Commits ------- 9317cbd Remove ExpectDeprecationTrait where it is not used
2 parents 80b5ef8 + 9317cbd commit 1eaefe3

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

src/Symfony/Bridge/Doctrine/Tests/Form/ChoiceList/DoctrineChoiceLoaderTest.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
use Symfony\Bridge\Doctrine\Form\ChoiceList\DoctrineChoiceLoader;
2020
use Symfony\Bridge\Doctrine\Form\ChoiceList\EntityLoaderInterface;
2121
use Symfony\Bridge\Doctrine\Form\ChoiceList\IdReader;
22-
use Symfony\Bridge\PhpUnit\ExpectDeprecationTrait;
2322
use Symfony\Component\Form\ChoiceList\ArrayChoiceList;
2423
use Symfony\Component\Form\ChoiceList\Factory\ChoiceListFactoryInterface;
2524
use Symfony\Component\Form\Exception\LogicException;
@@ -29,8 +28,6 @@
2928
*/
3029
class DoctrineChoiceLoaderTest extends TestCase
3130
{
32-
use ExpectDeprecationTrait;
33-
3431
/**
3532
* @var MockObject&ChoiceListFactoryInterface
3633
*/

src/Symfony/Component/HttpFoundation/Tests/IpUtilsTest.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,10 @@
1212
namespace Symfony\Component\HttpFoundation\Tests;
1313

1414
use PHPUnit\Framework\TestCase;
15-
use Symfony\Bridge\PhpUnit\ExpectDeprecationTrait;
1615
use Symfony\Component\HttpFoundation\IpUtils;
1716

1817
class IpUtilsTest extends TestCase
1918
{
20-
use ExpectDeprecationTrait;
21-
2219
public function testSeparateCachesPerProtocol()
2320
{
2421
$ip = '192.168.52.1';

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy