Skip to content

Commit dce07d5

Browse files
authored
mention phpunit bridge in bundle best practices
1 parent 039a298 commit dce07d5

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

bundles/best_practices.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,11 @@ the ``Tests/`` directory. Tests should follow the following principles:
166166
A test suite must not contain ``AllTests.php`` scripts, but must rely on the
167167
existence of a ``phpunit.xml.dist`` file.
168168

169+
.. tip::
170+
171+
The :doc:`PHPUnit bridge component <../components/phpunit_bridge>` helps with
172+
testing legacy code and deprecations.
173+
169174
Continuous Integration
170175
----------------------
171176

@@ -237,6 +242,9 @@ of Symfony and the latest beta release:
237242
- composer validate --strict --no-check-lock
238243
- ./vendor/bin/simple-phpunit $PHPUNIT_FLAGS
239244
245+
Note that simple-phpunit is the phpunit script when using the
246+
:doc:`PHPUnit bridge component <../components/phpunit_bridge>`.
247+
240248
Consider using `Travis cron`_ too to make sure your project is built even if
241249
there are no new pull requests or commits.
242250

0 commit comments

Comments
 (0)