Skip to content

Avoid Jane-php deprecations.#65

Merged
flavioheleno merged 1 commit into
beluga-php:masterfrom
rodrigoaguilera:deprecations
Feb 17, 2024
Merged

Avoid Jane-php deprecations.#65
flavioheleno merged 1 commit into
beluga-php:masterfrom
rodrigoaguilera:deprecations

Conversation

@rodrigoaguilera
Copy link
Copy Markdown
Collaborator

When I run Docker\Docker::create() I get

ERROR: Since jane-php/open-api-common 7.3: Using Docker\API\Runtime\Client\Client::Docker\API\Runtime\Client\Client::executeEndpoint method with $fetch parameter equals to response is deprecated, use Docker\API\Runtime\Client\Client::executeRawEndpoint instead. 
in /home/basin/vendor/symfony/deprecation-contracts/function.php:25

Because of the code that checks for bad messages when the client is created.

This change follows the indication of the deprecation message to use executeRawEndpoint. Please review

@sonarqubecloud
Copy link
Copy Markdown

Quality Gate Passed Quality Gate passed

Issues
0 New issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@flavioheleno
Copy link
Copy Markdown
Member

Great catch!

@flavioheleno flavioheleno merged commit 0d2de47 into beluga-php:master Feb 17, 2024
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