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

Better-Reflection dev-master#c87d856 is no more working #1046

Closed
vipinjn24 opened this issue Jun 1, 2018 · 6 comments
Closed

Better-Reflection dev-master#c87d856 is no more working #1046

vipinjn24 opened this issue Jun 1, 2018 · 6 comments

Comments

@vipinjn24
Copy link

vipinjn24 commented Jun 1, 2018

"roave/better-reflection": "dev-master#c87d856" is no more working and we have to use below.

"roave/better-reflection": "dev-master"

Please create a new PR to update the readme.md

@dimabory
Copy link

dimabory commented Jul 11, 2018

"roave/better-reflection": "dev-master#ce9d784" worked for me

created pull request #1052

@simpsonw
Copy link

"roave/better-reflection": "dev-master#c87d856" and "apigen/apigen": "dev-master" don't appear to be working for me:

$ vendor/bin/apigen generate src/ --destination docs/apigen/
Parsing reflections (this may take a while)...PHP Fatal error:  Uncaught TypeError: Argument 1 passed to Roave\BetterReflection\SourceLocator\Reflection\SourceStubber::addDocComment() must be an instance of PhpParser\BuilderAbstract, instance of PhpParser\Builder\Interface_ given, called in /var/www/html/project/vendor/roave/better-reflection/src/SourceLocator/Reflection/SourceStubber.php on line 63 and defined in /var/www/html/ual-payments/vendor/roave/better-reflection/src/SourceLocator/Reflection/SourceStubber.php:97
Stack trace:
#0 /var/www/html/project/vendor/roave/better-reflection/src/SourceLocator/Reflection/SourceStubber.php(63): Roave\BetterReflection\SourceLocator\Reflection\SourceStubber->addDocComment(Object(PhpParser\Builder\Interface_), Object(ReflectionClass))
#1 /var/www/html/project/vendor/roave/better-reflection/src/SourceLocator/Type/PhpInternalSourceLocator.php(53): Roave\BetterReflection\SourceLocator\Reflection\SourceStubber->__invoke(Object(ReflectionClass))
#2 /var/www/html/project/vendor/roave/better-reflection/src/SourceLocat in /var/www/html/ual-payments/vendor/roave/better-reflection/src/SourceLocator/Reflection/SourceStubber.php on line 97

Using "roave/better-reflection": "dev-master" gives me an exception when I try to run composer update:

Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 0 installs, 1 update, 0 removals

                                                                 
  [InvalidArgumentException]                                     
  Package is not installed: roave/better-reflection-9999999-dev  
                                                                 

update [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--lock] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--no-suggest] [
--with-dependencies] [--with-all-dependencies] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--ignore-platform-reqs] 
[--prefer-stable] [--prefer-lowest] [-i|--interactive] [--root-reqs] [--] [<packages>]...

@giansalex
Copy link

"roave/better-reflection": "dev-master#ce9d784" worked for me

@mirko-pagliai
Copy link

"roave/better-reflection": "dev-master#ce9d784" does not work anymore.

This time the conflict between the dependencies seems more complex.

@PSIKYO
Copy link

PSIKYO commented Jan 18, 2020

The sources in "\packages\BetterReflection\src\SourceLocator" should all be updated to catch up the newest "roave/better-reflection".

@JanTvrdik
Copy link
Member

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

No branches or pull requests

7 participants