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...
26
{
27
/**
28
* @param Client $client
29
* @param ResourceReaderFactory $readerFactory
30
* @param ResourceLocator $resourceLocator
31
*/
32
public function __construct(
33
Client $client = null,
34
ResourceReaderFactory $readerFactory = null,
35
ResourceLocator $resourceLocator = null
36
) {
37
parent::__construct($readerFactory ?: new LegacyGuzzleReaderFactory($client), new FilesystemWriter(),
The class Alchemy\Zippy\Resource\T...\LegacyGuzzleTeleporter has been deprecated with message: Use \Alchemy\Zippy\Resource\GenericTeleporter instead. This class will be removed in v0.5.x
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.
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.