Skip to content

chore: update phpunit/phpunit 8.5.52#12690

Merged
ewaostrowska merged 1 commit intomasterfrom
fix-pipeline
Mar 12, 2026
Merged

chore: update phpunit/phpunit 8.5.52#12690
ewaostrowska merged 1 commit intomasterfrom
fix-pipeline

Conversation

@ewaostrowska
Copy link
Contributor

The changes mainly focus on updating PHPUnit usage in generated test files and clarifying PHP version requirements.

PHPUnit compatibility and modernization:

  • Updated the base test class in api_test.mustache and model_test.mustache to use \PHPUnit\Framework\TestCase instead of the deprecated \PHPUnit_Framework_TestCase, and added type hints to setup and teardown methods for better code quality and compatibility with PHPUnit 8+.
  • Updated the development dependency for PHPUnit in composer.mustache from version ^4.8 to ^8.5.52, ensuring tests run with a more recent PHPUnit version.

Documentation update:

  • Added a note to the README.mustache clarifying that running tests requires PHP 7.2 or later, even though the runtime library supports PHP 5.5 and later.

@ewaostrowska ewaostrowska merged commit b9aa307 into master Mar 12, 2026
15 of 16 checks passed
@ewaostrowska ewaostrowska deleted the fix-pipeline branch March 12, 2026 10:07
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