-
Notifications
You must be signed in to change notification settings - Fork 733
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
Add MatchQuery class for forward compat #1898
Conversation
@@ -8,6 +8,8 @@ | |||
* @author F21 | |||
* @author WONG Wing Lun <luiges90@gmail.com> | |||
* | |||
* @deprecated since version 6.1.2, use the MatchQuery class instead. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Guessed that 6.1.2 would be the next release of 6.x..
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
Could you add a changelog?
* This class is for forward compatibility reasons. For PHP 8 and above use MatchQuery as Match is reserved. | ||
*/ | ||
class MatchQuery extends Match | ||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well, this is embarrassing. And apparently CI didn't pick this up.
This isn't valid PHP, there's a missing }
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes CI didn't pick it on 6.x as it was broken when Travis stopped testing when quota was reached.
On 7.x CI was migrated to github action.
Follows up ruflin#1898
Follows up ruflin#1898
Fixes #1879