| Conditions | 1 |
| Paths | 1 |
| Total Lines | 18 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 10 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 22 | 102 | public function __construct(UriInterface $uri) |
|
| 23 | { |
||
| 24 | 102 | $this->fragment = $uri->fragment(); |
|
|
|
|||
| 25 | |||
| 26 | 102 | $this->host = $uri->host(); |
|
| 27 | |||
| 28 | 102 | $this->path = $uri->path(); |
|
| 29 | |||
| 30 | 102 | $this->port = $uri->port(); |
|
| 31 | |||
| 32 | 102 | $this->query = $uri->query(); |
|
| 33 | |||
| 34 | 102 | $this->scheme = $uri->scheme(); |
|
| 35 | |||
| 36 | 102 | $this->uri = $uri->__toString(); |
|
| 37 | |||
| 38 | 102 | $this->user = $uri->user(); |
|
| 39 | 102 | } |
|
| 40 | } |
||
| 41 |
This check marks calls to methods that do not seem to exist on an object.
This is most likely the result of a method being renamed without all references to it being renamed likewise.