php-scoper getallheaders() conflict
-
The
ralouphie/getallheaderspackage is a polyfill that defines the globalgetallheaders()PHP function. When php-scoper renames it toameliavendor_getallheaders(), the global function is never defined, but the Composer autoload file guard (hash7b11c4dc42b3b3023073cb14e519683c) is still set. This prevents other plugins that depend on the same polyfill from loading their copy, leaving nogetallheaders()function available at all.This causes fatal errors in any plugin that calls
getallheaders()and loads its Composer autoloader after Amelia.getallheadersshould be excluded from php-scoper.
You must be logged in to reply to this topic.