Closed majuca closed 5 months ago
It looks like maybe something broke in nikic/php-parser, but that would be very strange. Could you try composer show nikic/php-parser
>
Hi,
Please find the result ofcomposer show nikic/php-parser:
name : nikic/php-parser
descrip. : A PHP parser written in PHP
keywords : parser, php
versions : * v4.18.0
type : library
license : BSD 3-Clause "New" or "Revised" License (BSD-3-Clause) (OSI approved) https://spdx.org/licenses/BSD-3-Clause.html#licenseText
homepage :
source : [git] https://github.com/nikic/PHP-Parser.git 1bcbb2179f97633e98bbbc87044ee2611c7d7999
dist : [zip] https://api.github.com/repos/nikic/PHP-Parser/zipball/1bcbb2179f97633e98bbbc87044ee2611c7d7999 1bcbb2179f97633e98bbbc87044ee2611c7d7999
path : /var/www/html/vysualapi/vendor/nikic/php-parser
names : nikic/php-parser
support
issues : https://github.com/nikic/PHP-Parser/issues
source : https://github.com/nikic/PHP-Parser/tree/v4.18.0
autoload
psr-4
PhpParser\ => lib/PhpParser
requires
ext-tokenizer *
php >=7.0
requires (dev)
ircmaxell/php-yacc ^0.0.7
phpunit/phpunit ^6.5 || ^7.0 || ^8.0 || ^9.0
The problem was in my configuration. Sorry for this.
@majuca hi I have the same problem may I ask you what is problem was in your configuration?
@AmjadGhzlangit
I was just encountering this issue on knuckleswtf/scribe 4.30.1 so I downgraded to 4.29.0 which also brought nikic/php-parser down to 4.18.0 and the issue was resolved.
Thanks everyone. It should be fixed now. v4.32.0 has been released with support for php-parser v5; if that doesn't work for you, try v4.31.0 which supports v4.
Scribe version
4.29.0
PHP version
8.0.30
Framework
Laravel
Framework version
v9.52.16
Scribe config
What happened?
Hi,
SInce today and after a composer update, I obtain the followin error when a generate the api documentation:
My composer.json:
Any idee?
Docs