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

«Class "GPBMetadata\<...>" not found» #8

Closed
dmitrii-fediuk opened this issue Aug 4, 2023 · 1 comment
Closed

«Class "GPBMetadata\<...>" not found» #8

dmitrii-fediuk opened this issue Aug 4, 2023 · 1 comment

Comments

@dmitrii-fediuk
Copy link
Member

dmitrii-fediuk commented Aug 4, 2023

#5, #7, #10

@dmitrii-fediuk
Copy link
Member Author

dmitrii-fediuk commented Aug 4, 2023

The #7 problem is caused by google/common-protos ≥ 4.

It is reproduced with PHP ≥ 7.4:

composer require google/cloud-vision:"*"
require_once 'vendor/autoload.php';
echo class_exists(\GPBMetadata\Google\Api\Annotations::class) . "\n"; # OK
echo class_exists(\GPBMetadata\Google\Api\Http::class); # Error

The #5 problem is caused by google/cloud-vision ≥ 1.3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant