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

PHP 8.1: add support for intersection types #365

Merged
merged 3 commits into from
Oct 15, 2022

Conversation

jrfnl
Copy link
Member

@jrfnl jrfnl commented Oct 15, 2022

PHP 8.1 | Variables::getMemberProperties(): support intersection types

PHP 8.1 | FunctionDeclarations::getProperties(): add support for intersection types

PHP 8.1 | FunctionDeclarations::getParameters(): add support for intersection types

Sync with upstream PR squizlabs/PHP_CodeSniffer#3581 which added support for PHP 8.1 intersection types to these methods.

Ref:

jrfnl and others added 3 commits October 15, 2022 08:24
Sync with upstream PRs 3581 which added support for PHP 8.1 intersection types to the method.

Ref:
* squizlabs/PHP_CodeSniffer 3581

Co-authored-by: Jaroslav Hanslík <kukulich@kukulich.cz>
…rsection types

Ref:
* squizlabs/PHP_CodeSniffer 3581

Co-authored-by: Jaroslav Hanslík <kukulich@kukulich.cz>
…rsection types

Ref:
* squizlabs/PHP_CodeSniffer 3581

Co-authored-by: Jaroslav Hanslík <kukulich@kukulich.cz>
@jrfnl jrfnl added this to the 1.0.0-alpha4 milestone Oct 15, 2022
@jrfnl jrfnl merged commit dd41a73 into develop Oct 15, 2022
@jrfnl jrfnl deleted the php-8.1/add-support-for-intersection-types branch October 15, 2022 06:32
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.

None yet

1 participant