GithubHelp home page GithubHelp logo

composer-plugin-license-check's People

Contributors

dinamic avatar dkreuer avatar netwarex avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

bgehrels

composer-plugin-license-check's Issues

Table format output has unexpected symfony dependency

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

  1. Install this plugin in a project either without symfony installed, or with symfony 4.4.* installed
  2. 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

PHP 8 compatibility

Thanks for providing this plugin, i would really love to give it a try.

is there any reason this package has a php 7.4 requirement and not php 8? It would be great to open up the version range here.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.