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

DecoderPlugin::decorateStream()   B

Complexity

Conditions 5
Paths 5

Size

Total Lines 20
Code Lines 10

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 9
CRAP Score 5.025

Importance

Changes 1
Bugs 0 Features 1
Metric Value
c 1
b 0
f 1
dl 0
loc 20
ccs 9
cts 10
cp 0.9
rs 8.8571
cc 5
eloc 10
nc 5
nop 2
crap 5.025
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