-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Add mention of the SymfonyTestsListener #7624
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
@theofidry thanks for completing the docs about this feature. I did some rewords, but I maintained most of your original contribution. Thanks!
components/phpunit_bridge.rst
Outdated
@@ -35,6 +35,24 @@ You can install the component in 2 different ways: | |||
|
|||
.. include:: /components/require_autoload.rst.inc | |||
|
|||
If you plan to :ref:`write-assertions-about-deprecations`_ and use the regular |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the trailing underscore must be removed
components/phpunit_bridge.rst
Outdated
@@ -35,6 +35,24 @@ You can install the component in 2 different ways: | |||
|
|||
.. include:: /components/require_autoload.rst.inc | |||
|
|||
If you plan to :ref:`write-assertions-about-deprecations`_ and use the regular | |||
PHPUnit script (not the modified PHPUnit script provided by Symfony), then you | |||
must register a new `test listener`_ called ``SymfonyTestsListener``: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[...] then you must register [...] -> [...] you have to register [...]?
Thanks very much :) |
Thank you @theofidry. |
…reguiluz) This PR was submitted for the master branch but it was merged into the 3.2 branch instead (closes #7624). Discussion ---------- Add mention of the SymfonyTestsListener Follow up of symfony/symfony#21982 (comment). /cc @xabbuh Commits ------- 73dccd7 Fixed the issues reported by reviewers ac8121d Removed an extra blank line 865ae6a Reworded the explanation 9263103 Add mention of the SymfonyTestsListener
Follow up of symfony/symfony#21982 (comment).
/cc @xabbuh