Remove reporting of deprecated method calls in tests flagged as `@group legacy`
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 38/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- php
- 领域
- testing-qa, tooling
调研方向
Start with the extension point and interface introduced by phpstan/phpstan-deprecation-rules pull request #99, then inspect how this Symfony extension reports deprecations in tests. Done means implementing the convention so @group legacy on a test method or class prevents deprecation reporting for those tests.
由索引模型根据 Issue 内容生成。
描述
symfony/phpunit-bridge defines a convention where adding @group legacy on a test (either by adding it on the method or on the class as PHPUnit considers that a @group added on a class applies to all tests defined in that class) disables the reporting of deprecations in that test, as this test is about covering the legacy behavior (and so using deprecated APIs is expected).
https://github.com/phpstan/phpstan-deprecation-rules/pull/99 has added an extension point allowing to implement such feature. It would be great to provide an implementation of the interface following this convention.
- 主要语言
- PHP
- 星标
- 806
- 派生
- 105
- 平均合并
- 1 小时 55 分钟
- 30 天内合并 PR
- 6
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
phpstan/phpstan-symfony 的其他 Issue
-
`ParameterBag::keys()` stub not applied for Symfony ≥ 7.4 → false-positive `is_string()` `alwaysNarrowedType`可能已有人在做 @ChrisAbner 于 4 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 82/100
phpstan/phpstan-symfony#510 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
phpstan/phpstan-symfony#494 · 5 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 65/100
phpstan/phpstan-symfony#268 ·
-
Account for `\ErrorException` from `unserialize()` when Symfony’s PHP error conversion is enabled未关闭
难度 3/5 1-2 天 新手友好度 45/100
phpstan/phpstan-symfony#514 · 2 条评论 ·
-
难度 5/5 一周以上 新手友好度 35/100
phpstan/phpstan-symfony#509 · 2 条评论 ·
查看 phpstan/phpstan-symfony 的全部 Issue
相似的 Issue
-
Text to Speech fails on Windows: the temp file path loses its backslashes when stored in post meta可能已有人在做 @azizulhasan 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复
-
Finder
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 75/100
维护者通常 1 天内回复
-
[Python] Worker.close() spins at 100% CPU when its teardown task is canceled可能已有人在做 @Glutexo 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 85/100
taskforcesh/bullmq#5053 ·
维护者通常 1 天内回复
-
Prerender check returns HTTP 500 when the request URI or Referer header is longer than PHP_MAXPATHLEN可能已有人在做 @lbajsarowicz 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 82/100