8000 Document allow outdated vendors mode · symfony/symfony-docs@ed845bd · GitHub
[go: up one dir, main page]

Skip to content

Commit ed845bd

Browse files
committed
Document allow outdated vendors mode
Refs symfony/symfony#24867
1 parent 8e21247 commit ed845bd

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

components/phpunit_bridge.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,16 @@ the ``vendors`` directory will make the test suite fail, while deprecations
188188
triggered from a library inside it will not, giving you the best of both
189189
worlds.
190190

191+
When working on a project, you might be more interested in the
192+
``allow_outdated_vendors``, which is a bit more strict. Let's say you
193+
want to fix deprecations as soon as they appear. A problem many people
194+
experience is that some dependencies they have tend to lag behind their
195+
own dependencies, meaning they do not fix deprecations as soon as
196+
possible, which means there is nothing you can do to fix that (apart
197+
from a pull request on the outdated vendor). This mode allows you to
198+
ignore those deprecations, allowing you to notice when *your code* is
199+
using deprecated APIs, and to keep up with the changes.
200+
191201
Disabling the Deprecation Helper
192202
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
193203

0 commit comments

Comments
 (0)
0