doctrine / doctrine-website

Source code for the doctrine-project.org website and documentation.
https://www.doctrine-project.org
MIT License
31 stars 63 forks source link

Use the proper keys and values for command array #604

Closed greg0ire closed 3 months ago

greg0ire commented 3 months ago

That array is supposed to map command names to command arguments. Using array_unshift resulted in a crash when using --clear-build-cache, as well as 2 unnecessary assertions.

Extracted from https://github.com/doctrine/doctrine-website/pull/594