Skip to content

[ci] handle reset-password 8.1.10 version constraint #1201

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 2 commits into from
Sep 20, 2022

Conversation

jrushlow
Copy link
Collaborator

No description provided.

@jrushlow jrushlow added the Minor Minor Enhancement label Sep 20, 2022
@jrushlow jrushlow force-pushed the ci/reset-password branch 3 times, most recently from 8182e8e to 659cfac Compare September 20, 2022 16:02
@jrushlow jrushlow merged commit 8304f25 into symfony:main Sep 20, 2022
@jrushlow jrushlow deleted the ci/reset-password branch September 20, 2022 17:42

if (\PHP_VERSION_ID > $this->blockedPhpVersionUpper) {
$isSupported = true;
}
Copy link
Member

Choose a reason for hiding this comment

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

This is what makes sense to me:

if ($hasPhpVersionConstraint && \PHP_VERSION_ID >= $this->blockedPhpVersionLower && \PHP_VERSION_ID <= $this->blockedPhpVersionUpper) {
    return false;
}

It says:

If the a blocked range of php versions was specified AND the current php version is inside of that range (greater than or equal to the lower and less than or equal to the upper), return false: the current php version is not supported.

bdaler pushed a commit to bdaler/maker-bundle that referenced this pull request Sep 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants