Thank you for contributing to Wiki Bundle.
This project follows the Contributor Covenant Code of Conduct. By participating, you are expected to uphold it. Please report unacceptable behavior to hectorfranco@nowo.tech.
make up
make install
make assets
make test
make test-tsDemo (Symfony 8 + FrankenPHP):
make -C demo/symfony8 up
# http://localhost:8025/tools/wiki| Command | Scope |
|---|---|
make qa |
PHP-CS-Fixer + PHPUnit |
make phpstan |
Static analysis (level 6 + baseline) |
make test-coverage-100 |
PHPUnit with 100% line threshold |
make test-ts |
Vitest (wiki.ts) |
make release-check |
Full pre-release pipeline |
Run make release-check before tagging a release.
- Fork and branch from
main. - Add or update tests for behaviour changes (target 100% PHP coverage on
src/). - Run
make cs-fixandmake testbefore opening the PR. - Update
docs/CHANGELOG.mdunder[Unreleased]. - Use the PR template and link related issues.
- User-facing changes:
README.mdanddocs/. - Security:
docs/SECURITY.mdand.github/SECURITY.md. - Breaking changes:
docs/UPGRADING.mdand a new section inCHANGELOG.md.
- PHP: PSR-12 via PHP-CS-Fixer; PHPStan per
phpstan.neon.dist. - TypeScript:
src/Resources/assets/src/; runmake test-tsafter changes. - Comments and PHPDoc: English (see
BUNDLES_FULL_SPECS_CHECKLIST.md).
Do not add Co-authored-by: Cursor or cursoragent@cursor.com trailers to commit messages.
make setup-hooks
make check-no-cursor-coauthormake setup-hooks installs .githooks/commit-msg (or sets core.hooksPath to .githooks). Run it once per clone before your first commit.
If CI fails because trailers are already on the remote, see GITHUB_CI.md (REQ-GIT-001) and run make strip-cursor-coauthor-from-history before git push --force-with-lease.
By contributing, you agree that your contributions will be licensed under the MIT License.