Skip to content

GitHub Actions: Use new PHP workflow#442

Merged
lippserd merged 7 commits into
mainfrom
php-workflow
Jan 20, 2026
Merged

GitHub Actions: Use new PHP workflow#442
lippserd merged 7 commits into
mainfrom
php-workflow

Conversation

@sukhwinder33445
Copy link
Copy Markdown
Contributor

@sukhwinder33445 sukhwinder33445 commented Dec 15, 2025

This PR switches to the new PHP workflow, which combines linting, static analysis, and unit testing. phpcs.xml and phpunit.xml have been removed, as the new workflow provides sane defaults for both and the files did not contain any special configurations anyway. Since the new workflow uses the latest PHPUnit version by default, deprecated PHPUnit features have been migrated. In addition, code style corrections were made to comply with the latest PSR coding standards.

  • After merging, @lippserd will update the branch protection required status checks to match the new workflow.

- Remove obsolete workflow trigger for `release/*` branch pushes
- Run workflow on push to branch `support/*`
Use defaults from new workflows.
Allow GitHub Actions to run for every pull request instead of only main-based pull requests
@sukhwinder33445 sukhwinder33445 self-assigned this Dec 15, 2025
@cla-bot cla-bot Bot added the cla/signed CLA is signed by all contributors of a PR label Dec 15, 2025
It is used as DataProvider in unit-tests and `>=phpUnit10` requires it to be static.
ref https://docs.phpunit.de/en/10.5/writing-tests-for-phpunit.html#data-providers
@sukhwinder33445 sukhwinder33445 mentioned this pull request Jan 15, 2026
@sukhwinder33445 sukhwinder33445 force-pushed the php-workflow branch 2 times, most recently from 12bba13 to 41d8a6d Compare January 15, 2026 13:42
@sukhwinder33445 sukhwinder33445 force-pushed the php-workflow branch 11 times, most recently from 91cd998 to 903b88b Compare January 16, 2026 08:15
@lippserd lippserd force-pushed the php-workflow branch 7 times, most recently from 2a2d472 to a7400ef Compare January 16, 2026 13:55
@lippserd lippserd merged commit f0a5717 into main Jan 20, 2026
21 of 25 checks passed
@lippserd lippserd deleted the php-workflow branch January 20, 2026 12:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla/signed CLA is signed by all contributors of a PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants