Skip to content

Fix of versions fail in 3.2.0#20

Merged
mSprunskas merged 7 commits intopaysera:masterfrom
vitalii-kostetskyi-paysera-net:LW-2228
Nov 27, 2025
Merged

Fix of versions fail in 3.2.0#20
mSprunskas merged 7 commits intopaysera:masterfrom
vitalii-kostetskyi-paysera-net:LW-2228

Conversation

@vitalii-kostetskyi-paysera-net
Copy link
Contributor

No description provided.

@vitalii-kostetskyi-paysera-net vitalii-kostetskyi-paysera-net marked this pull request as ready for review November 19, 2025 10:45

$message = new Message();

//region Timestamp conversion for gelf-php v2.0 strict typing
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this all copy-paste because of datetime handling?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, and for this block below
//region setFacility/setLine/setFile replaced with setAdditional

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, lets do following:

  • lets move GelfMessageFormatter code blocks that require modification to private methods, it's better way than comments to deduce what parts were overiden
  • lets move FormatterTrait inside NormalizeCompatibilityTrait, this will reduce complexity as \Paysera\LoggingExtraBundle\Service\Formatter\FormatterTrait::normalizeWithPrenormalization is only used in \Paysera\LoggingExtraBundle\Service\Formatter\NormalizeCompatibilityTrait

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mSprunskas mSprunskas merged commit 69f6b14 into paysera:master Nov 27, 2025
38 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants