Problem/Motivation
Revert the revert PHP56 polyfill removal that is breaking tests and not needed for D8
https://www.drupal.org/docs/system-requirements/php-requirements
commit eb9d2ec730d143e443cc16012fbf2a6f9d064973
Author: Hendrik Grahl <hendrik@grahl.ch>
Date: Fri Nov 13 00:54:55 2020 +0100
Revert "Remove unnecessary polyfill."
This reverts commit 2eaa1a941bf13634dbda5369511e8816202abd50.
Steps to reproduce
Proposed resolution
Remove + "symfony/polyfill-php56": "~1.8",
Remaining tasks
User interface changes
API changes
Data model changes
Issue fork ldap-3186630
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
joelpittetHere's the branch failures this should fix:
https://www.drupal.org/pift-ci-job/1882082
Comment #5
grahlThanks for the input.
The solution wasn't usable since it only removed the polyfill (which wasn't available for 7.4 anymore) but didn't provide an alternative for cases where ldap_escape isn't available, which is the case for drupal.org CI where the LDAP extension is missing.
I've reluctantly copied the code over from the polyfill and added it to our trait to be able to test the behavior and still not rely on the extension there since it doesn't like that will ever become available.
Comment #6
joelpittetThanks! I didn’t dig deep enough to find why it was there to start