Commit a290135
Added regression test for #11968
- New integration test testBug11968 in AnalyserIntegrationTest
- Test data file with 500-case UnitEnum with match expression and method calls
- Covers the pattern from the issue: large enum with match($this) returning strings
- Ensures analysis of large enums completes in reasonable time without errors
Closes phpstan/phpstan#119681 parent 0b8e988 commit a290135
2 files changed
Lines changed: 1047 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1462 | 1462 | | |
1463 | 1463 | | |
1464 | 1464 | | |
| 1465 | + | |
| 1466 | + | |
| 1467 | + | |
| 1468 | + | |
| 1469 | + | |
| 1470 | + | |
| 1471 | + | |
1465 | 1472 | | |
1466 | 1473 | | |
1467 | 1474 | | |
| |||
0 commit comments