Skip to content

Fix issue if user ID is a Ulid#2065

Closed
TomHart wants to merge 1 commit intohwi:masterfrom
TomHart:allow_ulid
Closed

Fix issue if user ID is a Ulid#2065
TomHart wants to merge 1 commit intohwi:masterfrom
TomHart:allow_ulid

Conversation

@TomHart
Copy link
Copy Markdown

@TomHart TomHart commented Feb 7, 2026

I've noticed an issue in my application, where upon failing to refresh the user an error is thrown. Digging into it it appears to be the combination of framework.php_errors.throw: true (treat warnings as errors) and the conversion of a Ulid to int.

This simply changes the format string to allow Ulid::__toString to be used.

@TomHart TomHart force-pushed the allow_ulid branch 2 times, most recently from 4316604 to 24679d7 Compare February 7, 2026 14:52
Comment thread tests/Fixtures/UlidUser.php Outdated
Remove dep

Change ID

dep
@TomHart
Copy link
Copy Markdown
Author

TomHart commented Feb 19, 2026

I've updated this with master now, hopefully all the tests still pass 🤞

@github-actions
Copy link
Copy Markdown

Message to comment on stale PRs. If none provided, will not mark PRs stale

@github-actions github-actions Bot added the Stale label Apr 21, 2026
@github-actions github-actions Bot closed this Apr 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants