You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
L5-Swagger Version: 8.2.0 (composer show | grep l5-swagger)
PHP Version (php -v): PHP 7.4.3
OS: Ubuntu 20.04 lts
Description:
After a composer update, I got the new version of l5-swagger, but a strange error appeared.
I have a custom package that uses swagger comment annotations, but while doing the 'composer update' all the content of the blade files, where echoed to the console.
After that, an error appeared:
Symfony\Component\ErrorHandler\Error\FatalError
Cannot redeclare Composer\Autoload\includeFile() (previously declared in /.............../vendor/composer/ClassLoader.php:478)
The text was updated successfully, but these errors were encountered:
Updating your dependencies should help. This is caused by a version of swagger-php that actively loads files to ensure the contained classes are available for reflection.
However, if your files are blade template files this might still not work as expected, as swagger-php v4 requires annotations to be associated with a class/interface/etc. in order to have a 'hook' for reflection.
Annotations that do not 'annotate' something will no longer work.
composer show | grep l5-swagger
)php -v
): PHP 7.4.3Description:
After a composer update, I got the new version of l5-swagger, but a strange error appeared.
I have a custom package that uses swagger comment annotations, but while doing the 'composer update' all the content of the blade files, where echoed to the console.
After that, an error appeared:
Symfony\Component\ErrorHandler\Error\FatalError
Cannot redeclare Composer\Autoload\includeFile() (previously declared in /.............../vendor/composer/ClassLoader.php:478)
The text was updated successfully, but these errors were encountered: