Skip to content

Commit

Permalink
Factory is Deprecated on version 5.3
Browse files Browse the repository at this point in the history
  • Loading branch information
alexdebril committed Jun 9, 2022
1 parent 2e69e78 commit 63dd6ea
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/FeedIo/Factory.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@
use FeedIo\Factory\BuilderInterface;
use Psr\Log\LoggerInterface;

/**
* @deprecated 5.3.0 The Factory will be removed in version 6.0
*/
class Factory
{
protected LoggerInterface $logger;
Expand All @@ -39,7 +42,7 @@ public static function create(
'config' => [],
]
): Factory {
@trigger_error('Using the factory is deprecated since 5.2 and will be removed in 6.0', \E_USER_DEPRECATED);
@trigger_error('Using the factory is deprecated since 5.3 and will be removed in 6.0', \E_USER_DEPRECATED);
$factory = new self();

$clientBuilder = new GuzzleClientBuilder($factory->extractConfig($clientConfig));
Expand Down

0 comments on commit 63dd6ea

Please sign in to comment.