我在 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
命令时,第二次及以后我只得到:
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
是无国籍的,不记得它在以前的电话中做了什么。
我一直在研究如何强制它显示,但我没有找到明确的信息。
问题
- 我如何“强制”第一次“按原样”对第二次及以后的弃用进行完整报告?