-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[7.0] Remove remaining deprecated code paths #50873
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@@ -48,7 +48,7 @@ protected function getDefaultFormatter() | ||
/** | ||
* @author Grégoire Pineau <lyrixx@lyrixx.info> | ||
* | ||
* @internal since Symfony 6.1 | ||
* @internal | ||
*/ | ||
trait ServerLogHandlerTrait |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes that would allow some conditional code mess to be cleaned up which sounds great
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@lyrixx up for a PR doing so?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm on it
@@ -22,7 +22,7 @@ | ||
return static function (ContainerConfigurator $container) { | ||
$container->services() | ||
->set('annotations.reader', AnnotationReader::class) | ||
->call('addGlobalIgnoredName', ['required']) // @deprecated since Symfony 6.3 | ||
->call('addGlobalIgnoredName', ['required']) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
keeping this as is so that ppl can still use the annotation without being bothered
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀 Nice one
Some UPGRADE guide suggestions, I haven't looked at the code changes.
You forgot to update the CHANGELOG of the workflow component (a least this one) |
f07fb6f
to
048170f
Compare
…-grekas) This PR was merged into the 6.4 branch. Discussion ---------- [6.4] Fix remainings from previous deprecations | Q | A | ------------- | --- | Branch? | 6.4 | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | - | License | MIT | Doc PR | - Found while working on #50873 Commits ------- 2d59b2f [6.4] Fix remainings from previous deprecations
048170f
to
3306b31
Compare
3306b31
to
8b687f6
Compare
8b687f6
to
5e4a1c6
Compare
…scriptors (nicolas-grekas) This PR was merged into the 5.4 branch. Discussion ---------- [Messenger] Fix passing options set via tags to handler descriptors | Q | A | ------------- | --- | Branch? | 5.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | - | License | MIT | Doc PR | - Spotted while working on #50873 Commits ------- 2a6f72b [Messenger] Fix passing options set via tags to handler descriptors
5e4a1c6
to
955285f
Compare
955285f
to
e96702a
Compare
e96702a
to
6baa3d2
Compare
Form
DateTime
orDateTimeImmutable
model data with a different timezone than configured with themodel_timezone
option inDateType
,DateTimeType
, andTimeType
FrameworkBundle
http_method_override
config option default tofalse
AbstractController::renderForm()
, userender()
insteadSymfony\Component\Serializer\Normalizer\ObjectNormalizer
andSymfony\Component\Serializer\Normalizer\PropertyNormalizer
autowiring aliases, type-hint againstSymfony\Component\Serializer\Normalizer\NormalizerInterface
or implementNormalizerAwareInterface
insteadHttp\Client\HttpClient
service, usePsr\Http\Client\ClientInterface
insteadMessenger
MessageHandlerInterface
andMessageSubscriberInterface
, use#[AsMessageHandler]
insteadStopWorkerOnSigtermSignalListener
in favor ofStopWorkerOnSignalsListener
and make it configurable with SIGINT andSymfony\Component\Messenger\Transport\InMemoryTransport
andSymfony\Component\Messenger\Transport\InMemoryTransportFactory
in favor ofSymfony\Component\Messenger\Transport\InMemory\InMemoryTransport
andSymfony\Component\Messenger\Transport\InMemory\InMemoryTransportFactory
Translation
PhpStringTokenParser
PhpExtractor
in favor ofPhpAstExtractor
TwigBundle
twig.autoescape
, usetwig.autoescape_service[_method]
insteadTwig_Environment
autowiring alias, useTwig\Environment
insteadYaml
!php/const:
tag, use!php/const
instead (without the colon)