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

Feature/next #6

Open
wants to merge 12 commits into
base: master
Choose a base branch
from
Open

Feature/next #6

wants to merge 12 commits into from

Conversation

JustSteveKing
Copy link
Contributor

This PR introduced the next stable release, utilising PSR standards and as much flexibility as possible.

Some logic has been abstracted to another package to reduce code duplication.

"php": "^8.1",
"php-http/client-common": "^2.6",
"php-http/discovery": "^1.15.2",
"php-http/mock-client": "^1.5",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this maybe a dev dependency (assuming it's only used in tests)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The mock-client is only used in tests, but the others are used in the actual code type hinted - but also used for autodiscovery of libraries suitable

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could move php-http/mock-client to require-dev section if it's only used in tests to avoid installing it for projects?

composer.json Outdated Show resolved Hide resolved
</testsuites>
<coverage>
<include>
<directory suffix=".php">./app</directory>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a plan for this dir to be added? Can't find it now so maybe it's a leftover

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah this should be removed!

Co-authored-by: Zoran Antolović <[email protected]>
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.

2 participants