Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incompatible declaration in EventDispatcher.php #72

Open
jschumann opened this issue Jan 17, 2024 · 0 comments
Open

Incompatible declaration in EventDispatcher.php #72

jschumann opened this issue Jan 17, 2024 · 0 comments

Comments

@jschumann
Copy link

When running

composer require symplify/monorepo-builder --dev

I get the following error:

PHP Fatal error: Declaration of Monorepo\Composer\EventDispatcher::dispatch(string $eventName, ?Composer\EventDispatcher\Event $event = null) must be compatible with Composer\EventDispatcher\EventDispatcher::dispatch(?string $eventName, ?Composer\EventDispatcher\Event $event = null): int in /home/jschumann/git-wrdsb/wordpress/wordpress/vendor/beberlei/composer-monorepo-plugin/src/main/Monorepo/Composer/EventDispatcher.php on line 9

I've filed an issue in the composer-monorepo-plugin repo, but the project hasn't been updated in a couple of years, so I'm not sure whether it's being actively maintained. I'm also not sure whether this is an issue in my environment or a "real" issue.

Any advice? Is anyone else seeing this error?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant