Skip to content

test: fix phpunit-9.1 warnings #157

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Totktonada opened this issue May 15, 2020 · 0 comments
Closed

test: fix phpunit-9.1 warnings #157

Totktonada opened this issue May 15, 2020 · 0 comments

Comments

@Totktonada
Copy link
Member

There were 35 warnings:
1) DMLTest::test_16_hash_select
assertRegExp() is deprecated and will be removed in PHPUnit 10. Refactor your code to use assertMatchesRegularExpression() instead.
2) DMLTest::test_17_01_it_clienterror with data set #0 ('test_hash', 'EQ', '(Invalid key part|via a partial key)')
assertRegExp() is deprecated and will be removed in PHPUnit 10. Refactor your code to use assertMatchesRegularExpression() instead.

https://github.com/sebastianbergmann/phpunit/blob/7d1520684e8c951c6f1601f70643946997b77899/ChangeLog-9.1.md#910---2020-04-03

@Totktonada Totktonada added this to the Support PHP 7.* milestone May 15, 2020
@Totktonada Totktonada added the good first issue Good for newcomers label Aug 18, 2020
oleg-jukovec added a commit that referenced this issue Jun 24, 2024
The patch replaces `assertRegExp` with `assertMatchesRegularExpression`
because the first one is outdated.

Closes #157
oleg-jukovec added a commit that referenced this issue Jun 24, 2024
The patch replaces `assertRegExp` with `assertMatchesRegularExpression`
because the first one is outdated.

Closes #157
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants