-
-
Notifications
You must be signed in to change notification settings - Fork 509
Support expr in queries #2343
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
Open
vincent-le-henaff
wants to merge
35
commits into
doctrine:2.10.x
Choose a base branch
from
vincent-le-henaff:support-expr-in-queries
base: 2.10.x
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Support expr in queries #2343
Changes from 32 commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
5264e26
+ implement $expr operator as exprOp method for query and aggregation…
4725c19
* fix MatchStage expr revision introduced bug
0a38fa5
+ add exprOp test
c319eca
+ fix exprOp test
7ba6315
+ fix exprOp test
61aafa3
Merge remote-tracking branch 'origin/2.3.x' into support-expr-in-queries
06a95f1
+ update methods name refactoring as suggested in PR #2343 (exprOr to…
3de0efb
Merge branch '2.3.x' into support-expr-in-queries
fe79bbd
+ used phpcbf on /lib
898ce49
+ used phpcbf on /tests
5b6a368
+ implement $expr operator as exprOp method for query and aggregation…
e865bd0
* fix MatchStage expr revision introduced bug
4285401
+ add exprOp test
eece492
+ fix exprOp test
8e4ea1b
+ fix exprOp test
ccaa1a4
+ update methods name refactoring as suggested in PR #2343 (exprOr to…
110375e
+ rebase on newer 2.3.x
caf12dd
Merge remote-tracking branch 'fork/support-expr-in-queries' into supp…
d1660cd
- remove test on previously removed method (aggregationExpression)
0b458de
+ implement $expr operator as exprOp method for query and aggregation…
839adc2
* fix MatchStage expr revision introduced bug
fb14785
+ add exprOp test
906d5bc
+ fix exprOp test
67e6913
+ fix exprOp test
b387bff
+ update methods name refactoring as suggested in PR #2343 (exprOr to…
372a27b
+ rebase on newer 2.3.x
9d5845c
+ used phpcbf on /tests
c30899b
- remove test on previously removed method (aggregationExpression)
a3dfb0d
+ minor documentation updates
vincent-le-henaff a9b8dd6
Merge remote-tracking branch 'origin/support-expr-in-queries' into su…
vincent-le-henaff 9746da5
+ applied vendor/bin/phpcbf
vincent-le-henaff a28c84c
+ minors fixes for vendor/bin/phpstan validation
vincent-le-henaff 771b43d
+ rollback some unexpected changes in previous commits
vincent-le-henaff eb60a6f
+ replaced Query\Builder::expr() calls to Query\Builder::createQueryE…
vincent-le-henaff b5b2a82
+ adding regexMatch to Aggretation
vincent-le-henaff File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,7 +22,7 @@ | |
{ "name": "Andreas Braun", "email": "[email protected]" } | ||
], | ||
"require": { | ||
"php": "^7.4 || ^8.0", | ||
"php": "^8.1", | ||
"ext-mongodb": "^1.5", | ||
"doctrine/annotations": "^1.12", | ||
"doctrine/cache": "^1.11 || ^2.0", | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Welcome back! 🎉
What happened here? We're definitely not going to make this bump for 2.5.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.
i roll it back, i skipped a bit of digging. And tought you were aiming 8.1 by using ReturnTypeWillChange attribute. And then i read a ref about this and saw it's design for backward compatibility xD
But i got the same error trigger localy as in the workflow about the "ReturnTypeWillChange does not exist", but after updating my php interpreter and extensions used for running phpstan/psalm localy thoses errors aren't triggered anymore. I doesn't have much knowledge around coding standard etc .. (i'm working alone for 15 years now, and unfortunatly doesn't had the occasion to pratice that part) So i'm reading a lot and try to finish this PR the correct way, but i'm really new to team work with this "level" of standard/workflow, and it's a bit rough :p, i'm currently reading psalm docs to not fucked up things. But i feel a bit out of my league on this whole subjects. Not sure i'm doing the correct way (and spam commits while i understand what i'm doing wrong or good xD)