DecisionConfigure Composer Patches to Use `-p2` as `patchLevel` for Drupal core
accepted
Drupal's git repository has a different directory structure than projects built on Drupal. Default Composer Patches settings can cause Drupal patches to be silently misapplied.
Table Of Contents
Decision
When using cweagans/composer-patches, the following configuration will be used:
"patchLevel": {
"drupal/core": "-p2"
},
Consequences
Errors due to misapplied patches will be reduced.