Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
system.module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
13 Sep 2015 at 16:40 UTC
Updated:
27 Sep 2015 at 23:04 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
Antti J. Salminen commentedLet's try again... had an extraneous newline removal in the patch.
Comment #3
chx commentedLooks good, thanks for catching this! Just out of sheer curiosity, do we have a test module for incompatible PHP versions?
Comment #4
xjmNice catch. Normally we'd want a change record, and during the beta we'd want to deprecate instead of removing the function, but given this is prefixed by an underscore and so obsolete, I don't think it's necessary in this case.
@chx, for tests in D8, there's SystemRequirementsTest.
Committed and pushed to 8.0.x. Thanks!
Comment #6
chx commentedNope, we do not have a test like what I asked we have DependencyTest::testIncompatibleCoreVersionDependency but not testIncompatiblePhpVersionDependency . Oh well.
Comment #7
Antti J. Salminen commentedI created an issue for the test chx suggested and started on it: #2567861: Add test for enabling modules with incompatible PHP version dependency