Skip to content

Commit a5bb60e

Browse files
committed
fix: resolve psalm psr http client dependency
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
1 parent e8366a3 commit a5bb60e

2 files changed

Lines changed: 16 additions & 0 deletions

File tree

psalm.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,5 +45,6 @@
4545
</issueHandlers>
4646
<stubs>
4747
<file name="tests/stubs/oc_hooks_emitter.php" />
48+
<file name="tests/stubs/psr_http_client.php" />
4849
</stubs>
4950
</psalm>

tests/stubs/psr_http_client.php

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<?php
2+
3+
declare(strict_types=1);
4+
/**
5+
* SPDX-FileCopyrightText: 2026 LibreCode coop and contributors
6+
* SPDX-License-Identifier: AGPL-3.0-or-later
7+
*/
8+
9+
namespace Psr\Http\Client {
10+
/**
11+
* Minimal Psalm stub to satisfy OCP\Http\Client\IClient dependency.
12+
*/
13+
interface ClientInterface {
14+
}
15+
}

0 commit comments

Comments
 (0)