Skip to content

Conflict with nikic/php-parser v5 #27

@shahmal1yev

Description

@shahmal1yev

Bug report category

  • Installation issue.
  • Feature issue.
  • Other. Please specify in Summary section

Summary

 shahmal1yev@shahmal1yev  /var/www/easypay   dev  php umlwriter.phar diagram:class -vvv src --bootstrap /var/www/easypay/vendor/autoload.php

Box Requirements Checker
========================

> Using PHP 8.3.7
> PHP is using the following php.ini file:
  /etc/php/8.3/cli/php.ini

> Checking Box requirements:
  ✔ This application requires a PHP version matching "^8.1".
  ✔ The package "roave/better-reflection" requires the extension "json".
  ✔ The package "nikic/php-parser" requires the extension "tokenizer".
  ✔ This application requires the extension "zlib".
  ✔ The package "jawira/plantuml-encoding" requires the extension "zlib".
  ✔ The package "symfony/service-contracts" conflicts with the extension "psr".
  
                                                                                                                                                                                                                                               
 [OK] Your system is ready to run the application.                                                                                                                                                                                             
                                                                                                                                                                                                                                               


UML Class Diagram Generation
============================

 --------------- ---------------------------------------------- 
  Path(s)         src                                           
  Generator       graphviz                                      
  Configuration   Default values and/or command line arguments  
 --------------- ---------------------------------------------- 

PHP Fatal error:  Uncaught Error: Call to undefined method PhpParser\ParserFactory::create() in phar:///var/www/easypay/umlwriter.phar/vendor/roave/better-reflection/src/BetterReflection.php:61
Stack trace:
#0 phar:///var/www/easypay/umlwriter.phar/vendor/roave/better-reflection/src/BetterReflection.php(69): Roave\BetterReflection\BetterReflection->phpParser()
#1 phar:///var/www/easypay/umlwriter.phar/src/Service/ClassDiagramRenderer.php(58): Roave\BetterReflection\BetterReflection->astLocator()
#2 phar:///var/www/easypay/umlwriter.phar/src/Console/Command/ClassDiagramCommand.php(120): Bartlett\UmlWriter\Service\ClassDiagramRenderer->__invoke()
#3 phar:///var/www/easypay/umlwriter.phar/vendor/symfony/console/Command/Command.php(326): Bartlett\UmlWriter\Console\Command\ClassDiagramCommand->execute()
#4 phar:///var/www/easypay/umlwriter.phar/vendor/symfony/console/Application.php(1078): Symfony\Component\Console\Command\Command->run()
#5 phar:///var/www/easypay/umlwriter.phar/vendor/symfony/console/Application.php(324): Symfony\Component\Console\Application->doRunCommand()
#6 phar:///var/www/easypay/umlwriter.phar/src/Console/Application.php(81): Symfony\Component\Console\Application->doRun()
#7 phar:///var/www/easypay/umlwriter.phar/vendor/symfony/console/Application.php(175): Bartlett\UmlWriter\Console\Application->doRun()
#8 phar:///var/www/easypay/umlwriter.phar/src/Console/Application.php(105): Symfony\Component\Console\Application->run()
#9 phar:///var/www/easypay/umlwriter.phar/bin/umlwriter(19): Bartlett\UmlWriter\Console\Application->run()
#10 /var/www/easypay/umlwriter.phar(43): require('...')
#11 {main}
  thrown in phar:///var/www/easypay/umlwriter.phar/vendor/roave/better-reflection/src/BetterReflection.php on line 61
 ✘ shahmal1yev@shahmal1yev  /var/www/easypay   dev  

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions