1 | <?php |
||
15 | class StatusSendServiceImplementation implements StatusSendService |
||
16 | { |
||
17 | const CONTEXT = 'git-git-hub-lint'; |
||
18 | /** |
||
19 | * @var Client |
||
20 | */ |
||
21 | private $client; |
||
22 | |||
23 | /** |
||
24 | * StatusSendServiceImplementation constructor. |
||
25 | * |
||
26 | * @param Client $client |
||
27 | */ |
||
28 | public function __construct(Client $client) |
||
32 | |||
33 | /** |
||
34 | * Set a SHA in GitHub to a state |
||
35 | * |
||
36 | * @param string $organisation |
||
37 | * @param string $repository |
||
38 | * @param string $sha |
||
39 | * @param Status $status |
||
40 | */ |
||
41 | public function updateStatus(string $organisation, string $repository, string $sha, Status $status) |
||
57 | } |
||
58 |