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

Init #1

Merged
merged 25 commits into from
Mar 10, 2024
Merged

Init #1

merged 25 commits into from
Mar 10, 2024

Conversation

SmetDenis
Copy link
Member

No description provided.

Denis Smet added 22 commits March 10, 2024 15:00
- Updated CSV structure definition in full.yml
- Refactored error message concatenation in Error.php
- Renamed UnitFacing validator to CardinalDirection
- Updated ValidateFile command description
…ser.json

- Add full CSV schema examples in YAML, JSON, and PHP formats
- Update jbzoo/toolbox-dev to version 7.1 and add jbzoo/markdown to composer.json
Add spoiler functionality to README.md in order to show different file formats. This includes adding the PHP array as file, JSON format, and PHP code as spoilers. Also refactor the MiscTest.php to use a private helper method for generating spoiler.
…ats. Fix testCheckYmlSchemaExampleInReadme method to match updated title. Fix messages in MiscTest.
Refactored CSV validation methods to use ErrorSuite for better error handling and reporting. Updated validation logic for specific rules like min, max, regex, and format to provide more descriptive error messages. Updated the CsvFile's validate method to return an ErrorSuite.
- Refactor CsvFile constructor to improve readability by separating assignment statements for schema, structure, and reader.
- Add new methods to ErrorSuite for counting errors and retrieving error by index.
Fix typo in the file paths for schema examples in MiscTest.php tests to point to the correct file location.
…lay error messages with details. If no errors are found, display "Looks good!" message.
Renamed workflow from "CI" to "Demo" to emphasize its focus on demonstrating features and use cases. Removed outdated or unused configuration options from the workflow file. Cleaned up commands and added a new command to run demo for GitHub. Updated README, composer.json, and other related files to reflect the changes being made to the workflow.
- Changed the make update command to remove --no-print-directory option for standard output consistency.
@SmetDenis SmetDenis changed the title Init commit Init Mar 10, 2024
@SmetDenis SmetDenis merged commit c95a9ad into master Mar 10, 2024
19 checks passed
@SmetDenis SmetDenis deleted the init branch March 10, 2024 22:34
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.

None yet

1 participant