-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
[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
Closed
Changes from 1 commit
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
05316b5
Add doc for the PHPUnit bridge component
theofidry 5fe6bf0
Fix linting
theofidry eb27c9b
Various fix
theofidry ab94ab8
Update
theofidry 891d2ff
minor fixes
theofidry a912299
Add SYMFONY_DEPRECATIONS_HELPER feature
theofidry cf8b0c4
Address some comments
theofidry d38454b
minor fixes
theofidry bfe2e76
Add link for @-silence operator
theofidry d5f7395
Drop 'Component' from the name
theofidry 54001a8
Add doc for the ClockMock
theofidry 57a1ce1
Fix typo in intro
theofidry 4a5c951
Fix @xabbuh comments
theofidry 8b29f89
Enhance clock mocking doc
theofidry d7c2adc
typo
theofidry File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fix typo in intro
- Loading branch information
commit 57a1ce1f05a9c37a1421df8e457a8cf1ebe9bc58
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,15 +6,15 @@ The PHPUnit Bridge | |
================== | ||
|
||
The PHPUnit Bridge component provides utilities to report legacy tests, and | ||
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``) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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 | ||
------------ | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
I would remove "component" here.