feat: Create hello world template with to_snake_case function - #1
Draft
matapatos wants to merge 2 commits into
Draft
feat: Create hello world template with to_snake_case function#1matapatos wants to merge 2 commits into
matapatos wants to merge 2 commits into
Conversation
- Add template_ext.c and template_ext.h with hello_world() and pascal_triangle() functions - Configure config.m4 for template_ext extension - Add C unit tests using TEST_CASE and TEST_MATRIX macros - Include PHP integration tests with PestPHP - Keep Taskfile, Ceedling, and PestPHP configurations from validation-ext - Add stubs for PHP function signatures Closes #1 Co-authored-by: matapatos <matapatos@users.noreply.github.com>
- Remove hello_world and pascal_triangle functions - Add to_snake() function for string to snake_case conversion - Update C unit tests with TEST_CASE and TEST_MATRIX for to_snake - Update PHP integration tests with PestPHP - Update minimum PHP version to 8.1 - Update documentation and examples Closes #2 Co-authored-by: matapatos <matapatos@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Files Changed
template_ext.c- Main extension source with to_snake() functiontemplate_ext.h- Header file with function declarationsconfig.m4- PHP extension configurationcomposer.json- Updated PHP requirement to ^8.1Taskfile.yml- Task runner configurationproject.yml- Ceedling test configurationtests/c/test_to_snake.c- C unit tests with TEST_CASE and TEST_MATRIXtests/c/support/test_helpers.c- Test helper functionstests/c/support/test_helpers.h- Test helper headerstests/php/Integration/ToSnakeTest.php- PHP integration teststests/php/Pest.php- PestPHP bootstrapstubs/functions.stub.php- PHP function stubsREADME.md- Updated documentationTesting
Closes #1