Commit e8596dd
committed
feature #40457 [PropertyInfo] Add
This PR was merged into the 5.4 branch.
Discussion
----------
[PropertyInfo] Add `PhpStanExtractor`
| Q | A
| ------------- | ---
| Branch? | 5.4
| Bug fix? | no
| New feature? | yes
| Deprecations? | no
| Tickets | Fix #38093
| License | MIT
| Doc PR | symfony/symfony-docs#...
This PR will add a PhpStanExtractor that is based on `phpstan/phpdoc-parser` library.
The PhpStan library allows us to manage union types in collection key values that we don't manage today.
### Todo
- [x] PhpStanExtractor
- [x] Add tests for unions types
- [x] Add FrameworkBundle glue (use this extractor if `phpstan/phpdoc-parser` is present)
- [x] Update CHANGELOG
Related PR:
- symfony/serializer-pack#3 put the PhpStanExtractor as default extractor to use on the `serializer-pack` package.
Commits
-------
9931c3705d Add PhpStanExtractorPhpStanExtractor (Korbeil)2 files changed
+11
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
160 | 161 | | |
161 | 162 | | |
162 | 163 | | |
| 164 | + | |
163 | 165 | | |
164 | 166 | | |
165 | 167 | | |
| |||
1833 | 1835 | | |
1834 | 1836 | | |
1835 | 1837 | | |
| 1838 | + | |
| 1839 | + | |
| 1840 | + | |
| 1841 | + | |
| 1842 | + | |
| 1843 | + | |
| 1844 | + | |
| 1845 | + | |
1836 | 1846 | | |
1837 | 1847 | | |
1838 | 1848 | | |
| |||
0 commit comments