1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-02 17:52:45 +01:00
psalm/tests/Traits
Ivan Sidorov d588b3d251 Support for testing with the creation of a list of issues
Description of motivation.

We currently have two different behaviors for the code related to
"CodeException":

```
$codebase->config->throw_exception = true; // or false
```

If "throw_exception" is set to `true`, code execution stops.

If "throw_exception" is set to `false`, the code may continue
to execute, and an error may potentially occur.

This commit allows testing for the second case, when the value of
"throw_exception" will be "false".
2024-02-13 17:25:16 +00:00
..
InvalidCodeAnalysisTestTrait.php qa: raise php_version in ValidCodeAnalysisTestTrait and 2023-04-10 02:03:44 +02:00
InvalidCodeAnalysisWithIssuesTestTrait.php Support for testing with the creation of a list of issues 2024-02-13 17:25:16 +00:00
ValidCodeAnalysisTestTrait.php revert 804087b of https://github.com/vimeo/psalm/issues/10026 2023-11-18 08:55:20 +01:00