Skip to content

IBX-12606: Migrated the test suites to PHPUnit 11 - #13

Merged
konradoboza merged 1 commit into
6.0from
phpunit-11
Sep 16, 2026
Merged

konradoboza merged 1 commit into
6.0from
phpunit-11

Conversation

@ViniTou

@ViniTou ViniTou commented Sep 15, 2026

Copy link
Copy Markdown
Contributor
🎫 Issue IBX-12606
--- ---

Description:

  • Bumped phpunit/phpunit from ^9 to ^11.5 in composer.json (no symfony/phpunit-bridge, matthiasnoback/*, or dama/doctrine-test-bundle present in this repo — nothing else to bump).
  • Updated phpunit.xml.dist schema reference to 11.5 and added cacheDirectory=".phpunit.cache"; no other config changes were needed (--migrate-configuration reported the file did not need migrating — no deprecated attributes were present).
  • No <extensions><bootstrap SymfonyExtension/></extensions> added: the config had no <listeners> block and no clock/DNS-mock usage exists in the test suite.
  • Added .phpunit.cache/ to .gitignore (.phpunit.result.cache was already ignored).
  • No Rector pass needed and no hand fixes applied: the repo's own test suite (tests/rules/*Test.php) consists of 4 PHPStan RuleTestCase tests with no data providers, mocks, or deprecated PHPUnit APIs in the actual test code. A createMock() reference exists only inside a static-analysis fixture file (tests/rules/Fixtures/RequireConcreteTypeForMockReturnFixture.php) used as input to a PHPStan rule under test — it is not executable test code and was left untouched.

For QA:

N/A

Documentation:

N/A

@konradoboza
konradoboza merged commit da3302e into 6.0 Sep 16, 2026
6 checks passed
@konradoboza
konradoboza deleted the phpunit-11 branch September 16, 2026 12:36
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