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

New validation rules and formatting in error messages #101

Merged
merged 2 commits into from
Mar 27, 2024
Merged

Conversation

SmetDenis
Copy link
Member

The commit modifies validation rules in various schema examples (full.json, full.php, full.yml, full_clean.yml), such as changing the contains rule from "Hello" to "World". In addition, the formatting for the quartiles computation in the ComboQuartiles PHP file has been refined. Additional IPs and URL checks have been included as validation rules and existing rules have been re-ordered for better readability.

The commit modifies validation rules in various schema examples (full.json, full.php, full.yml, full_clean.yml), such as changing the contains rule from "Hello" to "World". In addition, the formatting for the quartiles computation in the ComboQuartiles PHP file has been refined. Additional IPs and URL checks have been included as validation rules and existing rules have been re-ordered for better readability.
@coveralls
Copy link

coveralls commented Mar 27, 2024

Pull Request Test Coverage Report for Build 8454871491

Details

  • 190 of 192 (98.96%) changed or added relevant lines in 32 files are covered.
  • 3 unchanged lines in 1 file lost coverage.
  • Overall coverage increased (+0.02%) to 95.896%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/Rules/AbstarctRule.php 8 10 80.0%
Files with Coverage Reduction New Missed Lines %
src/Rules/AbstarctRule.php 3 91.43%
Totals Coverage Status
Change from base Build 8444412930: 0.02%
Covered Lines: 2173
Relevant Lines: 2266

💛 - Coveralls

Refactored code to improve readability and maintainability by standardizing how lists are formatted in error messages and validation rules. This includes updates to the schema examples, and changes in the implementation of the Utils::printList method. The changes are also reflected in various validation rules and tests.
@SmetDenis SmetDenis changed the title New validation rules and formatting corrections New validation rules and formatting in error messages Mar 27, 2024
@SmetDenis SmetDenis merged commit a62c222 into master Mar 27, 2024
9 checks passed
@SmetDenis SmetDenis deleted the typos branch March 27, 2024 16:06
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