Skip to content

Removed dead execution branches#152

Merged
Ocramius merged 1 commit intolaminas:4.8.xfrom
Ocramius:cleanup/remove-unused-union-type-standalone-types-checks
Nov 18, 2022
Merged

Removed dead execution branches#152
Ocramius merged 1 commit intolaminas:4.8.xfrom
Ocramius:cleanup/remove-unused-union-type-standalone-types-checks

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