| Conditions | 2 |
| Paths | 1 |
| Total Lines | 14 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 9 |
| CRAP Score | 2 |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 46 | 1 | public function setLibxml(int $libxml): self |
|
| 47 | { |
||
| 48 | 1 | $this->libxml = $libxml; |
|
| 49 | |||
| 50 | // What are the libxml2 configurations? |
||
| 51 | 1 | $this->logger->debug(\sprintf( // @phan-suppress-current-line PhanUndeclaredProperty |
|
| 52 | 1 | 'Libxml configuration has a bitwise value of `%s`.%s', |
|
| 53 | 1 | (string) $this->libxml, |
|
| 54 | 1 | (4792582 === $this->libxml) |
|
| 55 | 1 | ? ' (This is the default configuration.)' |
|
| 56 | 1 | : '' |
|
| 57 | )); |
||
| 58 | |||
| 59 | 1 | return $this; |
|
| 60 | } |
||
| 70 |