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

Upgrade phpstan #194

Merged
merged 4 commits into from
Dec 3, 2022
Merged

Upgrade phpstan #194

merged 4 commits into from
Dec 3, 2022

Conversation

greg0ire
Copy link
Member

@greg0ire greg0ire commented Dec 1, 2022

No description provided.

They should have been removed in 655bd01
This closure is supposed to return a string, not an integer.
Comment on lines -135 to -143
public function getParseQueue(): ParseQueue
{
if ($this->parseQueue === null) {
throw new LogicException('The ParseQueue is not set until after the build is complete');
}

return $this->parseQueue;
}

Copy link
Member

Choose a reason for hiding this comment

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

Removing a public method from a patch version? What's the connection to PHPStan?

Copy link
Member Author

@greg0ire greg0ire Dec 1, 2022

Choose a reason for hiding this comment

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

parseQueue is never ever written to, the class is final and that property private, and that method is unused. It should have been removed in 655bd01

@greg0ire greg0ire added this to the 0.5.3 milestone Dec 3, 2022
@greg0ire greg0ire merged commit 891a905 into doctrine:0.5.x Dec 3, 2022
@greg0ire greg0ire deleted the upgrade-phpstan branch December 3, 2022 23:04
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