| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 22 | public function __construct($path) |
||
| 23 | { |
||
| 24 | $this->configuration = new Yaml(new Filesystem(new Local($path))); |
||
| 25 | $this->exchange = 'puzzle'; |
||
|
1 ignored issue
–
show
|
|||
| 26 | |||
| 27 | $this->api = APIClient::factory(['host' => $this->host()]); |
||
|
1 ignored issue
–
show
|
|||
| 28 | $this->client = new Pecl($this->configuration); |
||
| 29 | } |
||
| 30 | |||
| 41 |
You can fix this by adding a namespace to your class:
When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.