Commit d35f516
committed
bug #60820 [TypeInfo] Fix handling
This PR was squashed before being merged into the 7.2 branch.
Discussion
----------
[TypeInfo] Fix handling `ConstFetchNode`
| Q | A
| ------------- | ---
| Branch? | 7.2
| Bug fix? | yes
| New feature? | no
| Deprecations? | no
| Issues | Fix #...
| License | MIT
I cannot upgrade to 7.3 because I get:
```
In StringTypeResolver.php line 88:
!!
!! Cannot resolve "array{requirement: ProductLicense::SYSTEM_REQUIREMENT_*, va
!! lue: non-empty-string}".
!!
!!
!! In StringTypeResolver.php line 142:
!!
!! Unhandled "PHPStan\PhpDocParser\Ast\ConstExpr\ConstFetchNode" constant expr
!! ession.
!!
```
Commits
-------
03cc6071c59 [TypeInfo] Fix handling `ConstFetchNode`ConstFetchNode (norkunas)1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
748 | 748 | | |
749 | 749 | | |
750 | 750 | | |
| 751 | + | |
| 752 | + | |
751 | 753 | | |
752 | 754 | | |
753 | 755 | | |
| |||
0 commit comments