-
-
Notifications
You must be signed in to change notification settings - Fork 100
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Improve the requirement checker detection (#1247)
- Leverage a new class `RequirementsBuilder` to facilitate the collection of the requirements, making the collecting code more readable. - Add unique checks and sorting to the builder to stabilize the output - Fix the computed requirements when both the `composer.json` and `composer.lock` are found This PR is not ideal in the sense that it combines a refactoring with an improvement and a fix, but unfortunately the offending code is too hard to deal with to make it worth to split the work any further.
- Loading branch information
Showing
7 changed files
with
582 additions
and
153 deletions.
There are no files selected for viewing
This file contains 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 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 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
Oops, something went wrong.