Skip to content
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

[PropertyInfo] Use last version of reflection docblock #17531

Merged
merged 1 commit into from Feb 26, 2016

Conversation

joelwurtz
Copy link
Contributor

Q A
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets
License MIT
Doc PR

This PR improve the PhpDocExtractor to use https://github.com/phpDocumentor/ReflectionDocBlock 3.0 dev branch instead of https://github.com/phpDocumentor/ReflectionDocBlock 1.0.7 which is not maintained since 2014

I don't know if it's a BC break since it's only a suggested dependency.

This is somehow mandatory (we can maybe use a more stable, but also not maintained version of this repository) for #17516 as it does not have a dependency on php-parser 0.9.4 which is very old and not really suitable for the new component.

@joelwurtz joelwurtz force-pushed the phpdocblock-update branch 3 times, most recently from 3249fd9 to b4c1a17 Compare January 25, 2016 21:07
@fabpot
Copy link
Member

fabpot commented Jan 25, 2016

Do you know when version 3.0 will be out? If it's going to be before 3.1, we can definitely merge this.

@joelwurtz
Copy link
Contributor Author

I don't know :/, i ask them here phpDocumentor/ReflectionDocBlock#70

@joelwurtz joelwurtz changed the title Use last version of reflection dockblock [PropertyInfo] Use last version of reflection dockblock Jan 25, 2016
@javiereguiluz javiereguiluz changed the title [PropertyInfo] Use last version of reflection dockblock [PropertyInfo] Use last version of reflection docblock Jan 26, 2016
@joelwurtz
Copy link
Contributor Author

Stable release ok for phpdocblock 3.0

Ready to review poke @dunglas (i believe your are in charge of this component ?)

@jakzal
Copy link
Contributor

jakzal commented Feb 1, 2016

@joelwurtz this PR needs a rebase. Also, it looks like phpdocumentor/reflection-docblock 3.0.0 was released.

},
"conflict": {
"phpdocumentor/reflection": "<1.0.7"
"phpdocumentor/reflection": "<3.0"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you forgot to change the package name here

@joelwurtz joelwurtz force-pushed the phpdocblock-update branch 2 times, most recently from 4251b83 to 6829b8a Compare February 1, 2016 19:44
@joelwurtz
Copy link
Contributor Author

Rebased and fix issues from feedback.

},
"conflict": {
"phpdocumentor/reflection": "<1.0.7"
"phpdocumentor/reflection-docblock": "<3.0"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we really need this? I don't think so.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think also it make sense here as the suggest is only in the component not in main composer. However it can help user to know which version of this library is supported, but maybe not it's place in the main composer.

@joelwurtz
Copy link
Contributor Author

Rebased on master and fix feedback, what about the conflict in the master composer.json ?

@fabpot
Copy link
Member

fabpot commented Feb 26, 2016

Thank you @joelwurtz.

@fabpot fabpot merged commit d642eae into symfony:master Feb 26, 2016
fabpot added a commit that referenced this pull request Feb 26, 2016
… (joelwurtz)

This PR was merged into the 3.1-dev branch.

Discussion
----------

[PropertyInfo] Use last version of reflection docblock

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets |
| License       | MIT
| Doc PR        |

This PR improve the PhpDocExtractor to use https://github.com/phpDocumentor/ReflectionDocBlock 3.0 dev branch instead of https://github.com/phpDocumentor/ReflectionDocBlock 1.0.7 which is not maintained since 2014

I don't know if it's a BC break since it's only a suggested dependency.

This is somehow mandatory (we can maybe use a more stable, but also not maintained version of this repository) for #17516 as it does not have a dependency on php-parser 0.9.4 which is very old and not really suitable for the new component.

Commits
-------

d642eae Use last version of reflection dockblock, avoid extra dependancy if library needed
fabpot added a commit that referenced this pull request Feb 28, 2016
…th the PHPDoc extractor (dunglas)

This PR was merged into the 3.1-dev branch.

Discussion
----------

[PropertyInfo] Allow to use a custom DocBlock factory with the PHPDoc extractor

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | yes
| Deprecations? | yes
| Tests pass?   | yes
| Fixed tickets | n/a
| License       | MIT
| Doc PR        | n/a

Minor tweak to #17531.

Commits
-------

3c32a2f [PropertyInfo] Allow to use a custom DocBlock factory with the PHPDoc extractor
fabpot added a commit that referenced this pull request Feb 29, 2016
…ng reflection-docblock 3 (dunglas)

This PR was squashed before being merged into the 3.1-dev branch (closes #17931).

Discussion
----------

[FrameworkBundle] Fix PropertyInfo registration when using reflection-docblock 3

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | yes
| Deprecations? | yes
| Tests pass?   | yes
| Fixed tickets | n/a
| License       | MIT
| Doc PR        | n/a

Currently, the PHPDoc extractor of PropertyInfo is not registered anymore because #17531 was merged.

Commits
-------

6d31365 [FrameworkBundle] Fix PropertyInfo registration when using reflection-docblock 3
fabpot added a commit that referenced this pull request Mar 1, 2016
…dunglas)

This PR was merged into the 3.1-dev branch.

Discussion
----------

[PropertyInfo] Fix a BC break when the DocBlock is empty

| Q             | A
| ------------- | ---
| Branch        | master
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | n/a
| License       | MIT
| Doc PR        | n/a

BC break introduced by #17531.

Commits
-------

d2d8d17 [PropertyInfo] Fix a BC break when the DocBlock is empty
@fabpot fabpot mentioned this pull request May 13, 2016
@joelwurtz joelwurtz deleted the phpdocblock-update branch March 21, 2018 00:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants