updated composer to work with more versions of patchwork