diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index e013876..7b145d4 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -12,7 +12,8 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - php: [7.2, 7.3, 7.4, 8.0, 8.1, 8.2] + php: [7.4, 8.0, 8.1, 8.2] + symfony-version: [4.4.*, 5.4.*] composer-flags: ['', '--prefer-lowest'] fail-fast: true steps: @@ -23,6 +24,7 @@ jobs: with: php-version: ${{ matrix.php }} coverage: none + tools: flex - name: Get composer cache directory id: composer-cache @@ -36,6 +38,8 @@ jobs: restore-keys: ${{ runner.os }}-composer- - name: Install dependencies + env: + SYMFONY_REQUIRE: ${{ matrix.symfony-version }} run: composer update --prefer-dist --no-interaction ${{ matrix.composer-flags }} - run: make tests diff --git a/composer.json b/composer.json index fd51918..2ec979b 100644 --- a/composer.json +++ b/composer.json @@ -31,17 +31,17 @@ "bin-dir": "bin/" }, "require": { - "php": ">=7.2", + "php": ">=7.4", "hoa/ruler": "~2.0", "hoa/consistency": "^1.17.05", - "symfony/property-access": "~3.0|~4.0|~5.0" + "symfony/property-access": "^4.4|^5.4" }, "require-dev": { "ext-json": "*", "mikey179/vfsstream": "^1.6.7", - "phpspec/phpspec": "^6.1.1|^7.0", + "phpspec/phpspec": "^7.0", "behat/behat": "~3.0",