Skip to content

Refactor line terminator handling with enum type - #769

Merged
StuartFerguson merged 1 commit into
mainfrom
bug/#759_reject_invalid_line_terminators
Jul 14, 2026
Merged

StuartFerguson merged 1 commit into
mainfrom
bug/#759_reject_invalid_line_terminators

Conversation

@StuartFerguson

Copy link
Copy Markdown
Member

Replaced string-based line terminator properties with a new LineTerminatorType enum in file profile requests. Updated all usages, validation, and tests to use the strongly-typed enum. Added extension methods for conversion and enhanced validation to reject invalid or unknown values. Updated test cases and step definitions to support the new approach.

Replaced string-based line terminator properties with a new LineTerminatorType enum in file profile requests. Updated all usages, validation, and tests to use the strongly-typed enum. Added extension methods for conversion and enhanced validation to reject invalid or unknown values. Updated test cases and step definitions to support the new approach.
@StuartFerguson StuartFerguson linked an issue Jul 14, 2026 that may be closed by this pull request
@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 9 complexity · -4 duplication

Metric Results
Complexity 9
Duplication -4

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@StuartFerguson
StuartFerguson merged commit b02c47b into main Jul 14, 2026
6 checks passed
@github-actions
github-actions Bot deleted the bug/#759_reject_invalid_line_terminators branch September 13, 2026 02:39
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.

Reject whitespace-only line terminators in file profiles

1 participant