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

CS: RequireExplicitAssertion with enableIntegerRanges=true and enableAdvancedStringTypes=true #1215

Merged
merged 2 commits into from
Sep 22, 2022

Conversation

kukulich
Copy link
Collaborator

Code changes are requested and fixed by RequireExplicitAssertionSniff but updated manually to make PHPStan and Psalm happy.

@kukulich kukulich marked this pull request as ready for review September 22, 2022 06:33
@Ocramius Ocramius added this to the 6.0.0 milestone Sep 22, 2022
@Ocramius Ocramius self-assigned this Sep 22, 2022
Copy link
Member

@Ocramius Ocramius left a comment

Choose a reason for hiding this comment

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

Thanks @kukulich

Stellar work with the new CS additions!

Comment on lines +89 to +91
} else {
$startLine = null;
}
Copy link
Member

Choose a reason for hiding this comment

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

Possibly worth declaring $startLine upfront? No biggie though

@Ocramius Ocramius merged commit bac2d1d into Roave:6.0.x Sep 22, 2022
@kukulich kukulich deleted the cs branch September 30, 2022 15:20
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