The class Knp\FriendlyContexts\Htt...rity\HttpBasicExtension has been deprecated with message: use HttpExtension. Will be removed in v1.0.0
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.
This method 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...
32
{
33
$credentials = $builder->getCredentials();
34
35
if (!isset($credentials['username']) || !isset($credentials['password'])) {
36
throw new \RuntimeException(
37
'You must specified a "username" and a "password" for the http basic authentication.'
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.