diff --git a/.github/workflows/phpunit-symfony6.yml b/.github/workflows/phpunit-symfony6.yml deleted file mode 100644 index 46dcb9e..0000000 --- a/.github/workflows/phpunit-symfony6.yml +++ /dev/null @@ -1,37 +0,0 @@ -name: phpunit-symfony6 - -on: [push, pull_request] - -jobs: - test: - runs-on: ${{ matrix.os }} - strategy: - fail-fast: true - matrix: - os: - - ubuntu-latest - php: - - 8.0 - - 8.1 - - name: php${{ matrix.php }} - symfony 6 - - steps: - - name: Checkout code - uses: actions/checkout@v2 - - - name: Setup PHP - uses: shivammathur/setup-php@v2 - with: - php-version: ${{ matrix.php }} - coverage: xdebug - - - name: Setup Problem Matches - run: | - echo "::add-matcher::${{ runner.tool_cache }}/php.json" - echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json" - - name: Install dependencies - run: composer require symfony/http-foundation:6.0.x-dev && composer update - - - name: Execute tests - run: vendor/bin/phpunit -v diff --git a/.github/workflows/phpunit.yml b/.github/workflows/phpunit.yml index 62cfbe6..9980342 100644 --- a/.github/workflows/phpunit.yml +++ b/.github/workflows/phpunit.yml @@ -41,6 +41,7 @@ jobs: run: vendor/bin/phpunit -v --coverage-text --coverage-clover build/logs/clover.xml - name: Upload coverage results to Coveralls + if: ${{ matrix.php == '7.4' }} env: COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | diff --git a/README.md b/README.md index f005574..757f7e1 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ To learn more about `SameSite` cookies and how to use them, check out the ## Requirements * php `^7.3` or `^8.0` -* `symfony/http-foundation` version `^4.4` or `^5.0` +* `symfony/http-foundation` version `^5.3.7` or `^6.0` ## Installation diff --git a/composer.json b/composer.json index f5a5231..c372086 100644 --- a/composer.json +++ b/composer.json @@ -7,7 +7,7 @@ "require": { "php": "^7.3|^8.0", "cbschuld/browser.php": "^1.9", - "symfony/http-foundation": "^4.4.30|^5.3.7" + "symfony/http-foundation": "^5.3.7|^6.0" }, "require-dev": { "fakerphp/faker": "^1.14",