Completed
Pull Request — master (#64)
by Márk
06:42
created

AddHostPlugin::__construct()   A

Complexity

Conditions 2
Paths 2

Size

Total Lines 14
Code Lines 8

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 8
CRAP Score 2.0054

Importance

Changes 1
Bugs 0 Features 1
Metric Value
c 1
b 0
f 1
dl 0
loc 14
ccs 8
cts 9
cp 0.8889
rs 9.4285
cc 2
eloc 8
nc 2
nop 2
crap 2.0054
1
<?php
2
3
namespace Http\Client\Plugin;
4
5
/**
6
 * @author Tobias Nyholm <[email protected]>
7
 *
8
 * @deprecated since version 1.1, to be removed in 2.0. Use {@link \Http\Client\Common\Plugin\AddHostPlugin} instead.
9
 */
10
class AddHostPlugin extends \Http\Client\Common\Plugin\AddHostPlugin implements Plugin
0 ignored issues
show
Deprecated Code introduced by
The interface Http\Client\Plugin\Plugin has been deprecated with message: since version 1.1, to be removed in 2.0. Use {@link \Http\Client\Common\Plugin} 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...
11
{
12
}
13