Feature/GitHub workflows #4
Merged
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.
This pull request introduces automated PHP coding standards enforcement and improves the test workflow configuration. The main changes include adding a GitHub Actions workflow for PHP CS Fixer, providing a project-specific configuration for code style, and refining the test workflow for clearer output and more targeted branch execution.
Automated code style enforcement:
.github/workflows/php-cs-fixer.ymlto automatically run PHP CS Fixer on every push, ensuring code adheres to defined standards and committing fixes automatically..php-cs-fixer.dist.phpconfiguration file specifying rules (e.g., PSR-12, short array syntax, import ordering) and directories/files to include or exclude from fixing.Test workflow improvements:
.github/workflows/tests.ymlto only trigger on pushes tomainanddevelopbranches and on pull requests, reducing unnecessary runs.--testdoxfor more readable test output.Code style consistency:
tests/database/migrations/create_articles_table.phpto comply with coding standards.