{"push_id":3120794909,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"1b25bd0b941fa38fdc0cfc44d90698da78b76677","before":"5d9c77b5567e73540b98d3c49341aac828e98078","commits":[{"sha":"1b25bd0b941fa38fdc0cfc44d90698da78b76677","author":{"name":"Ning","email":"843aabb78f0918ad3e5105f10a1adce1654ebf7d@int-trade.de"},"message":"let's handle deprecations! In profiler, one of them is:\n\"   Autowiring services based on the types they implement is deprecated since Symfony 3.3\n   and won't be supported in version 4.0. Try changing the type-hint for argument\n   \"$passwordEncoder\" of method \"AppBundle\\Security\\LoginFormAuthenticator::__construct()\"\n   to \"Symfony\\Component\\Security\\Core\\Encoder\\UserPasswordEncoderInterface\" instead.\"\n\n执行命令：\n  >> git grep construct.*\\$passwordEncoder <<\n看到涉及以下文件：\n  src/AppBundle/Doctrine/HashPasswordListener.php\n  src/AppBundle/Security/LoginFormAuthenticator.php\n  它们在构造函数中Type-hint用了UserPasswordEncoder类\n\n执行命令：\n  >> bin/console debug:container --types (*!*!*!*!*)\n\n查看可以用于Autowiring的所有类\n可以看到，UserpasswordEncoderInterface可用，应该改成它","distinct":true,"url":"https://api.github.com/repos/rieicp/symfonycasts-upgrade3.3-autowiring-autoconfig/commits/1b25bd0b941fa38fdc0cfc44d90698da78b76677"}]}
{"actor":{"display_login":"rieicp"}}