Skip to content

Commit

Permalink
Fix description InvalidCodeAnalysisWithIssuesTestTrait
Browse files Browse the repository at this point in the history
Co-authored-by: Bruce Weirdan <weirdan@gmail.com>
  • Loading branch information
issidorov and weirdan committed Feb 14, 2024
1 parent 662fe82 commit d31167f
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions tests/Traits/InvalidCodeAnalysisWithIssuesTestTrait.php
Expand Up @@ -27,10 +27,12 @@
* $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".
Expand Down

0 comments on commit d31167f

Please sign in to comment.