-
Notifications
You must be signed in to change notification settings - Fork 107
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
Replace all pagination with Filter classes #263
Conversation
Signed-off-by: Joshua Gigg <[email protected]>
Continuation of #259
I force pushed to try to get rid of some of the unrelated commits, but I think the pipeline is from before. CS Fixer runs fine locally |
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.
minor touches to make, I improved the code style but now phpstan is still complaining about something, is the status of this build visible to you?
Both PHPStan failures are because |
Codecov Report
@@ Coverage Diff @@
## master #263 +/- ##
============================================
- Coverage 99.82% 99.80% -0.03%
- Complexity 1539 1542 +3
============================================
Files 252 253 +1
Lines 4479 4503 +24
============================================
+ Hits 4471 4494 +23
- Misses 8 9 +1
Continue to review full report at Codecov.
|
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.
Thanks 🍻 🍸
@@ -144,7 +143,7 @@ public function versionCount(string $packageId): int | |||
/** | |||
* @return Version[] | |||
*/ | |||
public function getVersions(string $packageId, int $limit = 20, int $offset = 0): array | |||
public function getVersions(string $packageId, \Buddy\Repman\Query\Filter $filter): array |
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 wonder if we can somehow automate the detection of this notation?
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.
Possibly 'fully_qualified_strict_types', but it looks like that only works when the use statement is there in the first place
Thanks @giggsey for your work 🍻 |
Continuation of #259