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

Removed dead execution branches #152

Conversation

Ocramius
Copy link
Member

@Ocramius Ocramius commented Nov 18, 2022

Since PHP 8.2, there are no types that cannot be standalone: all types can be standalone.

This allows us to drop a bunch of code that was previously used to check if types were sound.

Signed-off-by: Marco Pivetta ocramius@gmail.com

Q A
Documentation no
Bugfix no
BC Break no
New Feature no
RFC no
QA yes

This is mostly a cleanup after #149

Since PHP 8.2, there are no types that cannot be standalone:
all types can be standalone.

This allows us to drop a bunch of code that was previously
used to check if types were sound.

Signed-off-by: Marco Pivetta <ocramius@gmail.com>
@Ocramius Ocramius added this to the 4.8.0 milestone Nov 18, 2022
@Ocramius Ocramius self-assigned this Nov 18, 2022
@Ocramius Ocramius merged commit 84de915 into laminas:4.8.x Nov 18, 2022
@Ocramius Ocramius deleted the cleanup/remove-unused-union-type-standalone-types-checks branch November 18, 2022 10:27
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.

1 participant