8000 Use PhpStanExtractor as default extractor by Korbeil · Pull Request #3 · symfony/serializer-pack · GitHub
[go: up one dir, main page]

Skip to content

Use PhpStanExtractor as default extractor #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

Korbeil
Copy link
Contributor
@Korbeil Korbeil commented Oct 27, 2021

@Korbeil Korbeil force-pushed the feature/phpstan-extractor-as-default branch 2 times, most recently from 4063c99 to b757f19 Compare October 29, 2021 11:52
fabpot added a commit to symfony/symfony that referenced this pull request Oct 30, 2021
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
-------

9931c37 Add PhpStanExtractor
symfony-splitter pushed a commit to symfony/framework-bundle that referenced this pull request Oct 30, 2021
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 PhpStanExtractor
@Korbeil Korbeil force-pushed the feature/phpstan-extractor-as-default branch from b757f19 to 8e2f5f0 Compare November 3, 2021 15:26
@Korbeil
Copy link
Contributor Author
Korbeil commented Nov 30, 2021

since SF 5.4 & SF 6 are out, should be merged now ? cc @nicolas-grekas

@nicolas-grekas nicolas-grekas merged commit d6b1aca into symfony:main Nov 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0