8000 merged branch fabpot/phpdoc-fix (PR #6869) · xamado/symfony@5381fae · GitHub
[go: up one dir, main page]

Skip to content

Commit 5381fae

Browse files
committed
merged branch fabpot/phpdoc-fix (PR symfony#6869)
This PR was merged into the master branch. Commits ------- e3086cc [Console] added some missing information in the phpdoc (closes symfony#6464) Discussion ---------- [Console] added some missing information in the phpdoc (closes symfony#6464) | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | symfony#6464 | License | MIT | Doc PR | n/a
2 parents 6b8617d + e3086cc commit 5381fae

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/Symfony/Component/Console/Tester/ApplicationTester.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@
2020
/**
2121
* Eases the testing of console applications.
2222
*
23+
* When testing an application, don't forget to disable the auto exit flag:
24+
*
25+
* $application = new Application();
26+
* $application->setAutoExit(false);
27+
*
2328
* @author Fabien Potencier <fabien@symfony.com>
2429
*/
2530
class ApplicationTester

0 commit comments

Comments
 (0)
0