Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Aug 23, 2023. It is now read-only.

Conversation

@greg0ire
Copy link
Member

No description provided.

@greg0ire greg0ire marked this pull request as draft May 28, 2020 16:27
@greg0ire
Copy link
Member Author

........PHP Fatal error: Declaration of Doctrine\Common\Reflection\StaticReflectionClass::newInstance($args) must be compatible with ReflectionClass::newInstance(...$args) in /home/travis/build/doctrine/reflection/lib/Doctrine/Common/Reflection/StaticReflectionClass.php on line 377

Ah there is a noteworthy failure

@greg0ire
Copy link
Member Author

greg0ire commented May 28, 2020

@alcaeus not sure what to do… something like https://github.com/symfony/symfony/blob/master/src/Symfony/Bridge/PhpUnit/CoverageListener.php maybe? Or are there preloading-related issues with this?

@ostrolucky
Copy link
Member

It's not a big bc break. Would be breaking only for people extending our class. I would say just document minor bc break and do the change

@greg0ire
Copy link
Member Author

Would be breaking only for people extending our class.

If they also override that method (that currently throws an exception). I think you are right.

@andypost
Copy link

What's state of this PR? Looks changes in codebase still needed #46 (comment)

@greg0ire
Copy link
Member Author

IMO the whole repo is going to be deprecated, so if you are using it you should consider alternatives.

@catch56
Copy link

catch56 commented Oct 19, 2020

Drupal 9 is using Doctrine reflection, and will be supported until the end of 2023 (i.e. around the same time that Symfony 4 goes out of support). While we can certainly look at moving away from it, it would be a lot more straightforward if we dropped the dependency for Drupal 10.

@alexpott alexpott mentioned this pull request Oct 27, 2020
@alexpott
Copy link
Contributor

I've created #49 that attempts to allow doctrine/reflection on PHP 8. It'd be really great if we could keep this dependency for the Drupal 9 lifecycle. It'd give us and the rest of the community time to switch to alternatives.

@greg0ire
Copy link
Member Author

Closing in favor of #49

@greg0ire greg0ire closed this Oct 27, 2020
@greg0ire
Copy link
Member Author

@alexpott I think we can still review PRs and merge them, not sure when we will mark this as abandoned, but do plan a move.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants