Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: symfony/browser-kit
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v8.0.3
Choose a base ref
...
head repository: symfony/browser-kit
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v8.0.4
Choose a head ref
  • 7 commits
  • 6 files changed
  • 4 contributors

Commits on Jan 5, 2026

  1. [BrowserKit] Allow wrapping response content to give proper context w…

    …hen fetching fragments
    Jean-Beru authored and nicolas-grekas committed Jan 5, 2026
    Configuration menu
    Copy the full SHA
    0ac334d View commit details
    Browse the repository at this point in the history
  2. feature #62892 [BrowserKit] Allow wrapping response content to give p…

    …roper context when fetching fragments (Jean-Beru)
    
    This PR was squashed before being merged into the 7.4 branch.
    
    Discussion
    ----------
    
    [BrowserKit] Allow wrapping response content to give proper context when fetching fragments
    
    | Q             | A
    | ------------- | ---
    | Branch?       | 7.4
    | Bug fix?      | yes
    | New feature?  | yes
    | Deprecations? | no
    | Issues        | Fix #62834
    | License       | MIT
    
    This PR adds a new `wrapContent` method to `AbstractBrowser` to wrap response content. The PR target 7.4 to allow tests migration before definitive native HTML parser adoption.
    
    Example with a controller which returns `<tr><td>Cell content</td></tr>`:
    ```php
    // Will display "<head></head><body>Cell content</body>" due to native HTML5 parser
    // Note that tr and td tags are removed since they are not inside a table tag
    echo $client->xmlHttpRequest('GET', 'http://example.com/segment')->html();
    
    // Will display "<table><tbody><tr><td>Cell content</td></tr></tbody></table>" since this HTML is valid
    // Note that tr and td tags are preserved
    echo $client->wrapContent('<table>%s</table>')->xmlHttpRequest('GET', 'http://example.com/segment')->html();
    ```
    
    Commits
    -------
    
    76935682e87 [BrowserKit] Allow wrapping response content to give proper context when fetching fragments
    nicolas-grekas committed Jan 5, 2026
    Configuration menu
    Copy the full SHA
    11073c3 View commit details
    Browse the repository at this point in the history
  3. Merge branch '7.4' into 8.0

    * 7.4:
      fix assertion for updated syntax error messages in PHP 8.6
      Allow `ParamConfigurator` in `ParametersConfig`
      [JsonPath] Fix tests for PHP 8.6
      [BrowserKit] Allow wrapping response content to give proper context when fetching fragments
    alexandre-daubois committed Jan 5, 2026
    Configuration menu
    Copy the full SHA
    703346c View commit details
    Browse the repository at this point in the history

Commits on Jan 13, 2026

  1. Configuration menu
    Copy the full SHA
    f49947c View commit details
    Browse the repository at this point in the history
  2. Merge branch '6.4' into 7.3

    * 6.4:
      do not use PHPUnit mock objects without configured expectations
      do not use PHPUnit mock objects without configured expectations
      do not use PHPUnit mock objects without configured expectations
      do not use PHPUnit mock objects without configured expectations
      do not use PHPUnit mock objects without configured expectations
      [Translation] Fix handling of empty lines in CsvFileLoader
    xabbuh committed Jan 13, 2026
    Configuration menu
    Copy the full SHA
    a1e115d View commit details
    Browse the repository at this point in the history
  3. Merge branch '7.3' into 7.4

    * 7.3:
      fix merge
      fix merge
      do not use PHPUnit mock objects without configured expectations
      do not use PHPUnit mock objects without configured expectations
      do not use PHPUnit mock objects without configured expectations
      do not use PHPUnit mock objects without configured expectations
      do not use PHPUnit mock objects without configured expectations
      do not use PHPUnit mock objects without configured expectations
      [Translation] Fix handling of empty lines in CsvFileLoader
    xabbuh committed Jan 13, 2026
    Configuration menu
    Copy the full SHA
    bed167e View commit details
    Browse the repository at this point in the history
  4. Merge branch '7.4' into 8.0

    * 7.4:
      do not use PHPUnit mock objects without configured expectations
      do not use PHPUnit mock objects without configured expectations
      do not use PHPUnit mock objects without configured expectations
      fix merge
      fix merge
      do not use PHPUnit mock objects without configured expectations
      do not use PHPUnit mock objects without configured expectations
      do not use PHPUnit mock objects without configured expectations
      do not use PHPUnit mock objects without configured expectations
      do not use PHPUnit mock objects without configured expectations
      do not use PHPUnit mock objects without configured expectations
      [Translation] Fix handling of empty lines in CsvFileLoader
    xabbuh committed Jan 13, 2026
    Configuration menu
    Copy the full SHA
    0d998c1 View commit details
    Browse the repository at this point in the history
Loading