Client Incomptabile with PHP Scoper #1010
Labels
status: help wanted
requesting help from the community
type: community enhancement
feature request not on Twilio's roadmap
Issue Summary
PHP Scoper is a tool that adds a unique prefix to all namespaces in the vendor directory of a project in order to prevent namespace collisions - for example, if I'm developing a wordpress plugin and want to avoid namespace collisions or version collisions with the dependencies of other wordpress plugins, I'll use Scoper.
In
lib/mail/Mail.php
there is this line:sendgrid-php/lib/mail/Mail.php
Line 188 in 7bdf97e
If using Scoper, the logic in that block fails and a fatal exception is raised. This effectively looks like:
There is a workaround for this issue: https://github.com/humbug/php-scoper#patchers. This workaround is less than ideal as it's highly manual.
Steps to Reproduce
Code Snippet
# paste code here
Exception/Log
Technical details:
The text was updated successfully, but these errors were encountered: