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

Add MatchQuery class for forward compat #1898

Merged
merged 2 commits into from
Feb 15, 2021
Merged

Conversation

reedy
Copy link
Contributor

@reedy reedy commented Feb 11, 2021

Fixes #1879

@@ -8,6 +8,8 @@
* @author F21
* @author WONG Wing Lun <luiges90@gmail.com>
*
* @deprecated since version 6.1.2, use the MatchQuery class instead.
Copy link
Contributor Author

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..

Copy link
Collaborator

@deguif deguif left a 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?

@deguif deguif merged commit 16f2ff7 into ruflin:6.x Feb 15, 2021
* This class is for forward compatibility reasons. For PHP 8 and above use MatchQuery as Match is reserved.
*/
class MatchQuery extends Match
{
Copy link
Contributor Author

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 }

Copy link
Collaborator

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.

reedy added a commit to reedy/Elastica that referenced this pull request Feb 16, 2021
reedy added a commit to reedy/Elastica that referenced this pull request Feb 16, 2021
deguif pushed a commit that referenced this pull request Feb 16, 2021
@reedy reedy deleted the MatchQuery6x branch September 23, 2021 07:00
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.

3 participants