Kalaxia /
ScrumbanBundle
| 1 | <?php |
||
| 2 | |||
| 3 | namespace Scrumban\Gateway; |
||
| 4 | |||
| 5 | use GuzzleHttp\Client; |
||
|
0 ignored issues
–
show
|
|||
| 6 | |||
| 7 | class TrelloGateway extends Gateway |
||
| 8 | { |
||
| 9 | /** @var Client **/ |
||
| 10 | protected $client; |
||
| 11 | |||
| 12 | public function __construct($trelloUrl) |
||
| 13 | { |
||
| 14 | $this->client = new Client(['base_uri' => $trelloUrl]); |
||
| 15 | } |
||
| 16 | |||
| 17 | public function getBoard(string $id) |
||
| 18 | { |
||
| 19 | return $this->get("/1/boards/{$id}"); |
||
| 20 | } |
||
| 21 | |||
| 22 | public function getBoardColumns(string $id) |
||
| 23 | { |
||
| 24 | return $this->get("/1/boards/{$id}/lists"); |
||
| 25 | } |
||
| 26 | |||
| 27 | public function getColumnCards(string $id) |
||
| 28 | { |
||
| 29 | return $this->get("/1/lists/{$id}/cards"); |
||
| 30 | } |
||
| 31 | |||
| 32 | public function getCardComments(string $id) |
||
| 33 | { |
||
| 34 | return $this->get("/1/cards/{$id}/actions?filter=commentCard"); |
||
| 35 | } |
||
| 36 | } |
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths