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 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": {