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

Fix time coparison operator #10629

Closed
wants to merge 1 commit into from
Closed

Conversation

IndraGunawan
Copy link

⟩ composer rem symfony/phpunit-bridge
symfony/phpunit-bridge could not be found in require but it is present in require-dev
Do you want to remove it from require-dev [yes]? yes
./composer.json has been updated
PHP Fatal error:  Uncaught TypeError: array_keys(): Argument #1 ($array) must be of type array, null given in phar:///home/user/.bin/composer/src/Composer/Command/RemoveCommand.php:238
Stack trace:
#0 phar:///home/user/.bin/composer/src/Composer/Command/RemoveCommand.php(238): array_keys()
⟩ composer --version
Composer 2.3.0-RC1 2022-03-16 09:25:31

@IndraGunawan IndraGunawan changed the title fix time coparison operator Fix time coparison operator Mar 16, 2022
@Seldaek Seldaek closed this in ca3b874 Mar 17, 2022
@Seldaek
Copy link
Member

Seldaek commented Mar 17, 2022

Thanks for the report, the issue is in RemoveCommand though not in the time comparison logic there.

@Seldaek Seldaek added this to the 2.3 milestone Mar 17, 2022
@Seldaek Seldaek added the Bug label Mar 17, 2022
@IndraGunawan IndraGunawan deleted the fix-error branch March 17, 2022 10:18
emahorvat52 pushed a commit to emahorvat52/composer that referenced this pull request Feb 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants