Skip to content

Conversation

@eaborodkin
Copy link
Contributor

@eaborodkin eaborodkin commented Nov 26, 2024

Number ValueObject didn't work with negative numbers due to incorrect regex in the SanitizesNumbers::sanitize(). Now is fixed.

… regex in the SanitizesNumbers::sanitize(). Now is fixed.
@eaborodkin eaborodkin changed the title Number ValueObject didn't work with negative numbers due to incorrect… Incorrect Number ValueObject behavior. Nov 26, 2024
@michael-rubel
Copy link
Owner

Could you please add tests for the use cases you've described?

@eaborodkin
Copy link
Contributor Author

Could you please add tests for the use cases you've described?

Done.

@michael-rubel michael-rubel changed the title Incorrect Number ValueObject behavior. Fix usage of negative numbers in Number value object Nov 27, 2024
@michael-rubel michael-rubel added the bug Something isn't working label Nov 27, 2024
@michael-rubel michael-rubel merged commit 30bc0da into michael-rubel:main Nov 27, 2024
18 checks passed
@michael-rubel
Copy link
Owner

Thanks @eaborodkin! Tagged a 7.0.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants