Skip to content

Commit

Permalink
bug #31040 [BrowserKit] Fixed BC-break introduced by rename of Client…
Browse files Browse the repository at this point in the history
… to Browser (Devristo)

This PR was squashed before being merged into the 4.3-dev branch (closes #31040).

Discussion
----------

[BrowserKit] Fixed BC-break introduced by rename of Client to Browser

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #31039
| License       | MIT
| Doc PR        |

Since #30541 the inheritance hierarchy of `\Symfony\Component\BrowserKit\Client` has changed. Notably the test.client no longer is an instance of `\Symfony\Component\BrowserKit\Client`.

This PR uses `class_alias` to fix the class hierarchy similarly as has been done in Twig. In this case I copied the approach of `Twig_TokenParser_AutoEscape` and `\Twig\TokenParser\AutoEscapeTokenParser`

Commits
-------

6a94dea [BrowserKit] Fixed BC-break introduced by rename of Client to Browser
  • Loading branch information
fabpot committed Apr 15, 2019
2 parents 498c749 + 6a94dea commit 9aedfeb
Show file tree
Hide file tree
Showing 3 changed files with 740 additions and 719 deletions.

0 comments on commit 9aedfeb

Please sign in to comment.