Skip to content

Develop #4

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 2 commits into from
Oct 25, 2024
Merged

Develop #4

merged 2 commits into from
Oct 25, 2024

Conversation

walmir-silva
Copy link
Contributor

No description provided.

BREAKING CHANGE: Simplify validation result handling by removing factory and processor patterns.

Changes:

File Structure Changes:
- Move ValidationResult to Result namespace
- Remove ValidationResultFactory
- Remove ValidationResultProcessor
- Update test organization

Removed Components:
- src/Contract/ValidationResultFactory.php
- src/Contract/ValidationResultProcessor.php
- src/Processor/DefaultValidationResultProcessor.php
- tests/Processor/DefaultValidationResultProcessorTest.php
- tests/ValidationResultTest.php

Test Updates:
- Move validation result tests to Result namespace
- Update validator tests for new structure
- Update application test files

The changes simplify the validation result handling by:
- Removing unnecessary abstraction layers
- Providing direct result management
Add comprehensive test coverage for reset functionality.
@walmir-silva walmir-silva merged commit 6bcb670 into main Oct 25, 2024
1 check passed
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.

1 participant