I am receiving the “WARNING: This is a third-party command” noticed in the console when chaining commands. I understand why its done. Its related to this:
Is there a way to override this warning? The application and the component provided from /vendor will both be from the same provider. I would think that if the provider from both the application and the /vendor package are the same, then you should not get this warning?
There’s a related PR here.
Apparently, if you set the config option vendor-dir in composer.json under config to the directory the third-party command is in, the warning gets suppressed.
The way it works, as far as I understand it, is that it looks inside vendor-dir, vendor/laminas/, vendor/laminas-api-tools/ and vendor/mezzio/.
If the command does not lie within those folders, the warning is displayed.