Skip to content

[BUG] Fatal error: Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, bool given in /vendor/mcstreetguy/composer-parser/src/ComposerJson.php:259 #10

@Thommusa

Description

@Thommusa

Describe the bug
Fatal error: Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, bool given in vendor/mcstreetguy/composer-parser/src/ComposerJson.php:259

To Reproduce
in your composer.json if you have some repositories set to false:
"repositories": { "my-repo": { "type": "composer", "url": "http://my-repo.com" }, "packagist.org": false, "packagist": false },

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions