Completed
Pull Request — master (#64)
by Márk
05:20
created

DecoderPlugin::decodeOnEncodingHeader()   B

Complexity

Conditions 4
Paths 2

Size

Total Lines 23
Code Lines 12

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 12
CRAP Score 4.0466

Importance

Changes 1
Bugs 0 Features 1
Metric Value
c 1
b 0
f 1
dl 0
loc 23
ccs 12
cts 14
cp 0.8571
rs 8.7972
cc 4
eloc 12
nc 2
nop 2
crap 4.0466
1
<?php
2
3
namespace Http\Client\Plugin;
4
5
/**
6
 * @author Joel Wurtz <[email protected]>
7
 *
8
 * @deprecated since version 1.1, to be removed in 2.0. Use {@link \Http\Client\Common\Plugin\DecoderPlugin} instead.
9
 */
10
class DecoderPlugin extends \Http\Client\Common\Plugin\DecoderPlugin 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