I'm having problem using and installing the package after installation with Composer 2.3.5, in version 2.2.5 it works perfectly.
Is anyone else suffering from this?
-- Require step:
composer require beberlei/composer-monorepo-plugin
Info from https://repo.packagist.org: #StandWithUkraine
Using version ^0.17.5 for beberlei/composer-monorepo-plugin
./composer.json has been updated
Running composer update beberlei/composer-monorepo-plugin
Loading composer repositories with package information
Updating dependencies
Lock file operations: 1 install, 0 updates, 0 removals
- Locking beberlei/composer-monorepo-plugin (v0.17.5)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 1 install, 0 updates, 0 removals
- Downloading beberlei/composer-monorepo-plugin (v0.17.5)
- Installing beberlei/composer-monorepo-plugin (v0.17.5): Extracting archive
beberlei/composer-monorepo-plugin contains a Composer plugin which is currently not in your allow-plugins config. See https://getcomposer.org/allow-plugins
Do you trust "beberlei/composer-monorepo-plugin" to execute code and wish to enable it now? (writes "allow-plugins" to composer.json) [y,n,d,?] y
Generating autoload files
Generating autoload files for monorepo sub-packages with dev-dependencies.
PHP Fatal error: Declaration of Monorepo\Composer\EventDispatcher::dispatch($eventName, ?Composer\EventDispatcher\Event $event = null) must be compatible with Composer\EventDispatcher\EventDispatcher::dispatch(?string $eventName, ?Composer\EventDispatcher\Event $event = null): int in /home/marcosmarcolin/PhpstormProjects/Composer/vendor/beberlei/composer-monorepo-plugin/src/main/Monorepo/Composer/EventDispatcher.php on line 9
-- Installation step:
Installing dependencies from lock file (including require-dev)
Verifying lock file contents can be installed on current platform.
Nothing to install, update or remove
Generating autoload files
Generating autoload files for monorepo sub-packages with dev-dependencies.
PHP Fatal error: Declaration of Monorepo\Composer\EventDispatcher::dispatch($eventName, ?Composer\EventDispatcher\Event $event = null) must be compatible with Composer\EventDispatcher\EventDispatcher::dispatch(?string $eventName, ?Composer\EventDispatcher\Event $event = null): int in /home/marcosmarcolin/PhpstormProjects/Composer/vendor/beberlei/composer-monorepo-plugin/src/main/Monorepo/Composer/EventDispatcher.php on line 9
Fatal error: Declaration of Monorepo\Composer\EventDispatcher::dispatch($eventName, ?Composer\EventDispatcher\Event $event = null) must be compatible with Composer\EventDispatcher\EventDispatcher::dispatch(?string $eventName, ?Composer\EventDispatcher\Event $event = null): int in /home/marcosmarcolin/PhpstormProjects/Composer/vendor/beberlei/composer-monorepo-plugin/src/main/Monorepo/Composer/EventDispatcher.php on line 9
Hello, how are you?
I'm having problem using and installing the package after installation with Composer 2.3.5, in version 2.2.5 it works perfectly.
Is anyone else suffering from this?
-- Require step:
-- Installation step:
I repeat, in version 2.2.5 it works perfectly.
I'm waiting for a return.
Thank you very much in advance.