Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 300958

Re-add drupal/core-file-security in Vendor Hardening plugin composer.json

$
0
0

Problem/Motivation

#3079481: Fix problems Vendor Hardening Plugin has with using the File Security component needed to add a duplicate, re-namespaced copy of the file security class in order to work around a Composer limitation that prevented it from autoloading the version in drupal/core. In the future, either #3077455: Move Drupal Components out of 'core' directory or #2943856: [meta] Reorganize Components so they are testable in isolation will move the File Security component to the vendor directory. Once this happens, the workaround will no longer be necessary.

Proposed resolution

Once the File Security component has been relocated to vendor, re-add "drupal/core-file-security" to the composer.json file of the Vendor Hardening plugin. Remove the duplicate copy of the File Security component, and make sure to use the correct copy in the Vendor Hardening plugin.

Remaining tasks

Blocked on #3077455: Move Drupal Components out of 'core' directory / #2943856: [meta] Reorganize Components so they are testable in isolation .

User interface changes

None.

API changes

None.

Data model changes

None.

Release notes snippet

tbd.


Viewing all articles
Browse latest Browse all 300958

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>