Skip to content

refac: let ValueObject extend from Stringable interface #14

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

Merged
merged 1 commit into from
Mar 31, 2023

Conversation

Bl00D4NGEL
Copy link
Collaborator

PHP 8.0 introduced the Stringable interface. This enables users of an object that implements it to write (string)$foo instead of $foo->__toString(). Additionally Stringable is currently supported by static code analysis tools like PHPStan which will help users of this library to write simpler/less code.

@Bl00D4NGEL Bl00D4NGEL requested a review from b00gizm as a code owner March 29, 2023 08:21
@Bl00D4NGEL
Copy link
Collaborator Author

It looks like the unit tests are failing because the sonarcloud token is not set 🤷 Unit tests themself seem to run through just fine (as expected)

@b00gizm b00gizm self-assigned this Mar 31, 2023
@b00gizm b00gizm merged commit 48a3443 into geekcell:main Mar 31, 2023
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