This class seems to be duplicated in your project.
Duplicated code is one of the most pungent code smells. If you need to duplicate
the same code in three or more different places, we strongly encourage you to
look into extracting the code into a single class or operation.
You can also find more detailed suggestions in the “Code” section of your repository.
Loading history...
16
{
17
/**
18
* {@inheritdoc}
19
*/
20
5
public function getName()
21
{
22
5
return 'gzip';
23
}
24
25
/**
26
* {@inheritdoc}
27
*/
28
1
public function create(ContainerBuilder $container, $id, array $config)
The class Symfony\Component\Depend...ion\DefinitionDecorator has been deprecated with message: The DefinitionDecorator class is deprecated since version 3.3 and will be removed in 4.0. Use the Symfony\Component\DependencyInjection\ChildDefinition class instead.
This class, trait or interface has been deprecated. The supplier of the file has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the type will be
removed from the class and what other constant to use instead.
Loading history...
33
1
->replaceArgument(0, $id)
34
1
->replaceArgument(1, $config['options'])
35
1
->replaceArgument(2, $config['timeout'])
36
1
->addTag('zenstruck_backup.processor')
37
;
38
39
1
return new Reference($serviceId);
40
}
41
42
/**
43
* {@inheritdoc}
44
*/
45
5
public function addConfiguration(ArrayNodeDefinition $builder)
Duplicated code is one of the most pungent code smells. If you need to duplicate the same code in three or more different places, we strongly encourage you to look into extracting the code into a single class or operation.
You can also find more detailed suggestions in the “Code” section of your repository.