Skip to content
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

Deprecate assertRegExp() #4086

Closed
sebastianbergmann opened this issue Feb 12, 2020 · 0 comments
Closed

Deprecate assertRegExp() #4086

sebastianbergmann opened this issue Feb 12, 2020 · 0 comments
Assignees
Labels
feature/assertion Issues related to assertions and expectations type/deprecation Something will be/is deprecated
Milestone

Comments

@sebastianbergmann
Copy link
Owner

assertMatchesRegularExpression() should be used instead.

@sebastianbergmann sebastianbergmann added type/backward-compatibility Something will be/is intentionally broken feature/assertion Issues related to assertions and expectations labels Feb 12, 2020
@sebastianbergmann sebastianbergmann added this to the PHPUnit 9.1 milestone Feb 12, 2020
@sebastianbergmann sebastianbergmann self-assigned this Feb 12, 2020
@sebastianbergmann sebastianbergmann added type/deprecation Something will be/is deprecated and removed type/backward-compatibility Something will be/is intentionally broken labels Feb 12, 2020
browner12 added a commit to browner12/swiftmailer that referenced this issue Sep 29, 2020
`assertRegExp()` --> `assertMatchesRegularExpression()`

this method has been deprecated and will be removed in PHPUnit 10

sebastianbergmann/phpunit#4086
fabpot added a commit to swiftmailer/swiftmailer that referenced this issue Sep 29, 2020
This PR was merged into the 6.3-dev branch.

Discussion
----------

don't use deprecated PHPUnit method

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| Doc update?   | no
| BC breaks?    | no
| Deprecations? | no
| Fixed tickets | N/A <!-- #-prefixed issue number(s), if any -->
| License       | MIT

`assertRegExp()` --> `assertMatchesRegularExpression()`

this method has been deprecated and will be removed in PHPUnit 10

sebastianbergmann/phpunit#4086

Commits
-------

859a6e9 don't use deprecated PHPUnit method
jmontoyaa added a commit to jmontoyaa/docs that referenced this issue Jun 8, 2021
pH-7 added a commit to pH-7/simple-podcast-generator that referenced this issue Jan 1, 2022
pH-7 added a commit to pH7Software/pH7-Social-Dating-CMS that referenced this issue Jan 2, 2022
oppara added a commit to oppara/dotfiles that referenced this issue May 22, 2024
markovlatkovic pushed a commit to markovlatkovic/swiftmailer that referenced this issue May 24, 2024
`assertRegExp()` --> `assertMatchesRegularExpression()`

this method has been deprecated and will be removed in PHPUnit 10

sebastianbergmann/phpunit#4086
markovlatkovic added a commit to markovlatkovic/swiftmailer that referenced this issue May 24, 2024
This PR was merged into the 6.3-dev branch.

Discussion
----------

don't use deprecated PHPUnit method

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| Doc update?   | no
| BC breaks?    | no
| Deprecations? | no
| Fixed tickets | N/A <!-- #-prefixed issue number(s), if any -->
| License       | MIT

`assertRegExp()` --> `assertMatchesRegularExpression()`

this method has been deprecated and will be removed in PHPUnit 10

sebastianbergmann/phpunit#4086

Commits
-------

859a6e9 don't use deprecated PHPUnit method
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature/assertion Issues related to assertions and expectations type/deprecation Something will be/is deprecated
Projects
None yet
Development

No branches or pull requests

1 participant