-
Notifications
You must be signed in to change notification settings - Fork 0
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
Update terminal width for GitHub actions and adjust schema examples #24
Commits on Mar 14, 2024
-
Update terminal width for GitHub actions and adjust schema examples
This commit adjusts the terminal width configuration in ErrorSuite.php specifically for GitHub actions by adding a condition to set the maximum width to 150. Furthermore, the order of "str_ends_with" and "str_starts_with" properties in full.yml schema example file have been switched. Relevant changes are also echoed in the README.md file.
Denis Smet committedMar 14, 2024 Configuration menu - View commit details
-
Copy full SHA for a91cc5b - Browse repository at this point
Copy the full SHA a91cc5bView commit details -
Rearrange string properties in schema examples
The order of "str_ends_with" and "str_starts_with" properties in both full.json and full.php has been swapped for consistency and clarity. The README.md documentation has been updated to reflect these modifications in the schema examples.
Denis Smet committedMar 14, 2024 Configuration menu - View commit details
-
Copy full SHA for d321083 - Browse repository at this point
Copy the full SHA d321083View commit details -
Update usage syntax in Github Actions test and README
The usage syntax for csv-blueprint has been updated in the GithubActionsTest.php and README.md file to specify 'master' branch. This ensures that users always fetch the latest version when using the csv-blueprint action.
Denis Smet committedMar 14, 2024 Configuration menu - View commit details
-
Copy full SHA for 8031c90 - Browse repository at this point
Copy the full SHA 8031c90View commit details -
Refine terminal width determination and add Docker environment check
The terminal width determination code in ErrorSuite.php has been updated to include a check for a Docker environment. Additionally, utility methods for checking the Docker environment and Github Actions have been added in Utils.php for reusability. These changes will help refine terminal width estimates and enhance code organization.
Denis Smet committedMar 14, 2024 Configuration menu - View commit details
-
Copy full SHA for c8d292e - Browse repository at this point
Copy the full SHA c8d292eView commit details -
Refine terminal width determination and add Docker environment check
The terminal width determination code in ErrorSuite.php has been updated to consider Docker environments. A new method, autoDetectTerminalWidth(), has been added for this functionality. Furthermore, in Utils.php, the isGithubActions() now includes a Docker environment check ensuring the functionality considers both contexts. This enhances reusability and precision in terminal width estimation.
Denis Smet committedMar 14, 2024 Configuration menu - View commit details
-
Copy full SHA for db657c2 - Browse repository at this point
Copy the full SHA db657c2View commit details -
Refactor string validation rules and terminal width determination
String validation rules 'str_starts_with' and 'str_ends_with' were renamed to 'starts_with' and 'ends_with' for brevity and consistency. Also, a new utilitarian method named 'autoDetectTerminalWidth' was introduced to accurately estimate terminal width based on the execution environment. The code now takes into account wider terminal widths in Docker and GitHub actions environments.
Denis Smet committedMar 14, 2024 Configuration menu - View commit details
-
Copy full SHA for ec96c1d - Browse repository at this point
Copy the full SHA ec96c1dView commit details -
Increase terminal width detection for Docker
The maximum auto-detected terminal width is adjusted for Docker containers from 120 characters to 140 characters. This considers the possibility of wider terminals in Docker environments, ensuring that the terminal output better accommodates for additional space.
Denis Smet committedMar 14, 2024 Configuration menu - View commit details
-
Copy full SHA for b40827d - Browse repository at this point
Copy the full SHA b40827dView commit details -
Denis Smet committed
Mar 14, 2024 Configuration menu - View commit details
-
Copy full SHA for 1883bd9 - Browse repository at this point
Copy the full SHA 1883bd9View commit details -
terminal width auto-detection optimization
Removed the assignment of the terminal width auto-detection to a variable in ErrorSuite.php and instead directly used it in the limit calculation. To improve clarity and maintain cleanliness of the code, comments related to terminal width auto-detection fall back have been moved to inside the autoDetectTerminalWidth function in Utils.php.
Denis Smet committedMar 14, 2024 Configuration menu - View commit details
-
Copy full SHA for 8d19227 - Browse repository at this point
Copy the full SHA 8d19227View commit details