Review main Merged

77692[TASK] Migrate deprecated PHPUnit 9 methods

Nikita Hovratov CR +2 V +2 Normal +32 −31 updated 02/04/23, 10:29

Commit message

Since the recent release of PHPUnit 9.6 some new deprecations were added
which signal breaking changes for version 10. As deprecations are
causing our tests to fail, they need to be addressed immediately.

Method `expectErrorMessage` replaced with `expectExceptionMessage`.
Method `getMockClass` replaced with `createMock` and a subsequent
get_class call.

Also update phpunit/phpunit to latest version:
> composer update phpunit/phpunit
> composer bump phpunit/phpunit

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 8