Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[PropertyInfo] fail with a meaningful error when a needed package is missing #49146

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
merged 1 commit into from
Feb 1, 2023

Conversation

xabbuh
Copy link
Member

@xabbuh xabbuh commented Jan 29, 2023

Q A
Branch? 5.4
Bug fix? yes
New feature? no
Deprecations? no
Tickets Fix #49123
License MIT
Doc PR

@nicolas-grekas
Copy link
Member

Thank you @xabbuh.

@nicolas-grekas nicolas-grekas merged commit d0b723e into symfony:5.4 Feb 1, 2023
@xabbuh xabbuh deleted the issue-49123 branch February 1, 2023 19:25
fabpot added a commit that referenced this pull request Feb 4, 2023
…-parser` is not installed when using `PhpStanExtractor` (alexandre-daubois)

This PR was merged into the 5.4 branch.

Discussion
----------

[PropertyInfo] Add meaningful message when `phpstan/phpdoc-parser` is not installed when using `PhpStanExtractor`

| Q             | A
| ------------- | ---
| Branch?       | 5.4
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| Tickets       | _NA_
| License       | MIT
| Doc PR        | _NA_

Folow-up of #49146, as `phpstan/phpdoc-parser` is only defined in `require-dev` of PropertyInfo.

Also, I took this opportunity to convert a few data providers to static ones cc `@OskarStark` 👍

Commits
-------

404d6cc [PropertyInfo] Add meaningful message when `phpstan/phpdoc-parser` is not installed when using `PhpStanExtractor`
This was referenced Feb 28, 2023
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.

5 participants