mirror of
https://github.com/danog/psalm.git
synced 2024-11-30 04:39:00 +01:00
Fix description InvalidCodeAnalysisWithIssuesTestTrait
Co-authored-by: Bruce Weirdan <weirdan@gmail.com>
This commit is contained in:
parent
b7a20802da
commit
37240624f6
@ -27,10 +27,12 @@ use const PHP_VERSION;
|
||||
* $codebase->config->throw_exception = true; // or false
|
||||
* ```
|
||||
*
|
||||
* If "throw_exception" is set to `true`, code execution stops.
|
||||
* When `throw_exception` is set to `true`, code execution stops once
|
||||
* the first issue is emitted, thus it may mask any problems after
|
||||
* that point.
|
||||
*
|
||||
* If "throw_exception" is set to `false`, the code may continue
|
||||
* to execute, and an error may potentially occur.
|
||||
* When `throw_exception` is set to `false`, the code will continue
|
||||
* to be executed and we can uncover some additional bugs.
|
||||
*
|
||||
* This is trait allows testing for the second case, when the value of
|
||||
* "throw_exception" will be "false".
|
||||
|
Loading…
Reference in New Issue
Block a user