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 'phpDocumentor\Reflection\DocBlockFactory' not found #168

Closed
shakaran opened this issue Sep 21, 2016 · 3 comments
Closed

Class 'phpDocumentor\Reflection\DocBlockFactory' not found #168

shakaran opened this issue Sep 21, 2016 · 3 comments
Assignees
Labels

Comments

@shakaran
Copy link
Contributor

Related with issue #145 in experimental branch:

PHP Fatal error:  Uncaught Error: Class 'phpDocumentor\Reflection\DocBlockFactory' not found in myproject/vendor/googleads/googleads-php-lib/src/Google/AdsApi/AdWords/AdWordsNormalizer.php:85
Stack trace:
#0 myproject/vendor/googleads/googleads-php-lib/src/Google/AdsApi/AdWords/BatchJobs/v201607/BatchJobs.php(75): Google\AdsApi\AdWords\AdWordsNormalizer->__construct(NULL, Object(Google\AdsApi\AdWords\BatchJobs\DotRemoverNameConverter))
#1 myproject/index.php(179): Google\AdsApi\AdWords\BatchJobs\v201607\BatchJobs->__construct()
#2 {main}
  thrown in myproject/vendor/googleads/googleads-php-lib/src/Google/AdsApi/AdWords/AdWordsNormalizer.php on line 85

It seems that the dependency phpdocumentor is not added in composer.json:

composer require phpdocumentor/phpdocumentor

Running that command doesn't solve for me the bug, so, I don't know how to autoload that.

@shakaran
Copy link
Contributor Author

The right package missing seems to be:

composer require phpdocumentor/reflection-docblock

@fiboknacky
Copy link
Member

We'll fix this soon.

fiboknacky added a commit that referenced this issue Sep 22, 2016
Require phpdocumentor/reflection-docblock in composer.json. Fixes #168
@vtsao
Copy link
Contributor

vtsao commented Dec 22, 2016

Fixed with https://github.com/googleads/googleads-php-lib/releases/tag/25.0.0.

@vtsao vtsao closed this as completed Dec 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants