How do I move some dependecies from require to require-dev with composer? : <p>Some dependencies were mistakenly added to <code>require</code> instead of <code>require-dev</code>. I tried manually changing <code>composer.json</code> and running <code>composer install</code>, but <code>composer.lock</code> wasn't changed. So my guess is, that it ignored changes in <code>composer.json</code>, and just ensured that what's installed reflects what's in <code>composer.lock</code> file. Am I wrong here? If not wrong, how do I do that? I'd like to preserve versions of packages in <code>composer.lock</code> file as they are now as much as possible.</p>
