Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ jobs:
with:
php-version: ${{ matrix.php-versions }}

- name: Allow vulnerable phpunit on PHP 8.1 (CVE-2026-24765, dev-only)
if: matrix.php-versions == '8.1'
run: composer config --merge --json "audit.ignore" '["PKSA-z3gr-8qht-p93v"]'

- name: Install dependencies
run: composer install --prefer-dist --no-progress

Expand Down Expand Up @@ -61,7 +65,7 @@ jobs:
- name: Install PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.1'
php-version: '8.2'
coverage: none

- name: Install dependencies
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [3.5.7] - 2026-05-02
### Fixed
* Support usage with symfony v8 components. Thx to [@chr-hertel](https://github.com/chr-hertel)!

## [3.5.6] - 2026-01-05
### Fixed
* Potential issues found with PHPStan 2 on level 8.
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
"phpstan/phpstan-phpunit": "^1.0|^2.0",
"friendsofphp/php-cs-fixer": "^3.57",
"spatie/invade": "^2.0",
"symfony/process": "^6.0|^7.0"
"symfony/process": "^6.0|^7.0|^8.0"
},
"suggest": {
"ext-zlib": "Needed to uncompress compressed responses",
Expand Down
13 changes: 9 additions & 4 deletions tests/_Integration/Http/HeadlessBrowserTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -270,10 +270,15 @@ protected function invoke(mixed $input): Generator

$results = helper_generatorToArray($crawler->run());

expect($results)->toHaveCount(1)
->and($results[0]->get('printed-cookies'))->toBeString()
->and($results[0]->get('printed-cookies'))
->toBe('cookie3=cookie3value;cookie2=cookie2value;cookie1=cookie1value');

expect($results)->toHaveCount(1);

$printedCookies = $results[0]->get('printed-cookies');

expect($printedCookies)->toBeString()
->and($printedCookies)->toContain('cookie1=cookie1value')
->and($printedCookies)->toContain('cookie2=cookie2value')
->and($printedCookies)->toContain('cookie3=cookie3value');

$cookiesInJar = helper_getCookiesByDomainFromLoader($crawler->getLoader(), 'localhost');

Expand Down
Loading