Skip to content

Commit 8e0ffb4

Browse files
committed
fix: use locked dependencies for psalm in CI
1 parent f3e9452 commit 8e0ffb4

File tree

4 files changed

+8738
-4
lines changed

4 files changed

+8738
-4
lines changed

.github/workflows/continuous-integration.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
restore-keys: "php-${{ matrix.php-version }}-composer-"
4242

4343
- name: "Install dependencies with composer"
44-
run: "composer update --no-interaction --no-progress --no-suggest --prefer-dist"
44+
run: "composer install --no-interaction --no-progress --no-suggest --prefer-dist"
4545

4646
- name: "Run psalm"
4747
run: "vendor/bin/psalm --long-progress --output-format=github --report=psalm.sarif --php-version=${{ matrix.php-version }}"

.gitignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,4 @@
22
/.phpstorm.meta.php
33
/phpstan
44
/.phpunit.result.cache
5-
/.php-cs-fixer.cache
6-
/composer.lock
5+
/.php-cs-fixer.cache

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
"sort-packages": true,
1515
"allow-plugins": {
1616
"facile-it/facile-coding-standard": true,
17-
"laminas/laminas-component-installer": true
17+
"laminas/laminas-component-installer": true,
18+
"php-http/discovery": true
1819
}
1920
},
2021
"keywords": [

0 commit comments

Comments
 (0)