Skip to content

Commit 798c924

Browse files
authored
Newer dev dependencies (#16)
Also make sure lowest dependencies still work by testing with `composer --prefer-lowest`
2 parents e09eb50 + aad39c3 commit 798c924

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

.github/workflows/php.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ jobs:
1616
- "8.2"
1717
- "8.3"
1818
- "8.4"
19+
update-options:
20+
- ""
21+
- "--prefer-lowest"
1922

2023
steps:
2124
- uses: actions/checkout@v4
@@ -38,7 +41,7 @@ jobs:
3841
run: composer validate --strict --no-interaction
3942

4043
- name: Install dependencies
41-
run: composer update --no-progress --no-interaction
44+
run: composer update --no-progress --no-interaction ${{ matrix.update-options }}
4245

4346
- name: Run tests
4447
run: composer test

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@
1414
"php": "^7.4 || ^8.0"
1515
},
1616
"require-dev": {
17-
"php-parallel-lint/php-parallel-lint": "^1.3",
17+
"php-parallel-lint/php-parallel-lint": "^1.4",
1818
"php-parallel-lint/php-console-highlighter": "^1.0",
19-
"phpstan/phpstan": "^1.9",
20-
"spaze/coding-standard": "^1.3",
19+
"phpstan/phpstan": "^2.1",
20+
"spaze/coding-standard": "^1.8",
2121
"nette/tester": "^2.4"
2222
},
2323
"autoload": {

0 commit comments

Comments
 (0)