*/ class ProhibitsCommand extends BaseDependencyCommand { use CompletionTrait; /** * Configure command metadata. */ protected function configure(): void { $this ->setName('prohibits') ->setAliases(['why-not']) ->setDescription('Shows which packages prevent the given package from being installed') ->setDefinition([ new InputArgument(self::ARGUMENT_PACKAGE, InputArgument::REQUIRED, 'Package to inspect', null, $this->suggestAvailablePackage()), new InputArgument(self::ARGUMENT_CONSTRAINT, InputArgument::REQUIRED, 'Version constraint, which version you expected to be installed'), new InputOption(self::OPTION_RECURSIVE, 'r', InputOption::VALUE_NONE, 'Recursively resolves up to the root package'), new InputOption(self::OPTION_TREE, 't', InputOption::VALUE_NONE, 'Prints the results as a nested tree'), new InputOption('locked', null, InputOption::VALUE_NONE, 'Read dependency information from composer.lock'), ]) ->setHelp( "Displays detailed information about why a package cannot be installed.\n\nphp composer.phar prohibits composer/composer\n\nRead more at https://getcomposer.org/doc/03-cli.md#prohibits-why-not" ) ; } protected function execute(InputInterface $input, OutputInterface $output): int { return parent::doExecute($input, $output, true); } } __halt_compiler();----SIGNATURE:----Y42e9dLkto5nzsZIO1LLYj0oZup2W7zt12+EJM0WJXor9ZRg9ZxEAuu4Sxy2ftM3+HgFr3v2LvDC/dflkgmjiG5mfBjB88sIcXnod6NtIrSYT+FMCOpuNuS4VR5syuZgj7h1QfqP7TduSaqetEU1d9dTjBuOXuLVEq/BBA992wig8GuxRfEISXQeX6HsczsoeJ+q0v5U1OF9YmJe3Hz+zrQ5jA81ch1peXoTEoPxeCcWQMbINM0AOfDpud2Q1HbEY+yJUpNdyFjzOCndzNBUByIYr5zOMaXtqN/jV4yLlRd8Nq4MRwZ4GVJVnIb0PVmH0QGKkZCbUwZCWD3J9O8wgv6NVNIMdybgme84YIPcJuSSUyYgI+HFheP9IOIAuHIwTyv7HT0W+TiFTz5Sd3uYusHgAdbeSjNuLsRjT4cUvLxXbwGCXSGLdgravH1VpOQudteKFw7uQxeZepI83cDnjWigyldbetxXphXytt4sRGT8EdwHHWRV+MqKjSt7ab5NGg0iHYiWZoL2QrMH04GHIHZ+zFeP6C2acCpb54aLNsaSVTU5aDou2U8zF/0Q3heEZE4wH+zzP+l2poFEFbQFazVYedK3Q0FM/ZuH/QaH/tY0JyyxIN14ooWBGO5wlXKsIiAuyjTX2fb95fLz8nPkXQslEHI5KmVQJapcHk9Exyw=----ATTACHMENT:----NDg5NTI0Mjk5MDEwMDg0NiA3NDUyOTMwODQ2MTQyMDI3IDMwNzk5NzI3NTM1NjQzNDQ=