api-platform/doctrine-common requires abandoned doctrine/common but doesn't appear to use it

未关闭 适合新手
#8,835 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 2 天内回复

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
66/100
Issue 类型
重构
描述清晰度
基本清楚
活跃度
活跃
技术栈
php

调研方向

检查 api-platform/doctrine-common 包的 Composer 清单,并查看其源代码中是否引用了 doctrine/common 的类,包括 issue 中列出的命名空间。Issue 指出,#6331 中移除 ClassUtils 可能是相关背景。确认是否仍需要此依赖;如果没有剩余用法,且该包不再需要此依赖,相关包检查也通过,则任务完成。

由索引模型根据 Issue 内容生成。

描述

api-platform/doctrine-common (v5.0.6, also main) requires doctrine/common: ^3.2.2, and that package is marked as abandoned on Packagist. Because of this, every downstream project gets an abandoned-package warning from composer install and composer audit.

Claude grepped the installed package and found no references to doctrine/common classes (Doctrine\Common\Util\*, Proxy\*, ClassLoader, CommonException, Comparable). Every Doctrine\Common\… match belongs to the ApiPlatform\Doctrine\Common\… namespace. The requirement may be left over from the ClassUtils removal (#6331).

Could you check whether the requirement can be dropped?

主要语言
PHP
星标
2.6k
派生
988
平均合并
4 天 16 小时
30 天内合并 PR
118

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

api-platform/core 的其他 Issue

查看 api-platform/core 的全部 Issue

相似的 Issue

更多 PHP Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。