phpoffice/common: Fix handling of libxml_disable_entity_loader (CiviCRM circa v5.23)
This patch was previously committed to CiviCRM (
tools/scripts/composer/patches/phpoffice-common-xml-entity-fix.patch) and applied via
cweagans/composer-patches. However, the use of relative-paths to apply patches is problematic when patches are loaded transitively (as in Drupal 8 site-root).
Referencing the patch as a fully-formed URL is said to resolve this. In examples from D8 world, you see
composer.json examples which reference patch-files as attachments in the project-management system.
If this patch needs to be changed in the future, then please:
- Post the updated patch to
github.com(as an file-attachment/snippet/gist)
- Submit a PR to https://github.com/civicrm/civicrm-core to modify
composer.jsonto reference the new patch.
When it comes time to execute tests on PRs, execute tests on RCs, or tag stables releases, this should behave in an intuitive fashion.