diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index 3499ba6..0dbbe8c 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -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 diff --git a/lib/AppInfo/Application.php b/lib/AppInfo/Application.php index ad2042b..65746c5 100644 --- a/lib/AppInfo/Application.php +++ b/lib/AppInfo/Application.php @@ -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?');