Skip to content

PHP 8.1 | File::findImplementedInterfaceNames(): add support for enums implementing interfaces#3578

Merged
gsherwood merged 1 commit intosquizlabs:masterfrom
jrfnl:feature/file-getimplementedinterfacenames-add-enum-support
Apr 18, 2022
Merged

PHP 8.1 | File::findImplementedInterfaceNames(): add support for enums implementing interfaces#3578
gsherwood merged 1 commit intosquizlabs:masterfrom
jrfnl:feature/file-getimplementedinterfacenames-add-enum-support

Conversation

@jrfnl
Copy link
Copy Markdown
Contributor

@jrfnl jrfnl commented Apr 1, 2022

An enum declaration can implement one or more interfaces.

This commit updates the File::findImplementedInterfaceNames() method to allow it to find the interfaces implemented by an enum as well.

Includes unit tests.

…s implementing interfaces

An `enum` declaration can implement one or more interfaces.

This commit updates the `File::findImplementedInterfaceNames()` method to allow it to find the interfaces implemented by an `enum` as well.

Includes unit tests.
@gsherwood gsherwood added this to the 3.7.0 milestone Apr 18, 2022
@gsherwood gsherwood merged commit 8c778e8 into squizlabs:master Apr 18, 2022
@gsherwood
Copy link
Copy Markdown
Member

Thanks

@jrfnl jrfnl deleted the feature/file-getimplementedinterfacenames-add-enum-support branch April 18, 2022 01:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants