Skip to content

Fix: Reject blank or empty string when attempting to create a File#1124

Merged
localheinz merged 2 commits intomainfrom
fix/empty
Dec 24, 2025
Merged

Fix: Reject blank or empty string when attempting to create a File#1124
localheinz merged 2 commits intomainfrom
fix/empty

Conversation

@localheinz
Copy link
Copy Markdown
Member

@localheinz localheinz commented Dec 24, 2025

This pull request

  • requires ergebnis/data-provider
  • rejects blank or empty strings when attempting to create a File

@localheinz localheinz self-assigned this Dec 24, 2025
@codecov
Copy link
Copy Markdown

codecov bot commented Dec 24, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 71.92%. Comparing base (377ec92) to head (ddb243e).
⚠️ Report is 3 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #1124      +/-   ##
============================================
+ Coverage     71.56%   71.92%   +0.35%     
- Complexity       97       99       +2     
============================================
  Files            17       18       +1     
  Lines           313      317       +4     
============================================
+ Hits            224      228       +4     
  Misses           89       89              

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@localheinz localheinz changed the title Fix: Reject blank or empty values when creating File Fix: Reject blank or empty string when attempting to create a File Dec 24, 2025
@localheinz localheinz merged commit 3241e9b into main Dec 24, 2025
30 checks passed
@localheinz localheinz deleted the fix/empty branch December 24, 2025 12:07
}

/**
* @throws Exception\InvalidFile
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

you might add @phpstan-assert non-empty-string $value

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.

3 participants