From 16b682ed83244b5d1c2b650d28d5abf2a13ea3e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C5=A0pa=C4=8Dek?= Date: Sun, 27 Jul 2025 19:25:49 +0200 Subject: [PATCH 1/2] Require newer dev dependencies --- composer.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index 71dffb4..5ebd2a9 100644 --- a/composer.json +++ b/composer.json @@ -14,10 +14,10 @@ "php": "^7.4 || ^8.0" }, "require-dev": { - "php-parallel-lint/php-parallel-lint": "^1.3", + "php-parallel-lint/php-parallel-lint": "^1.4", "php-parallel-lint/php-console-highlighter": "^1.0", - "phpstan/phpstan": "^1.9", - "spaze/coding-standard": "^1.3", + "phpstan/phpstan": "^2.1", + "spaze/coding-standard": "^1.8", "nette/tester": "^2.4" }, "autoload": { From aad39c3b89d3fb257b62762d294a8e9879a7d84a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C5=A0pa=C4=8Dek?= Date: Sun, 27 Jul 2025 19:26:26 +0200 Subject: [PATCH 2/2] Test with --prefer-lowest dependencies as well --- .github/workflows/php.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index a62053b..14495fd 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -16,6 +16,9 @@ jobs: - "8.2" - "8.3" - "8.4" + update-options: + - "" + - "--prefer-lowest" steps: - uses: actions/checkout@v4 @@ -38,7 +41,7 @@ jobs: run: composer validate --strict --no-interaction - name: Install dependencies - run: composer update --no-progress --no-interaction + run: composer update --no-progress --no-interaction ${{ matrix.update-options }} - name: Run tests run: composer test