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...
19
{
20
/**
21
* {@inheritdoc}
22
*/
23
public function getKey()
24
{
25
return 'cdn';
26
}
27
28
/**
29
* {@inheritdoc}
30
*/
31
public function addConfiguration(ArrayNodeDefinition $node)
The method Symfony\Component\Depend...\Definition::setScope() has been deprecated with message: since version 2.8, to be removed in 3.0.
This method has been deprecated. The supplier of the class has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the method will be
removed from the class and what other method or class to use instead.
Loading history...
46
->setDefinition($id, new DefinitionDecorator('jb_fileuploader.resolver.cdn.prototype'))
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.