Skip to content
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

Add NullTypeCaster #74

Merged
merged 8 commits into from
Feb 9, 2024
Merged

Add NullTypeCaster #74

merged 8 commits into from
Feb 9, 2024

Conversation

vjik
Copy link
Member

@vjik vjik commented Feb 8, 2024

Q A
Is bugfix?
New feature? ✔️
Breaks BC?

Copy link

codecov bot commented Feb 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (f2e4ed9) 100.00% compared to head (72bc17f) 100.00%.

Additional details and impacted files
@@             Coverage Diff             @@
##              master       #74   +/-   ##
===========================================
  Coverage     100.00%   100.00%           
- Complexity       184       200   +16     
===========================================
  Files             28        29    +1     
  Lines            504       524   +20     
===========================================
+ Hits             504       524   +20     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@vjik vjik changed the title Improve PhpNativeTypeCaster on cast empty strings Add option castEmptyStringToNull to PhpNativeTypeCaster Feb 8, 2024
@vjik vjik requested a review from a team February 8, 2024 15:29
@vjik vjik added the status:code review The pull request needs review. label Feb 8, 2024
@vjik vjik changed the title Add option castEmptyStringToNull to PhpNativeTypeCaster Add NullTypeCaster Feb 8, 2024
docs/guide/en/typecasting.md Outdated Show resolved Hide resolved
src/TypeCaster/NullTypeCaster.php Outdated Show resolved Hide resolved
vjik and others added 2 commits February 9, 2024 10:11
@vjik vjik merged commit 750a7f4 into master Feb 9, 2024
23 checks passed
@vjik vjik deleted the improve branch February 9, 2024 07:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:code review The pull request needs review.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants