Problem/Motivation
In the current version of Drupal 8.1.x, (3ad9f73be798f1e0fed0914a522d696b230139a2) composer.lock has paragonie/random_compat
at v.1.1.1.
If you perform composer update
, you'll see that paragonie/random_compat
is updated to v.1.2.0.
This prevents Composer from completing its installation because our test code cleanup attempts to remove a test/
directory that is not present in v.1.2.0.
Proposed resolution
- Pin
paragonie/random_compat
to ~1.2 in composer.json. - Remove
paragonie/random_compat
's test directory from the list of directories to remove in the composer hook.