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

Refactor code to handle CSV Parser Config within Schema class #145

Merged
merged 1 commit into from
Apr 4, 2024

Conversation

SmetDenis
Copy link
Member

The provided commit removes dependency on CsvParserConfig by transferring its methods and properties to the Schema class. This move centralizes configuration management, simplifying future maintenance. The CsvParserConfig class was deleted as a consequence, and several checks were updated to fetch data from the Schema instance directly, not via CsvParserConfig. Tests were also updated to reflect these changes.

The provided commit removes dependency on CsvParserConfig by transferring its methods and properties to the Schema class. This move centralizes configuration management, simplifying future maintenance. The CsvParserConfig class was deleted as a consequence, and several checks were updated to fetch data from the Schema instance directly, not via CsvParserConfig. Tests were also updated to reflect these changes.
@SmetDenis SmetDenis merged commit a6c3545 into master Apr 4, 2024
10 checks passed
@SmetDenis SmetDenis deleted the inherit branch April 4, 2024 18:48
@coveralls
Copy link

Pull Request Test Coverage Report for Build 8559763904

Details

  • 47 of 56 (83.93%) changed or added relevant lines in 4 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.07%) to 96.897%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/Schema.php 37 46 80.43%
Totals Coverage Status
Change from base Build 8552903324: 0.07%
Covered Lines: 2904
Relevant Lines: 2997

💛 - Coveralls

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants