Skip to content

[PHPUnit bridge] Add documentation for the component #6273

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

Closed
wants to merge 15 commits into from
Prev Previous commit
Next Next commit
Fix typo in intro
  • Loading branch information
theofidry committed Feb 27, 2016
commit 57a1ce1f05a9c37a1421df8e457a8cf1ebe9bc58
4 changes: 2 additions & 2 deletions components/phpunit_bridge.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ The PHPUnit Bridge
==================

The PHPUnit Bridge component provides utilities to report legacy tests, and
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would remove "component" here.

usage of deprecated code a `ClockMock` for time-sensitive tests.
usage of deprecated code and a helper for time-sensitive tests.

It comes with the following features:

* Forces the tests to use a consistent locale (``C``)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add blank lines between the items and terminate all but the last item with a semicolon (use a full stop for the last item)? And can you do the same for the other lists?

* Auto-register ``class_exists`` to load Doctrine annotations (when used)
* It displays the whole list of deprecated features used in the application
* Displays the stack trace of a deprecation on-demand
* Provides a `ClockMock` class for time-sensitive tests
* Provides a `ClockMock` mock class for time-sensitive tests

Installation
------------
Expand Down