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

PHPStan 1.12 #6507

Merged
merged 1 commit into from
Aug 27, 2024
Merged

PHPStan 1.12 #6507

merged 1 commit into from
Aug 27, 2024

Conversation

derrabus
Copy link
Member

Q A
Type improvement
Fixed issues N/A

Summary

The new PHPStan release has a deeper understanding of the array shape created by preg_match() calls. I've made some adjustments to account for that.

@derrabus derrabus added this to the 3.9.1 milestone Aug 27, 2024
Copy link
Member

@greg0ire greg0ire left a comment

Choose a reason for hiding this comment

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

A nice next step could be to enable bleeding edge: https://phpstan.org/blog/phpstan-1-12-road-to-phpstan-2-0

@derrabus
Copy link
Member Author

A nice next step could be to enable bleeding edge: https://phpstan.org/blog/phpstan-1-12-road-to-phpstan-2-0

Yes.

@derrabus
Copy link
Member Author

btw, did you notice that the CodeCov upload is failing again. 😢

@derrabus derrabus merged commit 5980613 into doctrine:3.9.x Aug 27, 2024
85 of 86 checks passed
@derrabus derrabus deleted the bump/phpstan branch August 27, 2024 13:41
@greg0ire
Copy link
Member

Yes, and I reported it: codecov/codecov-action#1548

derrabus added a commit to derrabus/dbal that referenced this pull request Aug 28, 2024
* 3.9.x:
  Use generators for large data providers (doctrine#6508)
  PHPStan 1.12 (doctrine#6507)
derrabus added a commit that referenced this pull request Aug 28, 2024
* 4.2.x:
  Fix more PHPStan errors
  Use generators for large data providers (#6508)
  PHPStan 1.12 (#6507)
  Raise a proper exception when calling `getColumnName()` with negative index (#6505)
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.

2 participants