Open Wirone opened 3 weeks ago
Either or :)
If you install the plugin, the phar file will be shipped. But at the moment the "plugin" really needs more love.
The idea for the plugin was to have it in the same way as phpstan and phpstan-src.
So with the plugin, you would install a composer plugin for composer unused
command and download the phar to avoid conflicts with other tooling-related dependencies.
But this didn't work properly in the past, as the symfony/console library for phar builds and the ones you installed were outdated. But this is solved now. So typically, in an ideal world - you only need the plugin to be installed :)
I get the idea behind the plugin (shim package + UX), I was just confused by the requirement of base package, since it looks superfluous in terms of running the tool (because bundled PHAR is used). The only reason I can think of is IDE support in config file, because symbols are provided by the base package.
There is requirement, which leads to problems during installation in projects that require
nikic/php-parser
v5:Is it actually needed to install base package along the plugin, even though the plugin uses bundled PHAR, which has base package's dependencies built-in?