Skip to content

Search limit implementation is wrong #69

@garak

Description

@garak

Search method in Client has a wrong implementation for limit (my bad, since it's an implementation of mine)
The next response from packagist is an URL, like for example https://packagist.org/search.json?q=symfony&page=2 and not simply the page itself.
So, the current comparison response['next'] <= $limit is meaningless, and always false.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions