5b72e5ab04
This PR was merged into the 2.3 branch.
Discussion
----------
unified return null usages
| Q | A
| ------------- | ---
| License | MIT
This PR unifies the way we return `null` from a function or method:
* always use `return;` instead of `return null;` (the current code base uses both);
* never use `return;` at the end of a function/method.
Commits
-------
|
||
---|---|---|
.. | ||
Tests | ||
.gitattributes | ||
.gitignore | ||
composer.json | ||
LICENSE | ||
phpunit.xml.dist | ||
README.md | ||
Stopwatch.php | ||
StopwatchEvent.php | ||
StopwatchPeriod.php |
Stopwatch Component
Stopwatch provides a way to profile code.
Resources
You can run the unit tests with the following command:
$ cd path/to/Symfony/Component/Stopwatch/
$ composer.phar install
$ phpunit