10000 [DoctrineBridge][HttpFoundation] Remove `ExpectDeprecationTrait` where it is not used by GromNaN · Pull Request #50828 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[DoctrineBridge][HttpFoundation] Remove ExpectDeprecationTrait where it is not used #50828

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
use Symfony\Bridge\Doctrine\Form\ChoiceList\DoctrineChoiceLoader;
use Symfony\Bridge\Doctrine\Form\ChoiceList\EntityLoaderInterface;
use Symfony\Bridge\Doctrine\Form\ChoiceList\IdReader;
use Symfony\Bridge\PhpUnit\ExpectDeprecationTrait;
use Symfony\Component\Form\ChoiceList\ArrayChoiceList;
use Symfony\Component\Form\ChoiceList\Factory\ChoiceListFactoryInterface;
use Symfony\Component\Form\Exception\LogicException;
Expand All @@ -29,8 +28,6 @@
*/
class DoctrineChoiceLoaderTest extends TestCase
{
use ExpectDeprecationTrait;

/**
* @var MockObject&ChoiceListFactoryInterface
*/
Expand Down
3 changes: 0 additions & 3 deletions src/Symfony/Component/HttpFoundation/Tests/IpUtilsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,10 @@
namespace Symfony\Component\HttpFoundation\Tests;

use PHPUnit\Framework\TestCase;
use Symfony\Bridge\PhpUnit\ExpectDeprecationTrait;
use Symfony\Component\HttpFoundation\IpUtils;

class IpUtilsTest extends TestCase
{
use ExpectDeprecationTrait;

public function testSeparateCachesPerProtocol()
{
$ip = '192.168.52.1';
Expand Down
0