liip / liip/LiipFunctionalTestBundle
Doctrine\Common\ClassLoader is deprecated.
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 648
- Forks
- 179
- PR merge metrics
- No merged PRs in 30d
Description
### Preconditions
1. This error is fired when launching tests in symfony: **Doctrine\Common\ClassLoader** is deprecated
2. The error comes with Doctrine Common v2.9.0
3. It seems that the ClassLoader in doctrine common is deprecated
https://github.com/doctrine/common/issues/826
### Steps to reproduce
I think the error comes from the fact that you require doctrine/common in your composer.json
### Expected result
Should not use doctrine/common
### Actual result
In our logs: **Doctrine\Common\ClassLoader** is deprecated
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with composer.json and the Symfony test setup that loads Doctrine\Common\ClassLoader; check whether doctrine/common is a direct or transitive dependency and review the linked Doctrine issue for the deprecation context. Done means the dependency is no longer required by this bundle, the deprecation no longer appears when launching tests, and the test suite still passes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php, symfony
- Domain
- testing
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100