Once upon a time, the popular Jenkins php-template was used to call every quality assurance tool maintained around PHPUnit and produce nice graphics.
Current work on Obsidian Workspaces is a nice opportunity to think about a modern pipeline.
That pipeline could:
- run tests with PHPUnit
- produce coverage report, let's try first phpunit -coverage-html before creating a tool to handle clover format
- produce API documentation
Things we're not really interested:
- phpcpd, never yield any result, not maintained
- phploc, as results aren't meaningful
- cyclometric complexity SVG graphs, don't bring value
Fun things we can do:
- https://marmelab.com/phpunit-d3-report/ but doesn't bring real value either
Everything ideally should occur with tools, without Jenkins plugins involved.
Priority set as high, because other PHP projects would benefit from this pipeline.