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

Add support of Symfony Console 5. #174

Merged
merged 2 commits into from
Dec 19, 2019

Conversation

ptondereau
Copy link
Contributor

I've just added support of symfony's console 5

@@ -45,6 +45,8 @@ public function enterNode(Node $node)
$this->recordFunctionDefinition($node);
$this->recordConstDefinition($node);
$this->recordDefinedConstDefinition($node);

return $node;
Copy link
Contributor Author

@ptondereau ptondereau Dec 18, 2019

Choose a reason for hiding this comment

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

PHPStan was complaining about no return because of method's signature in PhpParser lib. I don't know if I should return null or a Node

composer.json Outdated Show resolved Hide resolved
@ptondereau ptondereau requested a review from Ocramius December 19, 2019 21:56
@Ocramius Ocramius self-assigned this Dec 19, 2019
@Ocramius Ocramius added this to the 2.1.0 milestone Dec 19, 2019
@Ocramius Ocramius added the dependencies Pull requests that update a dependency file label Dec 19, 2019
@Ocramius
Copy link
Collaborator

Thanks!

@Ocramius Ocramius merged commit af4e0b9 into maglnet:master Dec 19, 2019
@ptondereau ptondereau deleted the support-symfony-console-5 branch December 19, 2019 22:25
@VincentLanglet
Copy link
Contributor

@Ocramius @ptondereau Why dropping support for symfony 4 when you added the support for symfony 5 ? You could have both.

This is a breaking change, tagged as a minor update.

@Ocramius
Copy link
Collaborator

Heya,

Dependency upgrades are not BC breaks, as they move the dependency, not the API of the package. You can keep using the previous version, or install the tool standalone.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants