PhantomJS, a headless web browser, has been removed from the Drupal CI PHP images. This change simplifies the image build process and removes an outdated and unsupported dependency.
Why is this change being made?
The primary reasons for removing PhantomJS
- Broken Download Link: The official download link for PhantomJS is broken, which prevents the creation of new PHP images.
- Archived and Unused: The PhantomJS project has been archived since 2018 and is no longer actively maintained. It is also not used by Drupal core.
- Security Concerns: Using an unmaintained library can pose security risks.
What are the impacts?
This change will have minimal impact on most users, as PhantomJS is not used by Drupal core. However, any custom tests or scripts that rely on PhantomJS will no longer work.
What should I do?
If you have custom tests that use PhantomJS, you will need to migrate them to a different testing framework, such as one that uses a modern headless browser like Chrome or Firefox. For most users, no action is required.
About this change record
This change record documents the removal of PhantomJS from the Drupal CI testing environments. This change is part of an ongoing effort to modernize the Drupal CI infrastructure and remove outdated dependencies.