Skip to content

Commit

Permalink
Merge pull request littleredbutton#298 from arawa/fix/psalm_actions
Browse files Browse the repository at this point in the history
fix: psalm github actions
  • Loading branch information
ThibautPlg authored Oct 24, 2024
2 parents b6b0f9f + 3b6eeb2 commit 2dfa811
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
ocp-version: [ 'dev-stable27', 'dev-stable26', 'dev-stable25' ]
ocp-version: [ '^28', '^27', '^26', '^25']
name: Nextcloud ${{ matrix.ocp-version }}
steps:
- name: Checkout
Expand Down
3 changes: 3 additions & 0 deletions lib/AppInfo/Application.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ public function __construct(array $urlParams = []) {
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?');
Expand Down

0 comments on commit 2dfa811

Please sign in to comment.