- Issue created by @kasperg
- @kasperg opened merge request.
- Status changed to Needs work
about 2 years ago 7:27pm 22 March 2023 - Status changed to Postponed: needs info
about 2 years ago 10:18pm 22 March 2023 - πΊπΈUnited States tr Cascadia
I disagree with your conclusion of what is happening. My testing shows that get_class_methods() *does* work for interfaces in PHP 8.1
Here is test code you can run on the web that demonstrates this: https://onlinephp.io/c/98c07317-283c-4e3a-9f77-b1feac2bc439
- Status changed to Closed: won't fix
about 2 years ago 1:41pm 24 March 2023 - π©π°Denmark kasperg
TR, you are right. Sorry about the confusion.
Drupal was not properly bootstrapped so PHP could not autoload the specified interface names. That is why the error occurred.
- Status changed to Closed: works as designed
about 2 years ago 7:16pm 24 March 2023