Skip to content

Commit

Permalink
Merge pull request littleredbutton#301 from arawa/chore/upgrade_psalm
Browse files Browse the repository at this point in the history
chore: psalm bump 5.0
  • Loading branch information
ThibautPlg authored Oct 28, 2024
2 parents d86e6ce + aa709d5 commit 670579e
Show file tree
Hide file tree
Showing 12 changed files with 215 additions and 247 deletions.
13 changes: 2 additions & 11 deletions .github/workflows/php-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,8 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
php-versions: ['8.0', '8.1', '8.2', '8.3']
php-versions: ['8.0', '8.1', '8.2']
nextcloud-versions: ['stable26', 'stable27', 'stable28']
exclude:
- php-versions: '8.2'
nextcloud-versions: 'stable25'
- php-versions: '8.3'
nextcloud-versions: 'stable25'
- php-versions: '8.3'
nextcloud-versions: 'stable26'
- php-versions: '8.3'
nextcloud-versions: 'stable27'
name: php${{ matrix.php-versions }} on ${{ matrix.nextcloud-versions }} unit tests
env:
CI: true
Expand Down Expand Up @@ -51,4 +42,4 @@ jobs:
run: php -f nextcloud/occ app:enable bbb
- name: Run tests
working-directory: nextcloud/apps/bbb
run: composer run test
run: composer run test
2 changes: 1 addition & 1 deletion .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Install dependencies
run: composer i
- name: Install dependencies
run: composer require --dev nextcloud/ocp:${{ matrix.ocp-version }} psr/container symfony/service-contracts
run: composer require --dev nextcloud/ocp:${{ matrix.ocp-version }} symfony/service-contracts
- name: Run coding standards check
run: composer run psalm

3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
"nextcloud/coding-standard": "^1.0.0",
"phpstan/phpstan": "^0.12.29",
"nextcloud/ocp": "^25.0 || ^26.0 || ^27.0",
"vimeo/psalm": "^4.5"
"vimeo/psalm": "^5.0",
"psr/container": "^1.1.2"
},
"config": {
"optimize-autoloader": true,
Expand Down
Loading

0 comments on commit 670579e

Please sign in to comment.