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
Summary
When trying to run this plugin for the first time, I received a fatal error complaining about symfony/console. It looks like there might be a dependency on symfony/console that is not listed as a requirement?
Note that this only seems to be an issue with the table format (which is the default output). If I run composer check-licenses -f json, the plugin works as expected.
To Reproduce
Install this plugin in a project either without symfony installed, or with symfony 4.4.* installed
Run composer check-licenses
Stack Trace
PHP Fatal error: Uncaught Error: Call to undefined method Symfony\Component\Console\Helper\TableStyle::setVerticalBorderChars() in vendor/metasyntactical/composer-plugin-license-check/src/Command/CheckLicensesCommand.php:70
Stack trace:
#0 phar:///usr/local/bin/composer/vendor/symfony/console/Command/Command.php(245): Metasyntactical\Composer\LicenseCheck\Command\CheckLicensesCommand->execute()
#1 phar:///usr/local/bin/composer/vendor/symfony/console/Application.php(835): Symfony\Component\Console\Command\Command->run()
#2 phar:///usr/local/bin/composer/vendor/symfony/console/Application.php(185): Symfony\Component\Console\Application->doRunCommand()
#3 phar:///usr/local/bin/composer/src/Composer/Console/Application.php(310): Symfony\Component\Console\Application->doRun()
#4 phar:///usr/local/bin/composer/vendor/symfony/console/Application.php(117): Composer\Console\Application->doRun()
#5 phar:///usr/local/bin/composer/src/Composer/Console/Application.php(122): Symfony\Component\Console\Application->run()
#6 phar:// in vendor/metasyntactical/composer-plugin-license-check/src/Command/CheckLicensesCommand.php on line 70
The text was updated successfully, but these errors were encountered:
Summary
When trying to run this plugin for the first time, I received a fatal error complaining about symfony/console. It looks like there might be a dependency on symfony/console that is not listed as a requirement?
Note that this only seems to be an issue with the table format (which is the default output). If I run
composer check-licenses -f json
, the plugin works as expected.To Reproduce
composer check-licenses
Stack Trace
The text was updated successfully, but these errors were encountered: