fix: psalm github actions (add psalm comment)

Signed-off-by: Sebastien Marinier <sebastien.marinier@arawa.fr>
pull/298/head
Sebastien Marinier 2024-10-23 16:22:29 +02:00
parent 3934f1171c
commit 3b6eeb264c
2 changed files with 4 additions and 1 deletions

View File

@ -6,7 +6,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
ocp-version: [ '28', '27', '26', '25']
ocp-version: [ '^28', '^27', '^26', '^25']
name: Nextcloud ${{ matrix.ocp-version }}
steps:
- name: Checkout

View File

@ -35,6 +35,9 @@ class Application extends App implements IBootstrap {
parent::__construct(self::ID, $urlParams);
}
/**
* @psalm-suppress InvalidArgument
*/
public function register(IRegistrationContext $context): void {
if ((@include_once __DIR__ . '/../../vendor/autoload.php') === false) {
throw new \Exception('Cannot include autoload. Did you run install dependencies using composer?');