Skip to content

Commit 29f35ff

Browse files
committed
Removed the Symfony rule
1 parent 475c2f8 commit 29f35ff

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

rector.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,5 @@
2121
$rectorConfig->sets([
2222
LevelSetList::UP_TO_PHP_82,
2323
PHPUnitLevelSetList::UP_TO_PHPUNIT_100,
24-
SymfonyLevelSetList::UP_TO_SYMFONY_60,
2524
]);
2625
};

src/CategoryLookup.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,14 @@
88
use Kiboko\Component\Bucket\RejectionResultBucket;
99
use Kiboko\Contract\Mapping\CompiledMapperInterface;
1010
use Kiboko\Contract\Pipeline\TransformerInterface;
11+
use Psr\SimpleCache\CacheInterface;
1112

1213
final readonly class CategoryLookup implements TransformerInterface
1314
{
1415
public function __construct(
1516
private \Psr\Log\LoggerInterface $logger,
1617
private \Kiboko\Magento\V2_1\Client|\Kiboko\Magento\V2_2\Client|\Kiboko\Magento\V2_3\Client|\Kiboko\Magento\V2_4\Client $client,
17-
private \Symfony\Contracts\Cache\CacheInterface $cache,
18+
private CacheInterface $cache,
1819
private string $cacheKey,
1920
private CompiledMapperInterface $mapper,
2021
private string $mappingField,

src/Lookup.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
public function __construct(
1616
private \Psr\Log\LoggerInterface $logger,
1717
private \Kiboko\Magento\V2_1\Client|\Kiboko\Magento\V2_2\Client|\Kiboko\Magento\V2_3\Client|\Kiboko\Magento\V2_4\Client $client,
18-
private \Symfony\Contracts\Cache\CacheInterface $cache,
18+
private CacheInterface $cache,
1919
private string $cacheKey,
2020
private CompiledMapperInterface $mapper,
2121
private string $mappingField,

0 commit comments

Comments
 (0)