Skip to content

simplify composer scripts#687

Merged
n0nag0n merged 1 commit intomasterfrom
simplify-composer-scripts
Mar 23, 2026
Merged

simplify composer scripts#687
n0nag0n merged 1 commit intomasterfrom
simplify-composer-scripts

Conversation

@fadrian06
Copy link
Contributor

This pull request updates the Composer scripts to streamline test commands, improve cross-platform compatibility, and simplify script definitions. The changes also update the GitHub Actions workflow to use the new test script. The most important changes are:

Testing Scripts and Workflow:

  • Replaced the test-ci script with the standard test script in the GitHub Actions workflow, so CI now uses composer test instead of composer test-ci. (.github/workflows/test.yml)
  • Simplified the test script to directly call phpunit instead of referencing the vendor binary, and removed the redundant test-ci script. (composer.json)
  • Updated the test-watcher script to attempt running phpunit-watcher and install it globally if not present, making it more robust for local development. (composer.json)

Cross-Platform and Script Improvements:

  • Refactored test server and coverage scripts to use array syntax for better readability and maintainability, and added a Windows-specific coverage script (test-coverage:win). (composer.json)
  • Simplified the beautify script to remove the coding standard specification, and updated post-install commands to use the @php prefix for consistency. (composer.json)

@n0nag0n n0nag0n merged commit 32a7b3e into master Mar 23, 2026
7 checks passed
@n0nag0n n0nag0n deleted the simplify-composer-scripts branch March 23, 2026 13:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants