Skip to content

Commit 56753d0

Browse files
committed
feature #58335 [Notifier] deprecate the TransportFactoryTestCase (xabbuh)
This PR was merged into the 7.2 branch. Discussion ---------- [Notifier] deprecate the TransportFactoryTestCase | Q | A | ------------- | --- | Branch? | 7.2 | Bug fix? | no | New feature? | no | Deprecations? | yes | Issues | Fix #54100 | License | MIT Commits ------- c8b0fcc77b deprecate the TransportFactoryTestCase
2 parents 8ed87de + b014c3d commit 56753d0

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

Tests/SmscTransportFactoryTest.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,13 @@
1212
namespace Symfony\Component\Notifier\Bridge\Smsc\Tests;
1313

1414
use Symfony\Component\Notifier\Bridge\Smsc\SmscTransportFactory;
15-
use Symfony\Component\Notifier\Test\TransportFactoryTestCase;
15+
use Symfony\Component\Notifier\Test\AbstractTransportFactoryTestCase;
16+
use Symfony\Component\Notifier\Test\MissingRequiredOptionTestTrait;
1617

17-
final class SmscTransportFactoryTest extends TransportFactoryTestCase
18+
final class SmscTransportFactoryTest extends AbstractTransportFactoryTestCase
1819
{
20+
use MissingRequiredOptionTestTrait;
21+
1922
public function createFactory(): SmscTransportFactory
2023
{
2124
return new SmscTransportFactory();

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"require": {
1919
"php": ">=8.2",
2020
"symfony/http-client": "^6.4|^7.0",
21-
"symfony/notifier": "^6.4|^7.0"
21+
"symfony/notifier": "^7.2"
2222
},
2323
"autoload": {
2424
"psr-4": { "Symfony\\Component\\Notifier\\Bridge\\Smsc\\": "" },

0 commit comments

Comments
 (0)