-
Notifications
You must be signed in to change notification settings - Fork 10
Description
Expected behavior
No errors
Actual behavior
Pimcore\Composer::postUpdate
Pimcore\Composer::clearCache
Fatal error: Declaration of Pimcore\Bundle\BundleGeneratorBundle\Command\BaseGenerateBundleCommand::execute(Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output) must be compatible with Symfony\Component\Console\Command\Command::execute(Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output): int in /var/www/pimcore/vendor/pimcore/bundle-generator/src/Command/BaseGenerateBundleCommand.php on line 80
Symfony\Component\ErrorHandler\Error\FatalError {#3128
#message: "Compile Error: Declaration of Pimcore\Bundle\BundleGeneratorBundle\Command\BaseGenerateBundleCommand::execute(Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output) must be compatible with Symfony\Component\Console\Command\Command::execute(Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output): int"
#code: 0
#file: "./vendor/pimcore/bundle-generator/src/Command/BaseGenerateBundleCommand.php"
#line: 80
-error: array:4 [
"type" => 64
"message" => "Declaration of Pimcore\Bundle\BundleGeneratorBundle\Command\BaseGenerateBundleCommand::execute(Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output) must be compatible with Symfony\Component\Console\Command\Command::execute(Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output): int"
"file" => "/var/www/pimcore/vendor/pimcore/bundle-generator/src/Command/BaseGenerateBundleCommand.php"
"line" => 80
]
}
Script Pimcore\Composer::clearCache handling the pimcore-scripts event terminated with an exception
In Composer.php line 135:
An error occurred when executing the "/usr/local/bin/php bin/console --ansi cache:clear --no-warmup --ignore-maintenance-mode" command:
Exit code: 255
Steps to reproduce
To install Pimcore 2025.4:
composer update -W