问题描述
我在 symfony 3.4 中有一个旧项目,我想让它免弃用,以便能够升级到 symfony 4.0。
当我这样做时:
PHP bin/simple-phpunit
这是第一次我收到很多弃用通知,例如那些类型:
186x: Creating Doctrine\ORM\Mapping\UnderscoreNamingStrategy without making it [...]
186x: YAML mapping driver is deprecated and will be removed in Doctrine ORM 3.0,[...]
3x: The "assetic.filter.cssrewrite" service is private,getting it from the container [...]
3x: The "assetic.filter.less" service is private,getting it from the [...]
1x: Not quoting the scalar "%nodeBin%" starting with the "%" indicator [...]
1x: Not quoting the scalar "%nodePaths%" starting with the "%" indicator [...]
1x: The "framework.trusted_proxies" configuration key has been [...]
1x: Not setting "logout_on_user_change" to true on firewall [...]
1x: Enabling the "sensio_framework_extra.router.annotations" configuration [...]
1x: The "sensio_framework_extra.routing.loader.annot_class" service [...]
1x: The "Sensio\Bundle\FrameworkExtraBundle\Routing\AnnotatedRouteControllerLoader" class [...]
1x: The "sensio_framework_extra.routing.loader.annot_dir" service is [...]
1x: The "sensio_framework_extra.routing.loader.annot_file" service is [...]
1x: The "assetic.filter_manager" service is private,getting it from the [...]
尽管如此,当我运行非常精确的 PHP bin/simple-phpunit
命令时,对于 second 和以下时间,我只会得到:
186x: Creating Doctrine\ORM\Mapping\UnderscoreNamingStrategy without making it [...]
186x: YAML mapping driver is deprecated and will be removed in Doctrine ORM 3.0,[...]
这似乎相当不确定,这个。我希望 simple-phpunit
是无状态的,并且不记得它在之前的调用中做了什么。
我一直在研究如何强制显示它,但我没有找到明确的信息。
问题
- 如何“强制”第一次“按原样”制作第 2 次和随后的弃用情况的完整报告?
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)