Skip to content

Commit

Permalink
feature #58335 [Notifier] deprecate the TransportFactoryTestCase (xab…
Browse files Browse the repository at this point in the history
…buh)

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
  • Loading branch information
fabpot committed Sep 27, 2024
2 parents 6fad241 + 09b3503 commit 85a6764
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions Tests/SmsFactorTransportFactoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,13 @@
namespace Symfony\Component\Notifier\Bridge\SmsFactor\Tests;

use Symfony\Component\Notifier\Bridge\SmsFactor\SmsFactorTransportFactory;
use Symfony\Component\Notifier\Test\TransportFactoryTestCase;
use Symfony\Component\Notifier\Test\AbstractTransportFactoryTestCase;
use Symfony\Component\Notifier\Test\IncompleteDsnTestTrait;

final class SmsFactorTransportFactoryTest extends TransportFactoryTestCase
final class SmsFactorTransportFactoryTest extends AbstractTransportFactoryTestCase
{
use IncompleteDsnTestTrait;

public function createFactory(): SmsFactorTransportFactory
{
return new SmsFactorTransportFactory();
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"require": {
"php": ">=8.2",
"symfony/http-client": "^6.4|^7.0",
"symfony/notifier": "^6.4|^7.0"
"symfony/notifier": "^7.2"
},
"autoload": {
"psr-4": { "Symfony\\Component\\Notifier\\Bridge\\SmsFactor\\": "" },
Expand Down

0 comments on commit 85a6764

Please sign in to comment.