Compare commits

...

3 Commits

Author SHA1 Message Date
Thibaut 2dfa811937
Merge pull request #298 from arawa/fix/psalm_actions
fix: psalm github actions
2024-10-24 09:27:57 +02:00
Sebastien Marinier 3b6eeb264c fix: psalm github actions (add psalm comment)
Signed-off-by: Sebastien Marinier <sebastien.marinier@arawa.fr>
2024-10-23 16:22:29 +02:00
Sebastien Marinier 3934f1171c fix: psalm github actions
Signed-off-by: Sebastien Marinier <sebastien.marinier@arawa.fr>
2024-10-23 16:10:35 +02:00
2 changed files with 4 additions and 1 deletions

View File

@ -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

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?');