Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Add missed use class for Symfony\Bundle\FrameworkBundle\Test\WebTestCase::$client #31719

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 30, 2019
Merged

Conversation

andrew-demb
Copy link
Contributor

Q A
Branch? 4.3
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets #...
License MIT
Doc PR symfony/symfony-docs#...

In Symfony\Bundle\FrameworkBundle\Test\WebTestCase::$client property exists phpdoc about property class, but no use declaration added.

As Symfony\Bundle\FrameworkBundle\Client deprecated, and actually this will be Symfony\Bundle\FrameworkBundle\KernelBrowser instance, we can put KernelBrowser instead Client (not sure about BC)

@andrew-demb andrew-demb changed the title Use \Symfony\Bundle\FrameworkBundle\Client for property phpdoc Add missed use class for Symfony\Bundle\FrameworkBundle\Test\WebTestCase::$client May 30, 2019
@nicolas-grekas nicolas-grekas added this to the 4.3 milestone May 30, 2019
@nicolas-grekas
Copy link
Member

Thank you @andrew-demb.

@nicolas-grekas nicolas-grekas merged commit 6982025 into symfony:4.3 May 30, 2019
nicolas-grekas added a commit that referenced this pull request May 30, 2019
…Test\WebTestCase::$client (andrew-demb)

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

Discussion
----------

Add missed use class for Symfony\Bundle\FrameworkBundle\Test\WebTestCase::$client

| Q             | A
| ------------- | ---
| Branch?       | 4.3
| Bug fix?      | yes
| New feature?  | no <!-- please update src/**/CHANGELOG.md files -->
| BC breaks?    | no     <!-- see https://symfony.com/bc -->
| Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files -->
| Tests pass?   | yes    <!-- please add some, will be required by reviewers -->
| Fixed tickets | #...   <!-- #-prefixed issue number(s), if any -->
| License       | MIT
| Doc PR        | symfony/symfony-docs#... <!-- required for new features -->

In `Symfony\Bundle\FrameworkBundle\Test\WebTestCase::$client` property exists phpdoc about property class, but no `use` declaration added.

As `Symfony\Bundle\FrameworkBundle\Client` deprecated, and actually this will be `Symfony\Bundle\FrameworkBundle\KernelBrowser` instance, we can put `KernelBrowser` instead `Client` (not sure about BC)
<!--
Replace this notice by a short README for your feature/bugfix. This will help people
understand your PR and can be used as a start for the documentation.

Additionally (see https://symfony.com/roadmap):
 - Bug fixes must be submitted against the lowest maintained branch where they apply
   (lowest branches are regularly merged to upper ones so they get the fixes too).
 - Features and deprecations must be submitted against the master branch.
-->

Commits
-------

6982025 Add missed use class for Symfony\Bundle\FrameworkBundle\Test\WebTestCase::$client
@andrew-demb andrew-demb deleted the patch-2 branch May 30, 2019 11:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants